- Jan 11, 2015
-
-
Christoph Grüninger authored
If LAPACK is not available, it return 77 indicating skipped test
-
Christoph Grüninger authored
Like we do for Autotools. This is only supported for CMake 3.0 or newer. Oder versions ignore the property and report the test as failed.
-
- Jan 09, 2015
-
-
Markus Blatt authored
Previously we did not catch patterns at the start of the line. Seems like sed cannot handle [ ^] as the meaning of ^ is the not operator here and not the line beginning.
-
Markus Blatt authored
Unfortunately environment variables with these names are not honored by CMake's FindMPI. Therefore this commit translates them to MPI_{C,CXX}_COMPILER and adds them to CMAKE_FLAGS before calling cmake.
-
Markus Blatt authored
When deciding which variable to put before cmake as environment variables our sed pattern did not check for the beginning of a word or line. Therefore MPICC=bla would be converted to CC=bla. With this commit we make sure that there is eihter a beginning of a line or a whitespace before the variable.
-
- Dec 29, 2014
-
-
Christoph Grüninger authored
-
- Dec 26, 2014
-
-
Jö Fahlke authored
No comment/response from the other interested parties, so I assume this is OK.
-
- Dec 22, 2014
-
-
We dont provide a custom find module, so we need to update the property after executing the system wide find module.
-
-
The libraries are taken from DUNE_LIBS and from the global property ALL_PKG_LIBS. This change is necessary to drop the add_dune_*_flags macros in the future.
-
- Dec 12, 2014
-
-
Christoph Grüninger authored
Otherwise the headers in dune-grid-howto and and in dune-multidomain/tests cannot be checked.
-
- Dec 11, 2014
-
-
Christoph Grüninger authored
With CMake 3.1 variable indication with the @ symbol is no longer valid, use ${} instead, cf. CMP0053. The @ is only allowed for configuration files which are transformed. The generated files are the same with CMake 3.1~rc2 and CMake 2.8.6.
-
- Dec 08, 2014
-
-
Christoph Grüninger authored
Moved from dune-istl's config.h.cmake. Otherwise it cannot be shared with other modules using ParMETIS.
-
- Dec 05, 2014
-
-
Dominic Kempf authored
This specialization was missing and made it impossible to parse bitsets. The implementation uses the specialization for bool. It was not possible to reuse the parseRange method, because a bitset doesnt have begin() and end().
-
- Dec 02, 2014
-
-
Carsten Gräser authored
While the following is legal c++11 array<T,n> foo = { t1, t2, ...} older compilers (namely gcc-4.4) issue a warning on missing braces.
-
Carsten Gräser authored
-
Christoph Grüninger authored
This reverts commit d26e5ed3. We have to wait until our minimal required compiler is GCC 4.7 or newer. Thanks to Carsten for the heads-up.
-
- Dec 01, 2014
-
-
Carsten Gräser authored
-
Carsten Gräser authored
-
- Nov 28, 2014
-
-
Christoph Grüninger authored
The signature changed in C++11 which we require now. To get more details see the mailinglost in October 2012.
-
Christoph Grüninger authored
It should be std::endl. Courtesy of GCC 5-svn, it refuses to compile these.
-
Christoph Grüninger authored
GCC warns about it.
-
Carsten Gräser authored
While gcc supports them (as extension) runtime sized arrays are not standard c++. They are not even contained in c++14 but postponed to a later TS.
-
- Nov 26, 2014
-
-
Tobias Malkmus authored
Use output of find_package(MPI) consistent.
-
Markus Blatt authored
In dune-grid we want to export the path to the grid example files. To do this without a handwritten package configuration file, We add a custom section to it that can be filled by the modules using the variable DUNE_CUSTOM_PKG_CONFIG_SECTION before finalizing the cmake build system. For dune-grid we export the variable DUNE_MODULE_SRC_DOCDIR that points to the installed documentation and the path to the source files of the documenation in the installed and not-installed module, respectively.
-
Christoph Grüninger authored
Suggested modules are quite often not available and for a large number of suggested modules the output is very cluttered. The error message is anyway printed manually.
-
- Nov 25, 2014
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
- Nov 23, 2014
-
-
Christoph Grüninger authored
Pass --no-cmake to dunecontrol to force the use of autotools. If no build directory is given, make files, libararies and executables are in <module-dir>/build-cmake/ . Further information in FS#1000 and FS#1500.
-
- Nov 21, 2014
-
-
Christoph Grüninger authored
With the removal of the fall-back code for many C++11 features like shared_ptr or hash, we no longer need Boost in dune-common. If your model has relies on a boost check, add the call to the buildsystem of your module. The Dune-islt commit …3ee92f05012 is an example what must be done.
-
Christoph Grüninger authored
-
- Nov 19, 2014
-
-
Christoph Grüninger authored
The warning was spilled out for every module for every command, even for update. The build directory is announced by CMake's configure anyway. Now it is printed for make, too.
-
- Nov 15, 2014
-
-
Christoph Grüninger authored
CMAKE can now be set in the shell or the opts file, if both are set the shell has higher priority. This feature was dropped in …aef001c21e3a9 to fix FS#1518.
-
Christoph Grüninger authored
-
- Nov 13, 2014
-
-
Jö Fahlke authored
Add "@relatesalso null_deleter", this includes the documentation for the function with null_deleter but also leaves a standalone version. Document what is so special about the shared_ptr the function returns. Mention the #include needed to get the function.
-
- Nov 08, 2014
-
-
Jö Fahlke authored
If it found an option, it now skips over the option's argument for further processing. Also, it throws an exception when the last command line argument is an option (that option cannot have an argument).
-
Jö Fahlke authored
-
Jö Fahlke authored
"C", no matter what locale is currently set.
-
Jö Fahlke authored
[parametertree][locale][fs1528] Check ParameterTree::get() with a locale using "," as the decimal seperator. ParameterTrees are usually read from configuration files. The format of the configuration file should not depend on the locale. For the commandline parser it would likewise be surprising if "progname -param 0.5" stopped working in a german locale. Not long ago these kinds of errors would not even generate a diagnosis due to FS#1527. However, the locale of the program is "C" by default, so probably not many poeple are actually affected by this problem. It can happen however that other libraries linked into the same program set the locale from the environment.
-
Jö Fahlke authored
"Makefile.in", "*.o", etc. need only be listed in the toplevel .gitignore, the rules are applied recursively. Test programs etc. should be listed as "/program" in their directory's .gitignore, so they are not accidentially ignored in a lower level directory.
-