- Oct 22, 2021
-
-
Andreas Dedner authored
Add a 'flag' argument to the 'dune_python_install_package' command which contains cmake variables to store in metadata file. This is to be used to fix for example the compiler to use for dune-py but that hasn't been added to the builder yet. Also changed builddirs output to contain ';' separator (using a cmake string instead of a list). added 'cmake flags' from metadata file to CMakeLists.txt.template correctly throw exception if dune-py not available in assertHave
-
Andreas Dedner authored
been constructed. The __init__.py file in dune.grid uses 'haveAssert' to check if 'AlbertaGrid' is available. This checks 'config.h' in dune-py which caused an error. The fix here simply return 'False' in case dune-py/config.h is not available. correctly use the tagfile '.noconfigure' to make sure dune-py is rebuild each time a new dune module is installed. To avoid a 'recursive include' issue moved the generation of dune-py based on the 'template' to the 'Builder' (where it was before). Also fixed a bug (which was partially a feature avoiding recursive includes up until now): there was a script dune/generator/builder.py which contained the 'Builder' class and in dune/generator/__init__.py we setup a variable 'builder' which then shadowed the script. This did then cause problems in one place. Renaming the 'builder.py' script then demonstrated the issue with the recursive import. use *.template for dune-py template files which should be copied without the ending, e.g., CMakeLists.txt (now CMakeLists.txt.template) Also renamed dune.module to dune.module.template to be certain that it will not be picked up by mistake add cmake install command for the cmake_metadata files and the files in the dune-py template to make sure that skbuild adds them correctly to the wheel check for matplotlib in dune.plotting Partial fix for export of build dirs for all deps modules to metadat file. In previous version only first builddir was written. Issue with this version: space is used to separate the directories. Also make dune-py depend on modules without their own python package if another module (with bindings) depends on it. minor fixes
-
- Oct 21, 2021
-
-
Install CMake scipt
-
Slightly refactor data processing and fix the common-install use case
-
-
All testing is done in the virtualenv.
-
It is not really necessary in the new interface.
-
This reduces the number of redundant reruns of the env installation.
-
-
-
-
-
Andreas Dedner authored
-
-
-
Andreas Dedner authored
Revert "Merge branch 'feature/modern-cmake-documentation-generator' into 'master'" See merge request !1024
-
Simon Praetorius authored
This reverts merge request !1020
-
Simon Praetorius authored
Remove deprecated file DuneMPI.cmake See merge request !1023
-
Simon Praetorius authored
Add Changelog entry
-
Simon Praetorius authored
Remove deprecated dune_list_filter and deprecate file DuneCMakeCompat.cmake See merge request !1022
-
Simon Praetorius authored
Extract dune_add_library from DuneMacros See merge request !1019
-
Simon Praetorius authored
Add generator for modern buildsystem documentation See merge request !1020
-
Simon Praetorius authored
Improve Find<Module> CMake package documentation See merge request !1021
-
- Oct 19, 2021
-
-
Andreas Dedner authored
[python][typeregistry] _typeName/_includes -> cppTypeName/cppIncludes See merge request !980
-
Underscore prefixed variables in Python are often by convention internal variables that should not be accessed from outside the class. These attributes are frequently used in Python-side C++ code generation code and have to be accessed to write code generators. Linters like pylint complain about the access of these protected attributes. This changes them to be part of the public interface (by naming convention).
-
- Oct 15, 2021
-
-
Simon Praetorius authored
Include deprecation period
-
Simon Praetorius authored
-
Simon Praetorius authored
-
Simon Praetorius authored
-
- Oct 14, 2021
-
-
Simon Praetorius authored
Add flag NO_MODULE_LIBRARY to dune_add_library See merge request !1014
-
Simon Praetorius authored
Remove the cmake variable DUNE_DEFAULT_LIBS See merge request !1009
-
Simon Praetorius authored
-
Simon Praetorius authored
-
Simon Praetorius authored
Remove the cmake module include CMakeParseArguments See merge request !1008
-
Simon Praetorius authored
Simplify dune_library_add_sources by using target_sources See merge request !1010
-
- Oct 12, 2021
-
-
Andreas Dedner authored
[Python] explicitly use python3 in rmgenerated.py See merge request !1016
-
- Oct 10, 2021
-
-
Christian Engwer authored
[cmake] Guard mpiguturetest as it does not compile without MPI See merge request !1017
-
Christoph Grüninger authored
-
- Oct 07, 2021
-
-
Patrick Jaap authored
This causes problems in the generation of Debian packages and is also inconsistent with other Python files.
-
- Oct 05, 2021
-
-
Simon Praetorius authored
Allow constant expressions in unpackIntegerSequence See merge request !996
-