Daniel Mensinger
16b6b2d411
Use c++14 instead of c++17 in the tests
6 years ago
Daniel Mensinger
9e247cb52e
rewriter: Set and delete default options
6 years ago
Daniel Mensinger
74bb79e26e
rewriter: Remove matching regex from list
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
jml1795
a9e63568fe
Add warning level zero
6 years ago
Daniel Mensinger
4b7b5a7185
Fixed flake8
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
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
Dylan Baker
b5d847e38c
allow paths to be set in the cross file
...
Just like the previous patch, but for cross files
Fixes #1433
6 years ago
Dylan Baker
5b896ed70b
allow setting directory locations in a native file
...
This allows the person running configure (either a developer, user, or
distro maintainer) to keep a configuration of where various kinds of
files should end up.
6 years ago
Michael Hirsch, Ph.D
70e6f4198c
Fortran 2008 submodule ( #4874 )
6 years ago
Olexa Bilaniuk
592af0b1af
Add unstable CUDA module.
...
Includes three general utility functions connected to CUDA, in
particular the crafting of -gencode flags as done in CMake:
https://github.com/Kitware/CMake/blob/master/Modules/FindCUDA/
select_compute_arch.cmake
6 years ago
Nicolas Schneider
2044bc53b3
use same compiler args for pch as for regular target
...
Fixes #999 , #1415 , #2361 .
6 years ago
Michael Hirsch, Ph.D
8821c0aadc
better handle variable HDF5 setups, update Fortran compiler def
6 years ago
Daniel Mensinger
e1a83793ae
CMake: Added support for CMAKE_MODULE_PATH and extra CMake args ( closes #4779 )
6 years ago
Nirbheek Chauhan
1575bd988a
configure_file: Allow setting install_dir: false with deprecation
...
Also add location node for two more deprecations
See: https://github.com/mesonbuild/meson/pull/4489#issuecomment-459246879
6 years ago
Nirbheek Chauhan
c0166355ce
Rewrite appleframework and extraframework dependency classes
...
Instead of only doing a naive filesystem search, also run the linker
so that it can tell us whether the -F path specified actually contains
the framework we're looking for.
Unfortunately, `extraframework` searching is still not 100% correct in
the case when since we want to search in either /Library/Frameworks or
in /System/Library/Frameworks but not in both. The -Z flag disables
searching in those prefixes and would in theory allow this, but then
you cannot force the linker to look in those by manually adding -F
args, so that doesn't work.
6 years ago
Michael Hirsch, Ph.D
bd82d3702a
skip CI for HDF5 where HDF5 is not available"
6 years ago
Daniel Mensinger
8c364952af
Added dependecy kwargs support
6 years ago
Daniel Mensinger
5655865246
Added test case
6 years ago
Daniel Mensinger
c64d80cf2f
Renamed operation test -> info
6 years ago
Daniel Mensinger
8224ecfbe6
Some fixes and assignment based target find
6 years ago
Nirbheek Chauhan
42b48cda98
tests: Don't require pkg-config for macOS tests
...
Only require it on the CI or if pkg-config is found.
6 years ago
Michael Hirsch, Ph.D
4d54a22b49
setup hdf5 test
...
deblank
6 years ago
Michael Hirsch, Ph.D
cccffaa29d
BUGFIX: allow fc.run(code) to work, pick only Fortran module
6 years ago
Michael Hirsch, Ph.D
da34bea893
pep8 py37
6 years ago
Nicolas Schneider
1058430898
raise an error if PCH files are stored in different folders
6 years ago
Nicolas Schneider
09739284be
vs: fix PCH
6 years ago
Jussi Pakkanen
3997649139
Disable mixed (mscv/clang + gnu) Windows Fortran tests. Closes #4829 .
6 years ago
Michael Hirsch, Ph.D
8636f31d9c
BUGFIX: broken/missing Fortran code/unit tests
6 years ago
Jan Tojnar
33d82201bd
run_command: add env kwarg
6 years ago
Daniel Mensinger
a8477955a7
Removed old test files
6 years ago
Daniel Mensinger
027c3c9ac7
Added subdir test
6 years ago
Daniel Mensinger
b7c6f3ec72
Can now rewrite files
6 years ago
Daniel Mensinger
8dd9b44831
Added support for removing sources from a target
6 years ago
Daniel Mensinger
0ce6632393
Added suport for adding sources to a target
6 years ago
Daniel Mensinger
86d5799bc4
First rewriter test case
6 years ago
Daniel Mensinger
50bc0960e4
Updated basic rewrite testcase
6 years ago
Jussi Pakkanen
e1b50309df
All the fixes needed to make work against current master.
6 years ago
Jussi Pakkanen
1409751169
Convert basic test to print out card info.
6 years ago
Jussi Pakkanen
8eca221aac
More tests and pic.
6 years ago
Jussi Pakkanen
396e355c94
Clean up minor issues.
6 years ago
Beau Johnston
54b6afa675
added cuda compiler
6 years ago
Simon McVittie
65f3de70ac
tests: Don't return an undefined value from main()
...
This caused test failures while backporting meson to an old runtime
environment.
Signed-off-by: Simon McVittie <smcv@collabora.com>
6 years ago
David Fort
ceaebf6bac
add support for generating cmake files
...
This new cmake module allows to generate cmake package files. This may ease the
porting for cmake projects that are exporting cmake package informations for other
depending projects. The module uses as much as possible the templates provided by
the cmake installation (and so cmake needs to be installed).
6 years ago
Luca Boccassi
267792174c
custom_target: do not let install override build_by_default
...
A custom_target, if install is set to true, will always be built by
default even if build_by_default is explicitly set to false.
Ensure that this does not happen if it's set explicitly. To keep
backward compatibility, if build_by_default is not set explicitly and
install is true, set build_by_default to true.
Fixes #4107
6 years ago