- May 20, 2016
-
-
Linus Seelinger authored
-
Linus Seelinger authored
* Mangle module name when configuring stub
-
Steffen Müthing authored
[Bugfix][cmake] Fix typo in dune_enable_all_packages() This typo breaks the module library feature. See merge request !95
-
Steffen Müthing authored
This typo breaks the module library feature - dune-common doesn't even build for me anymore...
-
- May 04, 2016
-
-
Markus Blatt authored
Support multiple DUNE libs in different directories when exporting. Previously, issuing multiple dune_add_library calls would only work if subsequent calls to dune_add_library were issued in the same directory or below. If the calls happened in different directories then only the last library would have beem exported. With this commit we can use the APPEND parameter to prevent overwriting previous libraries. If all calls are in the same directory or below, then APPEND can be omitted. But that is not recommend. See merge request !91
-
Markus Blatt authored
Previously, issuing multiple dune_add_library calls would only work if subsequent calls to dune_add_library were issued in the same directory or below. If the calls happened in different directories then only the last library would have beem exported. With this commit we can use the APPEND parameter to prevent overwriting previous libraries. If all calls are in the same directory or below, then APPEND can be omitted. But that is not recommend.
-
- Apr 26, 2016
-
-
Christoph Grüninger authored
Deprecatee final.hh, noexcept.hh and constexpr.hh The compatibility headers `final.hh`, `noexcept.hh` and `constexpr.hh` are useless since we fully support C++11 so we can deprecate them. See merge request !90
-
- Apr 25, 2016
-
-
Marco Agnese authored
-
- Apr 11, 2016
-
-
Dominic Kempf authored
[cmake] install DunePathHelper.cmake This installs the file DunePathHelper.cmake that was added in merge request !80. See merge request !86
-
Felix Gruber authored
-
- Apr 09, 2016
-
-
Christoph Grüninger authored
doc: Correct typo in testsuite.hh See merge request !83
-
-
Christoph Grüninger authored
[CMake] Add a helper function to extract paths Developing CMake code yourself you often need to access path variables like: What is the build directory of dune-grid? What is the cmake modules directory of dune-common? Unfortunately, there are two problems with that: * The extract method changes depending on whether you are currently configuring the module itself or whether you are configuring a downstream module. * Normal people tend to forget the naming schemes of the path variable. This commit introduces a function with a documented interface that allows for querying dune module paths. You give it the name of the dune module, the name of the return variable and a path type. Currently implemented path types are CMAKE_MODULES and BUILD_DIR. More may be added as needed. See merge request !80
-
dune_common_script_dir is a special case that can now be covered by the more general implementation in dune_module_path.
-
-
-
-
Developing CMake code yourself you often need to access path variables like: What is the build directory of dune-grid? What is the cmake modules directory of dune-common? Unfortunately, there are two problems with that: * The extract method changes depending on whether you are currently configuring the module itself or whether you are configuring a downstream module. * Normal people tend to forget the naming schemes of the path variable. This commit introduces a function with a documented interface that allows for querying dune module paths. You give it the name of the dune module, the name of the return variable and a path type. Currently implemented path types are CMAKE_MODULES and BUILD_DIR. More may be added as needed.
-
- Apr 08, 2016
-
-
Christoph Grüninger authored
No longer use deprecated MPI functions Closes #6 See merge request !84
-
MPI_LB and MPI_UB are deprecated in MPI-2 and have been removed in MPI-3.
-
This addresses the following warnings (from OpenMPI): .../dune/common/parallel/test/remoteindicestest.cc:678:50: warning: ‘int MPI_Errhandler_create([...])’ is deprecated: MPI_Errhandler_create is superseded by MPI_Comm_create_errhandler in MPI-2.0 .../dune/common/parallel/test/remoteindicestest.cc:679:3: warning: ‘int MPI_Errhandler_set([...])’ is deprecated: MPI_Errhandler_set is superseded by MPI_Comm_set_errhandler in MPI-2.0
-
- Apr 07, 2016
-
-
Christoph Grüninger authored
[cmake] fixes passing COMPILE_OPTIONS to enable_all_packages See #30 for description See merge request !85
-
- Apr 06, 2016
-
-
Rene Milk authored
-
- Apr 01, 2016
-
-
Carsten Gräser authored
This is a variant of stackobject_to_shared_ptr that can store L- and R-value references. If you pass an R-value reference it behaves like stackobject_to_shared_ptr. If you pass an L-value reference it will be moved into a new object created via make_shared. The main application of this is the following situation: If you have a function template<class T> auto foo(T&& t); it can be used with temporaries and L-values. If however, this should return an object referring to t, you can no longer pass a temporary unless you prolong its life-time. The latter can be done conveniently using wrap_or_move().
-
Oliver Sander authored
-
Oliver Sander authored
-
- Mar 30, 2016
-
-
- Mar 23, 2016
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
* Required CMake version 2.8.12 instead of 2.8.6 * Add compiler variables for Fortran * Some typos
-
- Mar 22, 2016
-
-
Christoph Grüninger authored
[CMake] Check for SuiteSparse >= 4.3 for using SPQR Fixes dune-istl#5 See merge request !78
-
Fixes dune-istl/#5
-
- Mar 21, 2016
-
-
Dominic Kempf authored
[cmake] Avoid unnecessary rebuilds without fortran When CMake doesn't detect Fortran, it writes an empty `FC.h` file, which gets included by `config.h`. This file is regenerated on each cmake run, causing continuous full rebuilds. This merge requests fixes the issue by not rewriting the file if is already present. See merge request !66
-
Christoph Grüninger authored
[cleanup] fix some typos in documentation strings I still had some old commits lying around that fixed some typos in comments. Since then I found the codespell program which turned out to be quite helpful in finding common misspellings. So I guess, I've gathered enough fixes by now to justify a merge request.
Similar merge requests for the rest of the Dune core modules will follow soon. See merge request !79 -
-
Felix Gruber authored
-
- Mar 17, 2016
-
- Mar 16, 2016
-
-
Carsten Gräser authored
This avoid duplicate definitions of the function.
-
Carsten Gräser authored
These are helpfull when working with multitype containers, e.g., for checking if a container or index is dynamic or static.
-
- Mar 12, 2016
-