3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 11:13:46 +01:00
Commit Graph

138 Commits

Author SHA1 Message Date
Nils Wentzell
853ebf2d6a [cmake] No longer add '-Og' for debug builds 2020-06-18 13:58:55 -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
b6cedfb0df [cmake] Provide a namespaced alias to the PROJECT_NAME_warnings target 2020-06-10 16:46:16 -04:00
Alexander Hampel
11d394fd5b synchronize dfttools with app4triqs structure
* moved the plovasp C++ code to c++/triqs_dft_tools/converters/vasp
* added global header triqs_dft_tools/triqs_dft_tools.hpp
* python dir based on single cmakelist file
* registered C++ tests for plovasp
* corrected imports for py3 tests for plovasp
* corrected block order in sigma_from_file and srvo3_Gloc
* exchanged ref files for sigma_from_file, srvo3_Gloc, SrVO3.ref.h5
* moved vasp converter bash scripts from dir shells to bin dir
2020-06-10 17:45:53 +02:00
Nils Wentzell
fbe3f2fa0a [cmake] Prefer the use of PROJECT_NAME in most CMakeLists.txt files 2020-05-28 11:20:01 -04:00
Nils Wentzell
5982c49615 [cmake] Use PROJECT_SOURCE_DIR over CMAKE_SOURCE_DIR 2020-05-15 10:50:13 -04:00
Nils Wentzell
a631b46d14 [cmake] Documentation build no longer requires triqs to be build with doc 2020-05-07 17:50:56 -04:00
Nils Wentzell
422ac1c0ad [cmake] Make sure to require proper triqs verison in deb pkg 2020-05-07 17:36:53 -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
8206a43651 [cmake] Make sure testing options propagate to subprojects without EXCLUDE_FROM_ALL 2020-04-29 17:56:17 -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
136a39dc42 [cmake] Bump Version number of app4triqs and triqs to 3.0.0 2020-04-29 15:30:54 -04:00
Nils Wentzell
38ab493368 [cmake] Cpp2py should be a build-only dependency in deps dir 2020-04-29 15:30:19 -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
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
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
a167933b34 [cmake] Do not warn about unkown attributes with gcc, add warnings to AppleClang 2020-01-17 10:21:52 -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
5768a7f748 [cmake] Only use Wshadow=local for gcc 2019-10-10 15:59:39 -04:00
Nils Wentzell
cc81dffa4a [cmake] Minor corrections 2019-09-18 14:23:14 -04:00
Nils Wentzell
7ab1e6af22 Add C to Project Languages 2019-09-06 15:27:55 -04:00
Nils Wentzell
5cb8bbf042 [cmake] Add -Wno-gcc-compat to project_warnings target 2019-09-04 16:17:51 -04:00
Nils Wentzell
8d906ed6cc [cmake] Use PROJECT_GIT_HASH instead to store git hash and adjust dependent files accordingly 2019-07-16 11:54:32 -04:00
Nils Wentzell
1ececb7a4b [cmake] Bump Version number and triqs requirement to 2.2.0 2019-07-02 10:54:38 -04:00
Philipp D
c3114e313a [cmake] streamline top-level cmake
* enforces major.minor version check against triqs
* adds header boilerplate
* minor cleaning
2019-06-26 13:56:56 -04:00
Nils Wentzell
b0bb95d61e [cmake] Use PROJECT_VERSION as defined through project(..) over APP4TRIQS_VERSION 2019-06-26 11:35:20 -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
a1ecfd883f [cmake] Prepare packaging for 2.1.0 release 2019-04-26 14:25:58 -04:00
Nils Wentzell
c492078f77 [doc] Major cleaning of doc targets and CMakeLists.txt 2019-04-26 12:40:44 -04:00
Nils Wentzell
87a67e8d06 [cmake] Add -Wextra compiler warnings globally 2019-04-22 11:24:53 -04:00
Nils Wentzell
816bdcb02d Bump cpp2py version requirement 2019-04-16 17:04:27 -04:00
Nils Wentzell
d64b27495e Bump cpp2py version requirement 2019-04-16 16:56:44 -04:00
Nils Wentzell
9e606ab9ca [cmake] Bump Version number and triqs requirement to 2.2(dev) 2019-04-16 16:32:44 -04:00
Nils Wentzell
800ef7c0b4 Prepare top-level CMakeLists.txt for triqs@2.1 compatible release 2019-04-16 11:09:27 -04:00
Nils Wentzell
66164ed8a4 Bump cmake version requirement 2019-04-15 16:45:59 -04:00
Nils Wentzell
095409d879 Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
Nils Wentzell
da10fdeb55 [cmake] Define version numbers explicitly 2019-03-05 15:19:57 -05:00
Nils Wentzell
9d1a19b26f [deb] Remove explicit cpp2py package dependency (deduced from triqs) 2019-01-22 10:21:19 -05:00
Nils Wentzell
29e650de34 [deb] Remove explicit cpp2py package dependency (deduced from triqs) 2019-01-22 09:47:53 -05:00
Nils Wentzell
9e442be0e0 Always export compile commands to json file 2018-11-26 12:03:54 -05:00
Nils Wentzell
46cbea69d9 [cmake] Enable CMP0074, adjust if(obj) statements 2018-11-20 17:53:10 -05:00
Nils Wentzell
24d619b8be [cmake] Add Debug flags, Update Triqs version, optional tests 2018-10-11 17:17:53 -04:00
Gernot J. Kraberger
6ed84c078f Add option to measure python test coverage 2018-09-06 15:09:30 +02:00
Gernot J. Kraberger
8f1011e389 change python build directory
so that we can use the real include in the tests
2018-09-06 13:48:24 +02:00
Nils Wentzell
af8f3ad824 Minor fixes and adjustments 2018-08-30 18:07:35 -04:00
Nils Wentzell
04d7aef339 [deb] Adjust dependency generation 2018-06-03 13:45:57 -04:00
Nils Wentzell
35a48aad80 [cmake] Adjust fallback version 2018-06-01 16:51:49 +02:00
Nils Wentzell
2cd1a9384f [cmake] app4triqs version detection via git, some cleaning in conf.py.in 2018-06-01 09:38:03 -04:00
Nils Wentzell
8a4f23e340 [cmake] Dft_tools version detection via git 2018-06-01 09:24:39 -04:00
Dylan Simon
dfb185477a [cpack] Switch to autogenerated shlib and deps 2018-06-01 09:16:03 -04:00
Nils Wentzell
66b4b1129f [cmake] update cpp2py / triqs version requirements 2018-05-28 09:38:02 -04:00
Nils Wentzell
7f0e6283f0 grep app4triqs version from latest annotated git tag 2018-05-27 02:06:48 +02:00
Nils Wentzell
cd7d01c4a9 [cmake] Require TRIQS 2.0 2018-05-26 23:54:30 +02:00
Dylan Simon
0fb5342c6b [cmake] deb pkg works with libgcc1 1:6
The default on xenial
2018-05-21 16:04:25 -04:00
Dylan Simon
57840986bc [cmake] deb pkg works with libgcc1 1:6
The default on xenial
2018-05-21 16:04:00 -04:00
Dylan Simon
4ae6571a17 [cmake] Add deb packaging rules 2018-05-21 10:44:01 -04:00
Dylan Simon
51345aff2d [cmake] Add BUILD_DEBIAN_PACKAGE option and rules 2018-05-14 15:26:28 -04:00
Nils Wentzell
ee1e563c82 Lowering cmake version requirement, removing fPIC global flag 2018-04-06 14:36:32 +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
6bf4afd316 Adding cmake config files to install targets, Major cleaning 2018-03-23 16:59:38 +01:00
Nils Wentzell
2b76c51f12 First draft of the triqs application skeleton 2018-03-22 18:16:10 +01:00
Nils Wentzell
a89d558cd6 [doc] Run sphinx against source dir, change option BUILD_DOC -> Build_Documentation 2018-03-13 13:23:52 +01:00
Nils Wentzell
ca16e77d22 [cmake] Fixing CMakeLists.txt for documentation 2018-02-02 15:56:08 +01:00
Manuel
ef9f37e017 Add C 2018-01-22 20:29:53 -05:00
Olivier Parcollet
1a0ba43f8d Continued 2018-01-22 17:37:27 -05:00
Olivier Parcollet
ae548d48da WIP 2017-12-07 15:56:05 +01:00
Olivier Parcollet
d7d720141e Port to new Python interface for Gf
- Minor changes
- tests are ok
2017-04-06 09:25:17 +02:00
Oleg E. Peil
5dded633b8 Fixed CMake scripts to properly add a c++ library
First of all, 'c++/plovasp/atm' was erroneously removed after
the last merge with the upstream branch.
Now, the whole subdirectory 'c++' is added.
Also, C++ flags are properly imported from the TRIQS configuration.
2016-03-24 11:40:12 +01:00
Oleg E. Peil
edf5038140 Added a shell script for running PLOVasp converter
The script simply runs pytriqs with an auto-executable module
`plovasp.converter`.
2016-03-11 11:35:19 +01:00
Oleg E. Peil
f142db96fb Merge branch 'master' into vasp
Conflicts:
	CMakeLists.txt
	python/CMakeLists.txt
	python/converters/__init__.py
	test/CMakeLists.txt
