Dylan Baker
68842f535f
dependencies/ui: wxwidgets requires C++
...
so set the language field appropriately
5 years ago
Xavier Claessens
4c5a9523be
pkgconfig: Generate -uninstalled.pc files
...
Closes : #3472 .
5 years ago
Xavier Claessens
b3ab022777
pkgconfig: Fix code that make relative path
...
When subdir is '/foo/bar' and prefix '/foo' it was returning '/bar',
which is an absolute path. It was then constructing '-L${prefix}//bar'
with bogus double slash.
When subdir is '/fooo/bar' and prefix '/foo' it was returning 'o/bar'.
5 years ago
Jussi Pakkanen
302b486446
Test using a File as an argument to run_command.
5 years ago
Jon Turney
a3e2aa2d66
Fix prefix dependent option defaults ( #6552 )
...
* Extend test_prefix_dependent_defaults unit test to cover default case
Extend test_prefix_dependent_defaults unit test to cover the default
case, when the default prefix is '/usr/local'. (On Windows, the default
prefix is 'c:/')
* Restore adjusting option defaults depending on the default prefix
Restore adjusting option defaults, depending on the default prefix.
Droppped in d778a371
5 years ago
Xavier Claessens
15eb0014ac
interpreter: Iterate custom target outputs
5 years ago
Jon Turney
8d68fa22e0
Don't fail in setup on azure when commit message contains an equals sign
...
The kludgy method we use to get env vars from vcvarsall.bat into our
environment doesn't correctly handle env var values which contain
newlines.
The BUILD_SOURCEVERSIONMESSAGE environment variable contains the
entirety of the commit message. If a line containing an equals sign
appears in the commit message, we could have problems.
Unset that environment variable to workaround this problem.
5 years ago
Dylan Baker
7097d8a021
environment: Handle cases of no cs compiler being installed correctly
5 years ago
Michael Brockus
1ea20a37d7
Cleaning project readme [skip ci]
5 years ago
Daniel Mensinger
1f7e73fd5c
cmake: Sanitize CMake names ( fixes #6554 )
5 years ago
Dylan Baker
97dd522476
environment: Be stricter about detecting icl
...
Only detect a compiler as icl if the name is "icl" or "icl.exe"
5 years ago
Daniel Mensinger
8b98585e6c
Add mesonbuild/ast to CODEOWNERS [skip ci]
5 years ago
Xavier Claessens
31f00c11d3
summary: Fix empty list case
...
Fixes : #6557 .
5 years ago
Dylan Baker
402f7afdb0
dependencies: netcdf always look for netcdf-fortran for fortran
...
Otherwise it tries to link with the C bindings and fails. This is why
the test is broken on archlinux
5 years ago
Daniel Mensinger
4104cbdaf9
typing: Fix Any --> T.Any
5 years ago
Dylan Baker
d67271e1a6
Small cleanups for the LLVM dependency class ( #6548 )
5 years ago
Jussi Pakkanen
5d9bc3b324
Merge pull request #6537 from UnoccupiedColonist/ghwt_fixes
...
ghwt: allow user to specify branch
5 years ago
Jussi Pakkanen
d8faf9b706
Merge pull request #6536 from jon-turney/cross-testing-refactor
...
Refactor CI cross-testing
5 years ago
Michael Hirsch, Ph.D
00f5dadd5b
Bugfix: sanitize_dir: use pathlib to handle case-insensitive filesystems ( #6398 )
5 years ago
alanNz
1682058dec
-Fixed Renesas RX Family compiler to work with latest meson, updated cross-file, fixed assembly file use
5 years ago
Xavier Claessens
7a51f8bd11
Add CODEOWNERS file [skip ci]
...
Following proposal in #6485 we would like to delegate maitainership
of parts of the Meson project (modules) to selected volunteers.
Fixes : #6485 .
5 years ago
Xavier Claessens
8201b725ed
Qt5: Do not use system qmake if not specified in cross file
...
There is a comment saying we do it because we used to do it. But it's
wrong and lead to using system library when cross compiling.
Factor out the code we use to find pkg-config, because it is the same
use-case.
5 years ago
Daniel Mensinger
273aeb8473
deps: Fix prelimenary CMake lookup.
...
The CMake config files / modules have to be checked
case insensitive in some cases, otherwise some dependencies
will not be found even though they are installed.
5 years ago
Daniel Mensinger
71baca7abe
ci: Add Arch Linux OS test
5 years ago
Jussi Pakkanen
95de289d0d
Bump Java version in test program.
5 years ago
Jussi Pakkanen
15ab30383e
Skip ld tests if no compiler installed.
...
Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950020
5 years ago
Dylan Baker
32240d4276
dependencies: Add comment to the packages dict
5 years ago
Dylan Baker
4fc71e05c4
dependencies: Use a factory for curses
5 years ago
Dylan Baker
5ab29e264b
dependencies: Rename _add_sub_dependency2 to _add_sub_dependency
...
Since the original _add_sub_dependency is no longer in use.
5 years ago
Dylan Baker
6440b55b07
dependencies: Use a factory for fortran coarrays
5 years ago
Dylan Baker
081de4bfbc
dependencies: Split detect_compiler out of dependency
...
We need it for dependency factories as well.
5 years ago
Dylan Baker
fbad73c939
dependencies: Use a DependencyFactory for threads
...
This lets us make a number of uses of threads safer, because we can use
the threads_factory instead of the ThreadDependency
5 years ago
Dylan Baker
5d630c663c
dependencies: Use a factory for NetCDF
...
This uses a custom factory because that makes more sense here, since we
need logic to decide what pkg-config files to look for
5 years ago
Dylan Baker
a8817a8e68
dependencies: Remove now dead code
...
Mostly this is the metagprogramming that ConfigToolDependency used to
do, but doesn't need anymore.
5 years ago
Dylan Baker
89c67383cc
dependencies: Use a custom factory for shaderc
5 years ago
Dylan Baker
b0f0d30cf3
dependencies: Add a decorator for dependency factory functions
...
This helps make them a bit more self documenting, and remove a bit of
the boilerplate they would otherwise have to each implement.
5 years ago
Dylan Baker
47502f8adf
dependencies: Use DependencyFactory for sdl2
5 years ago
Dylan Baker
0dbe9f6159
dependencies: Use DependencyFactory for gl
5 years ago
Dylan Baker
773cc7b4b0
dependencies: Use DependencyFactory for gpgme
5 years ago
Dylan Baker
69835a7c53
dependencies: Use DependencyFactory for LibGcrypt
5 years ago
Dylan Baker
70d28e4532
dependencies: Use DependencyFactory for libwmf
5 years ago
Dylan Baker
4cc890e70a
dependencies: Use DependencyFactory for cups
5 years ago
Dylan Baker
a1f03881c1
dependencies: Use DependencyFactory for python3
5 years ago
Dylan Baker
309d30a9c2
dependencies: Use DependencyFactory for libpcap
5 years ago
Dylan Baker
bc2bfcacbd
dependencies: Use DependencyFactory for gmock
5 years ago
Dylan Baker
626f73416f
dependencies: Use a DependencyFactory for gtest
5 years ago
Dylan Baker
c17fa3223f
dependencies: Use DependencyFactory for Vulkan
5 years ago
Dylan Baker
29b6d3e63c
dependencies: Use a DependencyFactory for LLVM
5 years ago
Dylan Baker
8a9d6b1ed9
dependencies: Add a sub_dependency_method that takes a list of
...
dependencies
This will be useful for adding dependencies that come from a factory,
and thus are a list.
5 years ago
Dylan Baker
751f6fb90f
run_unitests: Add a test for DependencyFactory ordering
5 years ago