Max
3d70e3bc63
Fix import dependency from dub
5 years ago
Dylan Baker
235b7a69e7
dependencies/ui: Honor static argument with wxwidgets
...
Fixes #6564
5 years ago
Dylan Baker
f3773fa5c6
dependencies/ui: Add type annotations to WxDependency
5 years ago
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
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
Dylan Baker
7097d8a021
environment: Handle cases of no cs compiler being installed correctly
5 years ago
Daniel Mensinger
48cb1a7004
cmake: Fix spaces in compile flags ( fixes #6566 )
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
Michael
bbc2745dcc
update the init command
5 years ago
Michael
683cf46f32
add new templates
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
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
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
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
2c844f86f2
dependencies: Add a DependencyFactory class
...
Instead of using dependencies as their own factories, which is rather
odd, lets just add a dedicated DependencyFactory class. This should be
able to take over for a lot of the factory type dependencies really
easily, and reduce the amount of code we have.
5 years ago
Dylan Baker
fd892ad7ce
dependencies: Make Dependency initializer signatures match
...
Currently PkgConfig takes language as a keyword parameter in position 3,
while the others take it as positional in position 2. Because most
dependencies don't actually set a language (they use C style linking),
using a positional argument makes more sense. ExtraFrameworkDependencies
is even more different, and duplicates some arguments from the base
ExternalDependency class.
For later changes I'm planning to make having all of the dependencies
use the same signature is really, really helpful.
5 years ago
Dylan Baker
f85d6cee6a
dependencies/base: Split process_method_kw out of Dependency
...
I want to use this in a new class as well, that doesn't descend from
Dependency.
5 years ago
Daniel Mensinger
d0c7b51693
mintro: use interpreter data for buildsystem-files ( fixes #6390 )
5 years ago
Daniel Mensinger
668610c0d2
backend: refactor: set self.interpreter in the constructor
5 years ago