2016-03-11 09:53:24 +01:00
Priyanka Seth
3e4b74225c Able to get dft_tools hash now 2016-02-07 10:43:23 +01:00
aichhorn
d9da33b6fe changed version to 1.4 2015-11-25 11:53:44 +01:00
Priyanka Seth
117fff4289 First commit of v1.4 2015-11-02 11:43:53 +01:00
Olivier Parcollet
3ada2b6e47 Version to 1.3 2015-11-02 11:43:53 +01:00
Priyanka Seth
e115b1ce42 Update version number in CMakeLists.txt 2015-03-10 14:20:50 +01:00
Priyanka Seth
0bb1a45afb Tidying up 2014-11-14 09:41:03 +01:00
Priyanka Seth
17d58aacb4 Remove redundant folder vertex (calculated U) 2014-09-26 11:18:04 +02:00
Michel Ferrero
be6977a3ed Check version and add README
modified:   CMakeLists.txt
  new file:   README.txt
2013-09-04 16:54:12 +02:00
Olivier Parcollet
de15cf5267 updating doc 2013-09-01 17:56:17 +02:00
Michel Ferrero
640941c326 Add documentation 2013-08-07 16:40:18 +02:00
Michel Ferrero
cd650884d3 Clean CMakeLists.txt 2013-08-07 16:30:09 +02:00
Olivier Parcollet
237fabae59 cmake : package TRIQS is required 2013-07-29 12:26:52 +02:00
Olivier Parcollet
0e585ad9b4 First import. triqs 1.0 alpha1 2013-07-23 20:55:29 +02:00