3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-30 00:44:34 +02:00
Commit Graph

251 Commits

Author SHA1 Message Date
Nils Wentzell
38ab493368 [cmake] Cpp2py should be a build-only dependency in deps dir 2020-04-29 15:30:19 -04:00
Nils Wentzell
795ab5c671 [cmake] Add useful comments for dependency targets to config.cmake.in file 2020-04-29 10:23:37 -04:00
Nils Wentzell
764cdf35eb [cmake] In environment vars file add install prefix to CMAKE_PREFIX_PATH without suffix 2020-04-29 10:22:48 -04:00
Nils Wentzell
effc981878 [cmake] In external_dependency function be sure to search deps also in INSTALL_PREFIX 2020-04-29 10:20:49 -04:00
Nils Wentzell
a4bfce94b2 [cmake] Improve error message for external_dependency function 2020-04-28 17:19:13 -04:00
Nils Wentzell
a14bf3975b [cmake] Add option BUILD_ALWAYS to function external_dependency for force build 2020-04-28 17:18:25 -04:00
Nils Wentzell
984a89e569 [cmake] Bump version requirement to 3.3.2, set CMP0057 2020-04-28 16:34:00 -04:00
Nils Wentzell
d9f8e1e0bf [cmake] Use GIT_TAG instead of TAG for external_dependency function 2020-04-28 16:25:28 -04:00
Nils Wentzell
cce7b5cd2f [cmake] Change Build_Deps option to take either Never/Always/IfNotFound, cleaning
- Use Global Properties to check if a package has been found.
  This information should not go in the cmake cache
2020-04-28 16:23:30 -04:00
Nils Wentzell
8c407831c8 [cmake] Improve command line output for dependency configuration 2020-04-28 10:51:06 -04:00
Nils Wentzell
a619870f92 Minor refactoring in external_dependency.cmake 2020-04-27 15:50:35 -04:00
Nils Wentzell
c99ee1820e [cmake] Handle dependencies with external_dependency(...) function + doc 2020-04-24 17:52:27 -04:00
Nils Wentzell
1ff66fd1f3 [cmake] Minor cleanings 2020-04-24 17:51:19 -04:00
Nils Wentzell
3f71381f1b [cmake] Be sure fill INTERFACE_INCLUDE_DIRECTORIES for installed library targets 2020-04-24 17:50:26 -04:00
Nils Wentzell
1959a60d15 [cmake] Make sure deps/download.sh clones only if dirs do not exist yet 2020-04-22 15:11:37 -04:00
Nils Wentzell
ebe9add3c7 [cmake] Add gitignore file to deps directory 2020-04-22 15:07:33 -04:00
Nils Wentzell
4120eb5f99 [cmake] Add BUILD_SHARED_LIBS option, continue to build static by default 2020-04-22 15:06:15 -04:00
Nils Wentzell
ed5812988f [cmake] Improve cmake status messages if we are a subproject 2020-04-22 15:05:37 -04:00
Nils Wentzell
b9d934554c [cmake] Manage dependencies in a seperate deps subdirectory 2020-04-22 15:04:30 -04:00
Nils Wentzell
2736682002 [cmake] Remove googletest subtree 2020-04-22 14:56:53 -04:00
Nils Wentzell
2d4b9c6298 [cmake] Use PYTHON_EXECUTABLE over PYTHON_INTERPRETER to be consistent with gtest, pybind .. 2020-04-03 16:22:09 -04:00
Nils Wentzell
b70084789d [cmake] Make sure to properly use target_link_libraries with cpp2py modules 2020-04-03 16:21:45 -04:00
Nils Wentzell
ed1e683b69 Port py files to python3 2020-04-03 16:21:07 -04:00
Nils Wentzell
68cac838cc Adjust hdf5 usage to changes in triqs/nda 2020-04-03 16:20:03 -04:00
Nils Wentzell
6a61fe0740 [Jenkins] Specify fortran compiler also for osx clang builds 2020-02-12 09:43:15 -05:00
Dylan Simon
0982a5f898 [jenkins] osx-gcc: switch to gcc 9 2020-02-11 14:08:10 -05:00
Dylan Simon
483dc46b2a [jenkins] remove stray quote in last 2020-01-28 11:38:56 -05:00
Dylan Simon
eab9a23c4f [jenkins] use lower-case docker name; auto-detect doc dir 2020-01-28 11:33:55 -05:00
Dylan Simon
3111d800b5 [jenkins] osx-gcc: use a consistent gfortran
but what should clang be using?
2020-01-23 18:32:32 -05:00
Nils Wentzell
a167933b34 [cmake] Do not warn about unkown attributes with gcc, add warnings to AppleClang 2020-01-17 10:21:52 -05:00
Nils Wentzell
e47bc7ecb0 [jenkins] Make sure to set proper default APPNAME in Dockerfile 2020-01-17 09:45:55 -05:00
Nils Wentzell
deb1696d77 [jenkins] Make sure to use triqs unstable branch by default 2020-01-17 09:40:57 -05:00
Dylan Simon
5c760037b7 [jenkins] stage publication results in tmpdir
Currently they're polluting the main build dir and not getting cleaned
up for some reason
2020-01-14 15:49:38 -05:00
Nils Wentzell
bef6368d89 Explicitly use python2 in replace_and_rename script 2019-12-16 10:59:04 -05:00
Nils Wentzell
357c4b81ba [cmake] Use PROJECT_BINARY_DIR over CMAKE_BINARY_DIR 2019-12-16 10:54:50 -05:00
Nils Wentzell
7b8b71e984 [cmake] Fix various issues occuring when using a skeleton based app as a subproject 2019-12-02 17:53:17 -05:00
Nils Wentzell
7b91cfbbb3 [doc] Fix sphinx target dependencies for the case of no CPP2PY modules 2019-12-02 15:16:13 -05:00
Nils Wentzell
09b0a68b26 [cmake] Fix cppcheck invocation, add --force to cppcheck options 2019-11-21 11:54:10 -05:00
Nils Wentzell
919639bd27 [cmake] Find libasan and libubsan only if the targets are not already defined by the parent project 2019-11-18 14:04:29 -05:00
Nils Wentzell
64bbc3ce48 Use python instead of bash for the replace and rename operation 2019-10-31 18:19:01 -04:00
Nils Wentzell
b7dafbd2e6 Use PROJECT_VERSION over APP4TRIQS_VERSION 2019-10-28 18:23:15 -04:00
Philipp D
c03634fd2f bug fix for Darwin replace_and_rename.sh 2019-10-24 14:34:27 -04:00
Nils Wentzell
9a3ab9327c [travis] Switch to bionic travis image, clean dependencies 2019-10-20 17:22:04 -04:00
Nils Wentzell
c78b3eeab7 [doc] Add doc/cpp2rst_generated to gitignore 2019-10-11 14:54:16 -04:00
Nils Wentzell
0388421428 Add .gitignore for compile_commands.json 2019-10-10 17:29:54 -04:00
Nils Wentzell
5768a7f748 [cmake] Only use Wshadow=local for gcc 2019-10-10 15:59:39 -04:00
Nils Wentzell
09c40e741a [cmake] Make regex in extract_flags.cmake more generic 2019-10-09 16:24:13 -04:00
Nils Wentzell
60b68690ec Add documentation to python module 2019-10-09 16:23:25 -04:00
Nils Wentzell
7859505fea [doc] Remove non-existant tag from doc example 2019-10-09 16:23:02 -04:00
Nils Wentzell
e4063bf4d0 [cmake] Prioritize -isystem over -I in extract_flags macro, Minor fix for empty list of inc_dirs 2019-09-26 09:49:34 -04:00