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
Eric Engestrom
75f436542c
zsh: complete targets
6 years ago
Eric Engestrom
1b873d62f8
add Bash completion script
6 years ago
Eric Engestrom
182eb2ba3a
mtest: make `meson test --list` return whether there was any test to list
6 years ago
Eric Engestrom
b758f0a953
add note to keep completion scripts updated
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
Daniel Mensinger
24a2cf02e2
Can now find the assignment node of a value
6 years ago
Frediano Ziglio
683c768fed
i18n: Catch additional GLib functions
...
Add some missing functions having C-format strings to the list.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
6 years ago
Jussi Pakkanen
939b011114
Merge pull request #4858 from mensinda/rwKWARGS
...
rewriter: Add support for kwargs modification
6 years ago
Jussi Pakkanen
3ac7df6a6a
Merge pull request #4917 from nioncode/vs-fixTargetDependencies
...
vs: use project references in vcxproj instead of the sln file
6 years ago
John Ericson
9d7f38eccd
Fix cross file initialization of CPPFLAGS
...
'c_arg' entries should become *both* compiler options and external
peprocessor options for C. (And likewise for a few other languages.)
Seems inconsistent to me, but this is the status quo.
6 years ago
John Ericson
d87744138a
Remove remaining cross-specific compiler-args code
...
Since the consolidation of flags in `compiler_options.*`, this
cross/native special casing is not needed.
6 years ago
John Ericson
c83b426b0f
Remove a useless `cross_args` which is always empty
6 years ago
John Ericson
d451a4bd97
Remove get_cross_extra_flags
...
This is no longer needed, we just remove conditionals around it.
6 years ago
John Ericson
3e9396f259
Fix cross static linker lookup
...
Need to search based off of `cross_comp`, not `comp`.
Fixes #4822
6 years ago
Nicolas Schneider
907fb59f67
vs: link dependencies of link_whole targets
...
Otherwise, msbuild will not create any output for targets that don't have
any sources.
6 years ago
Nicolas Schneider
9c55e50bea
vs: do not automatically link dependencies
6 years ago
Nicolas Schneider
06268665cd
vs: use project references in vcxproj instead of the sln file
...
This shows dependencies clearly in the 'references' view of VS and properly
propagates the dependencies when building a single vcxproj with msbuild.
6 years ago
Andrei Alexeyev
cc8af259c8
ninja: Always treat PCHs as an implicit dependency
...
In addition to MSVC, which was worked around previously, GCC also does
not list includes from the PCH in the depfile by default, unless
-fpch-deps is given. I think it's best to stay safe and not rely on any
particular behavior from the compiler here.
6 years ago
Michael Hirsch, Ph.D
ebfb09f5d6
Fortran 2008/2018 Coarray support
6 years ago
Olexa Bilaniuk
df0b734a17
Fixes for CUDA compiler shared library linking.
...
Also adds test case for shared library linking.
Closes #4912 , at least on Linux. The future 0.50.0 does not yet claim to
support CUDA on systems other than Linux and backends other than Ninja.
6 years ago
Michael Hirsch, Ph.D
6b874339cc
BUGFIX: Fortran openmp
6 years ago
Jussi Pakkanen
22c7727ed6
Merge pull request #4918 from nioncode/vs-fixUpToDateChecks
...
vs: fix up to date checks
6 years ago
Michael Hirsch, Ph.D
907af96193
add type hinting
...
more type hints
syntax modernization / robustify
syntax typo
more effective directory collection
6 years ago
Jussi Pakkanen
011c77ee22
New logo and license text. Closes #4921 . [skip ci]
6 years ago
Jussi Pakkanen
25ae7f95bd
Add werror flags to nvcc. Closes #4911 .
6 years ago