Daniel Mensinger
7199cd2095
rewriter: Avoid duplicates
6 years ago
Dylan Baker
841da29d2c
Fix ternary in thing ( #5007 )
...
* tests: extend ternary test to cover bugs
See issues #5003 , #3690 , and #2404
* mparser: store subdir in ternary node
Ternaries don't really need subdirs, but they can be passed into
functions that expect the type they're provided to have a
subdir. Provide it to fulful the interface.
Fixes #5003
Fixes #3690
Fixes #2404
6 years ago
Nicolas Schneider
ded0defc3f
auto generate msvc pch source file if none is provided by the user
6 years ago
Michael Hirsch, Ph.D
71cffa67fa
add NetCDF
6 years ago
John M. Lindemon
939c00a972
Fix nvcc error with threads dependency (4999)
6 years ago
Michael Hirsch, Ph.D
39e6dc5885
correct Fortran self-dep logic
...
corrected, generalized self-referential Fortran fix
further refine logic
6 years ago
Michael Hirsch, Ph.D
32a344b949
Fortran: handle self-referential files
6 years ago
Daniel Mensinger
4bf1a352cc
mconf: Fixed crash for variables in targets ( closes #4960 )
6 years ago
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