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
Dylan Baker
af4acc8e05
run_unittests: Add a chdir context manager
...
Because seriously
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
Kyle Stone
c89dca8c70
Add ability to specify project branch to install
5 years ago
Kyle Stone
f9a31a25db
Put subprojects into folder specified by upstream wrap.
5 years ago
Kyle Stone
bec46cc141
Fix expected/obtained hashes
5 years ago
Jon Turney
d4c7ff173a
Make run_cross_test.py just a wrapper around run_project_tests.py
...
This makes the platform_fix_name() machinery for toolchains which don't
have gcc-like filename conventions available to cross testing.
5 years ago
Jon Turney
ea805d4287
Make run_project_tests.py aware of --cross-file option
5 years ago
Jon Turney
26d1c2a52d
Specify crossfile use in CI job configuration
...
Pull the crossfile specification out of run_test.py so it can be
specified in the CI job configuration.
Also make some fixes to output ordering in run_test.py.
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
Dylan Baker
3d60665885
Merge pull request #6455 from makise-homura/elbrus_0.53.0
...
Elbrus support is broken in 0.53.0, so fixing it
5 years ago
Jussi Pakkanen
0fe485a100
Tell contributors not to write things in the snippet help file. [skip ci]
5 years ago