3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 08:24:54 +02:00
Commit Graph

34 Commits

Author SHA1 Message Date
Nils Wentzell
1c6d29d6a3 [cmake] For ANALYZE_SOURCES=ON run cppcheck in c++20 mode 2021-06-07 14:20:10 -04:00
Dylan Simon
1eabf19570 Revert "[jenkins] inject test failure to test email"
This reverts commit ff8124ea24.
2020-08-03 11:32:27 -04:00
Dylan Simon
ff8124ea24 [jenkins] inject test failure to test email 2020-08-03 11:25:11 -04:00
Nils Wentzell
5156e45b5b [cmake] Make sure to use namespaced targets in c++ test dir 2020-06-10 17:25:03 -04:00
Nils Wentzell
fbe3f2fa0a [cmake] Prefer the use of PROJECT_NAME in most CMakeLists.txt files 2020-05-28 11:20:01 -04:00
Dylan Simon
852066938a Update triqs python module name 2020-05-27 20:16:37 -04:00
Philipp Dumitrescu
055e7519ba add PythonSupport; change Doc build control flow
* change in Build_Documentation control flow
* don’t Build_Documentation of deps if EXCLUDE_FROM_ALL
* export new APP4TRIQS_WITH_PYTHON_SUPPORT variable in config.cmake
2020-05-07 17:35:43 -04:00
Nils Wentzell
6d4289e024 [cmake] rename project_warnings to project specific target, to not export it 2020-04-29 15:31:36 -04:00
Nils Wentzell
1ff66fd1f3 [cmake] Minor cleanings 2020-04-24 17:51:19 -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
68cac838cc Adjust hdf5 usage to changes in triqs/nda 2020-04-03 16:20:03 -04:00
Nils Wentzell
357c4b81ba [cmake] Use PROJECT_BINARY_DIR over CMAKE_BINARY_DIR 2019-12-16 10:54:50 -05:00
Nils Wentzell
09b0a68b26 [cmake] Fix cppcheck invocation, add --force to cppcheck options 2019-11-21 11:54:10 -05:00
Nils Wentzell
a26bfae4d1 [cmake] Bump cppcheck c++ standard to c++17 2019-09-24 17:50:38 -04:00
Nils Wentzell
31433b69fb [cmake] Build gtest from test/c++/gtest and use gtest_main target 2019-09-06 16:52:59 -04:00
Nils Wentzell
da55635d5c Include gtest as a git subtree in test/c++/gtest 2019-09-06 16:12:18 -04:00
Nils Wentzell
28d600f149 [app4triqs] Rename files and Python module from toto to app4triqs
-Automatically detect any wrap generator files
-rename tests to basic/Py_Basic
2019-09-04 17:37:50 -04:00
Nils Wentzell
c87aceed37 [cmake] Generate list of all tests through GLOB_RECURSE by default 2019-08-20 14:32:21 -04:00
Nils Wentzell
3b1b412b4e Correction to previous commit, run c++ tests in proper test directory 2019-08-02 14:24:45 -04:00
Nils Wentzell
63109a445b [cmake] Generalize test/c++/CMakeLists.txt file to allow subdirectories and globbing 2019-07-31 11:08:23 -04:00
Nils Wentzell
24f49da39c [cmake] Do not enable compiler warnings globally but instead through an interface target 2019-06-26 11:06:12 -04:00
Nils Wentzell
9315b02800 We should be using the triqs::gtest target for linking 2019-04-22 11:25:20 -04:00
Nils Wentzell
ff9536bf91 [cmake] Fix in specification of working directory for python tests 2019-04-12 18:06:44 -04:00
Nils Wentzell
095409d879 Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
Nils Wentzell
16fe4b2eab Minor correction to 759bb9d 2018-11-29 10:46:57 -05:00
Nils Wentzell
759bb9da1d Fix the sanitizers for MacOs 2018-11-21 16:52:55 -05:00
Nils Wentzell
6be41fb47a [cmake] Prepend UBSan options to Env 2018-04-24 23:59:32 +02:00
Nils Wentzell
6aa4eee0f4 [cmake] Fixing usage of ubsan with Minimal RT, some cleaning
- Use UBsan Minimal RT if found
- Prioritize gcc-7 directories over older
- Set UBSan options for c++/python tests
2018-04-24 23:34:14 +02:00
Nils Wentzell
f65e5bfbad Further cleanining, switching to static library
-Disable LINTing in test macros with comment // NOLINT
-Enable static analyzers for c++ tests
-Switch app4triqs_c to static library
 Dynamic was pickung up previously installed libapp4triqs_c.so in tests
 Also there is no need to be dynamic for applications
-Fix previous change in HeaderFilterRegex:
 'app4triqs/c++' was blocking all headers for clang-tidy checks.
 'app4triqs' works well, but we cannot install any other headers into
 app4triqs folder structure.
 We thus had to create INSTALL_DIR in travis.yml
2018-03-26 00:31:39 +02:00
Nils Wentzell
e3c4366d54 Enable all compiler warnings, Include Triqs headers as SYSTEM, fix linker for sanitizers 2018-03-25 20:15:49 +02:00
Nils Wentzell
f2d7e84bdd Major update and Cleaning
-consistent indends in all cmake files
-add static analyzer checks with both cppcheck and clang-tidy
-add dynamic analyzer checks with Address Sanitizer and option ASAN
-add dynamic analyzer checks with Undefined Behavior Sanitizer and option UBSAN
-Further Cleaning and Comments
2018-03-25 19:21:18 +02:00
Nils Wentzell
2b76c51f12 First draft of the triqs application skeleton 2018-03-22 18:16:10 +01:00