Jon Turney
82bdf07a9d
Hoist trying several dependency detection methods up to find_external_dependency()
...
find_external_dependency() now makes and iterates over a list of callables
which are constructors with bound arguments for the dependency objects we
are going to attempt to make, so we can consolidate reporting on these
attempts and handling failures in that function.
7 years ago
Jon Turney
983263e82c
Remove do-nothing pkgconfig method from dub
...
dub dependencies allegedly support method:pkgconfig, but this is meaningless
as it's only ever used when the dub method is explicitly requested.
Possibly cut-and-pasted from elsewhere?
7 years ago
Jon Turney
fce4f35170
Remove do-nothing extraframework method from libwmf and pcap
...
libwmf and pcap allegedly support method:extraframework, but this does
nothing but return not-found. Possibly cut-and-pasted from elsewhere?
7 years ago
Jon Turney
6306c56804
Fix .travis.yml for updated OSX image
...
Since [1], OSX builds on travis fail with:
Error: Refusing to uninstall /usr/local/Cellar/python/3.6.5_1
because it is required by gdal, numpy, postgis, which are currently installed.
Revise #3163
[1] https://blog.travis-ci.com/2018-07-19-xcode9-4-default-announce
7 years ago
Derek Kingston
448b93fbe5
Updated boost discovery to handle version >= 1.65 for MSVC ( #3961 )
7 years ago
Jussi Pakkanen
e7eb387da8
Be more general in description. [skip ci]
7 years ago
Nirbheek Chauhan
a2dab5439c
custom targets: Add a 'console' kwarg for long-running commands
...
Ninja buffers all commands and prints them only after they are
complete. Because of this, long-running commands such as `cargo
build` show no output at all and it's impossible to know if the
command is merely taking too long or is stuck somewhere.
To cater to such use-cases, Ninja has a 'pool' with depth 1 called
'console', and all processes in this pool have the following
properties:
1. stdout is connected to the program, so output can be seen in
real-time
2. The output of all other commands is buffered and displayed after
a command in this pool finishes running
3. Commands in this pool are executed serially (normal commands
continue to run in the background)
This feature is available since Ninja v1.5
https://ninja-build.org/manual.html#_the_literal_console_literal_pool
7 years ago
Jussi Pakkanen
543a49a29c
Merge pull request #3799 from rossburton/gtkdoc
...
scripts/gtkdochelper: add support for --run
7 years ago
Jussi Pakkanen
e75f6e4305
Merge pull request #3850 from mesonbuild/nirbheek/exe-wrapper-compiler-fallbacks
...
Be more permissive about not-found exe_wrapper
7 years ago
Jussi Pakkanen
17bfbb99e5
Condense test dirs.
7 years ago
Jussi Pakkanen
2bc0f56b21
Write full directory name in files so script will change them.
7 years ago
Jussi Pakkanen
10a07ebf70
Add script to condense test directory names.
7 years ago
Tanu Kaskinen
a5d0a501fd
[skip ci] Typo fix in Build-options.md: "option" -> "description"
7 years ago
Jussi Pakkanen
b293f7bd2c
Replace long obsolete find_dep with dependency in docs. [skip ci]
7 years ago
TingPing
bd21987685
gnome: Fix building gir with asan again
...
asan must be first in ldflags and this order was lost in cb36add970
So this is the most simple solution of just putting it first in internal_ldflags
See https://github.com/mesonbuild/meson/issues/2117#issuecomment-408560838
7 years ago
Christoph Reiter
6b9fdfe67b
python.find_installation: only try to find python with the py launcher if it isn't in PATH
...
Meson tries to find the interpreter path through the "py" launcher on Windows in all
cases which breaks if meson is run under MSYS2 and an official CPython is installed as well.
MSYS2 Python doesn't install a py launcher which results in meson finding the system one instead
even though python2/python3 is in PATH.
Always check if the interpreter name is in PATH before falling back to checking the py launcher.
7 years ago
Rafael Ávila de Espíndola
941d2c273a
Move test from common to unit.
...
When I initially added the test the intention was to use it from
run_unittests.py only, but I placed it in the wrong directory.
7 years ago
Jussi Pakkanen
8c735069b3
Merge pull request #3898 from mesonbuild/vsinstall
...
Add install target to VS
7 years ago
Xavier Claessens
e7dcf5cf16
Warn for future keyword ( #3908 )
7 years ago
Rafael Ávila de Espíndola
c7360dd426
Make the rpath order deterministic. ( #3932 )
7 years ago
Xavier Claessens
10a1a39961
Merge pull request #3943 from xclaesse/auto-feature-default
...
UserFeatureOption: Default to 'auto' when no value specified
7 years ago
Nirbheek Chauhan
0ea21d7aea
Add a feature-new entry for UserFeatureOption
...
Since we can't detect it in meson_options.txt, detect it when the
option is used.
7 years ago
Xavier Claessens
5f9fda4acc
UserFeatureOption: Default to 'auto' when no value specified
...
Closes #3938 .
7 years ago
Igor Gnatenko
1515fca2d9
rpm: pass --auto-features=enabled [skip ci]
...
We really want to be explicit.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
7 years ago
Igor Gnatenko
88d1b8f9e7
rpm: use %{shrink…} [skip ci]
...
Make logs look better!
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
7 years ago
Igor Gnatenko
99070beec4
rpm: use %set_build_flags [skip ci]
...
It has better name and should do the trick.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
7 years ago
Nirbheek Chauhan
9e8566a277
Print a useful error when a compiler is not found in the cross file
7 years ago
Rafael Ávila de Espíndola
1a27714f97
Make the dependency order deterministic. ( #3927 )
...
We were using sets to store the dependencies. Just switch to
OrderedSet.
Fixes #3922 .
7 years ago
Jussi Pakkanen
7bb5f82736
Added install target to VS. Closes #3841 .
7 years ago
Khem Raj
6fafbad6d5
mesonbuild: Recognise risc-v architecture
...
Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years ago
Jussi Pakkanen
306fa07f62
Merge pull request #3893 from FFY00/master
...
Add dlang module (dub support)
7 years ago
Jussi Pakkanen
f67630d26c
Removed extra parentheses. [skip ci]
7 years ago
Rafael Ávila de Espíndola
aee9f58939
Handle transitive links to 'threads' dependencies. ( #3895 )
...
Meson already had code to propagate link dependencies from static
libraries to programs that use those static libraries.
Unfortunately, it was not handling the special cases of 'threads' and
'openmp' dependencies.
7 years ago
Jussi Pakkanen
f390a0a2f3
Merge pull request #3814 from behlec/configure-file-output
...
Check if calls to configure_file write to the same output file.
7 years ago
Jussi Pakkanen
b4c635a2e8
Remove long deprecated command scripts.
7 years ago
FFY00
0173b2457d
docs: fix dlang module documentation
7 years ago
Jussi Pakkanen
808d229c37
Moved install data file generation to base class.
7 years ago
FFY00
e39b6be670
dlang module: fix DubDependency - new compiler api
7 years ago
FFY00
6727af4e61
dlang module: allow all configuration types when generating dub.json
7 years ago
Christoph Behle
efba193872
Ignore vim *.swp files [skip ci]
7 years ago
Thomas Hindoe Paaboel Andersen
e2c36457c5
Avoid concatenating two options in list
...
'c++17' and 'gnu++98' were concatenated due to a missing comma
7 years ago
♫ Christian Krause ♫
c3e68189cd
docs: adds a non-docker travis example ( #3883 ) [skip ci]
7 years ago
Nirbheek Chauhan
43f7a75060
gnome.gdbus_codegen: Handle XML docbook in subdirs
...
Closes https://github.com/mesonbuild/meson/issues/3870
7 years ago
Daniel Schulte
6de9ebb10f
Add Arduino ESP8266 sample project to Users.md
7 years ago
TingPing
544164b151
docs: Minor clarifications of gnome.compile_resources
...
This was causing confusion for a user about the fact any directory can be passed
7 years ago
Alberto Sartori
8bee30367e
Implement get_link_whole_for() for IntelCompiler ( #3863 )
...
closes #3862
7 years ago
Nirbheek Chauhan
47c68a5993
find_library: Validate and sort globbed shared library files
...
We need to pick the library with the highest version, which is what
the OpenBSD linker also does.
https://github.com/mesonbuild/meson/issues/3570#issuecomment-403638752
7 years ago
Ross Burton
49e97fb704
gtkdoc: pass the cross compiler if cross compiling
...
When cross-compiling, tell gtkdoc to use the cross compile instead of the target
compiler.
7 years ago
Ross Burton
d365bde555
scripts/gtkdochelper: add support for --run
...
gtkdoc-scangobj has a --run argument that specifies a wrapper to be used when
executing the GObject scanner. Typically this can be libtool but it is also
useful in cross-compilation environments.
This patch adds support for this argument to the gtkdochelper so that tools
using the helper can pass --run if required.
7 years ago
Jussi Pakkanen
09ad29ec56
Fix directory verification. Closes #3857 .
7 years ago