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
c1a3b37ab7
dependencies: Add a zlib system dependency for windows
5 years ago
Dylan Baker
d87955f990
dependencies: Add system zlib method for freebsd and dragonflybsd
...
I've tested this on FreeBSD, and dragonfly's userland is close enough
I'm willing to call it good without testing. OpenBSD and NetBSD also
have a zlib in their base configurations, but I'm not confident enough
to enable those without testing.
5 years ago
Dylan Baker
5f51ee2fc8
dependencies: Add a zlib system dependency for macOS
...
This comes pre-installed, but currently we don't have a way to detect it
without relying on pkg-config or cmake. This is only valid with the
apple clang-based compilers, as they do some special magic to get
headers.
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
Dylan Baker
3f8d6af9c2
compilers: Use /Zi instead of /ZI with clang-cl
...
Clang-cl doesn't support /ZI, so we need to use either /Zi or /Z7, which
both do the same thing for clang-cl (though not for msvc)
Fixes #6414
5 years ago
Dylan Baker
0f47ca95c1
compilers: Split ClangCL and MSVC mixins
...
Instead of checking the compiler id inside the VisualStudioLikeCompiler
class, this creates two subclasses that each represent the divergent
behavior of the two compilers
5 years ago
Jussi Pakkanen
7375eaa263
Always disable interpolation for ini parsers.
5 years ago
makise-homura
ee6c2c87fc
Bringing back defines in Elbrus C compiler to simplify environment.py
5 years ago