Jussi Pakkanen
76e385391f
Merge pull request #4914 from mensinda/cmakePreCheck
...
cmake: Check if modules exist before running CMake
6 years ago
Daniel Mensinger
4bf1a352cc
mconf: Fixed crash for variables in targets ( closes #4960 )
6 years ago
John Ericson
8c6d6393f2
Remove redundant definition of `cflags_mapping`
...
It seems this was erroneously coppied in `54b6afa67`.
6 years ago
John Ericson
9cf0f31ec0
unit tests: Use unittest.skipUnless to simplify main()
...
This makes the testsuite work better with other test runners, like
pytest. This is important because better test runners are very useful to
development (e.g. avoiding running succeeding tests again and again),
even if we want to still support 0 dependency testing of Meson though
keeping the default test runnner working.
6 years ago
Daniel Mensinger
719730ff14
Minor fixes for code review
6 years ago
Nirbheek Chauhan
b7fa161cb9
Use tuple comprehensions
...
Co-Authored-By: mensinda <daniel@mensinger-ka.de>
6 years ago
Daniel Mensinger
bc25a12709
Minor code fixes
6 years ago
Daniel Mensinger
1dfa3783f5
Use @lru_cache and added return annotation
6 years ago
Daniel Mensinger
b69e45ebac
Fixed flake8
6 years ago
Daniel Mensinger
b2dd5fbe08
Fixed minor logic error regarding case conversion
6 years ago
Daniel Mensinger
33f5f06f38
Added Mac support
6 years ago
Daniel Mensinger
03d9bc3b0e
Ignore exceptions
6 years ago
Daniel Mensinger
cdc338b743
Preliminary CMake module search
6 years ago
Daniel Mensinger
6efc94b5dd
Support different CMake files
6 years ago
Jussi Pakkanen
92f95b3326
Merge pull request #4982 from mesonbuild/dmddebug
...
Hack to get failure output from CI.
6 years ago
Jussi Pakkanen
9acbd62789
Launch Meson via python3 so the binary name is correct.
6 years ago
Jussi Pakkanen
5d751a2506
Pick target exactly rather than relying on dict order.
6 years ago
Jussi Pakkanen
7564a63353
Copy python3.5 to python3 so tests pass on Cygwin.
6 years ago
Jussi Pakkanen
067ff7eeae
Fall back to current interpreter when python3 not found.
6 years ago
Jussi Pakkanen
a81207881b
Disable D tests if dmd install is broken.
6 years ago
emersion
06e939bcbb
docs: compiled() only works with compiler.run() results [skip ci]
6 years ago
Nicolas Schneider
72370faef0
vs: add support for `build_always_stale` for custom targets
6 years ago
Jussi Pakkanen
41fb5c2960
Merge pull request #4972 from obilaniu/cudafixes
...
CUDA fixes
6 years ago
David Vanderson
5b53335724
xcode backend: Add target dependency link args
6 years ago
Nirbheek Chauhan
9291f37b65
ci: Debug why dmd --version is returning 1
6 years ago
Olexa Bilaniuk
104397a429
[skip ci] Update the CUDA module documentation.
6 years ago
Olexa Bilaniuk
6d15594d44
Correct Volta+Tegra -> Xavier.
6 years ago
Olexa Bilaniuk
e54fd996bb
Allow 'Auto'-mode flags to use the compiler's detected GPU
...
architectures.
6 years ago
Olexa Bilaniuk
8838cfae73
Solve NVCC -Werror problem.
...
Partially addresses #4961 .
6 years ago
Olexa Bilaniuk
e632a81627
Rework CUDA sanity check.
...
PArtially addresses #4961 .
Also make the sanity check do double duty as a GPU architecture
detection test.
6 years ago
Nirbheek Chauhan
f4b344f5b0
azure-pipelines: Fix cygwin python3 installation
...
The package has been moved from python3-pip to python3N-pip where N is
5, 6, 7. We use Python 3.5, so let's use that.
6 years ago
Nicolas Schneider
76db753286
vs: use CustomBuild instead of CustomBuildStep for custom targets
...
This allows to view the build step in VS and reuses the same concept that
we use for run targets instead of maintaining two different behaviors.
6 years ago
Niclas Zeising
f85a71605d
Fix get_library_dirs() on FreeBSD
...
Fix get_library_dirs() on FreeBSD to only return /usr/local/lib,
/usr/lib and /lib as the default location to look for libraries.
FreeBSD does not use lib/${platform} or lib64 by default. In general,
those directories should not exist, but in case they do, ensure they're
not picked up.
6 years ago
Niclas Zeising
87d64b4632
Fix default_libdir() on FreeBSD
...
Fix defaul_libdir() on FreeBSD. The current behaviour of using
usr/lib64 if that exists is wrong on FreeBSD. The default should be to
always use usr/lib, even if usr/lib64 exists as a folder in the file
system. Fix this by checking if we're running on FreeBSD and then
always return 'lib' in default_libdir().
6 years ago
Maarten ter Huurne
b4ef257593
Clarify in docs the argument types extract_objects() accepts [skip ci]
6 years ago
Raphael Salamon
c23ac0b3dc
Allow custom targets with same name in project and subprojects
...
closes #4377
6 years ago
Maarten ter Huurne
37a962e90c
Allow File arguments in extract_objects() arguments
...
Passed strings are converted to Files, but passing a File directly
wasn't supported yet.
6 years ago
Jussi Pakkanen
6e15bcc504
Merge pull request #4929 from mensinda/rwAddRmTgt
...
rewriter: Add and remove targets
6 years ago
jml1795
a9e63568fe
Add warning level zero
6 years ago
Matthias Klumpp
2cede4d6c9
d: Translate the -isystem flag for LDC and DMD
6 years ago
Andrei Alexeyev
51dadb92d0
runpython: insert script's dir into import path
...
Fixes #4947
6 years ago
Andrei Alexeyev
2d0841c624
Improve handling of gui_app
...
This does two things:
* On windows GCC-like compilers, the subsystem is always explicitly
specified (either -mwindows or -mconsole). MSVC is already explicit.
* The gui_app linker flags are now added after those mandated by
external dependencies. This is because some misguided libraries (such
as SDL) think that hijacking `main()` and forcing `-mwindows` in link
flags is clever. We must unconditionally override such misuses to let
gui_app work as intended.
6 years ago
jml1795
80f16cac8f
Fix console log from generator with multiple output nodes
6 years ago
Jonathan Poelen
f424bdaf33
use compile_args instead of compiler_args [skip ci]
6 years ago
Florian Märkl
43d975ed10
Correct pkg-config method in Qt dependency docs [skip ci]
6 years ago
Daniel Mensinger
ea1ad718aa
mconf: Limit the line length of the choices column
6 years ago
Daniel Mensinger
4b7b5a7185
Fixed flake8
6 years ago
Daniel Mensinger
631dbc4b24
Fixed indentation
6 years ago
Daniel Mensinger
5184465280
rewriter: Added support for adding targets
6 years ago
Daniel Mensinger
056c533ede
rewriter: Added support for removing targets
6 years ago