- Nov 22, 2013
-
-
At least Clang 3.2 complains. (cherry picked from commit d4014751) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Markus Blatt authored
This is a follow up to the previous patch. It corrects the situation for new modules created with duneproject. (cherry picked from commit a0f4d2c6) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
Previously the module path was a relative to the install directory. Because of this dependant modules did not find the macros of dune-common and cmake configure did not succeed. With this the CMake package configuration file contains the full path and the macros are found (even if there is no local dune-common lying around). (cherry picked from commit db6f61c2) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Nov 20, 2013
-
-
Markus Blatt authored
Somehow MPI was never activated for the headercheck. This patch fixes this. (cherry picked from commit fbfa416b) Signed-off-by:
Markus Blatt <markus@dr-blatt.de>
-
- Nov 18, 2013
-
-
Markus Blatt authored
-
- Nov 15, 2013
-
-
Martin Nolte authored
- Nov 13, 2013
-
-
Oliver Sander authored
-
- Oct 30, 2013
-
-
Dominic Kempf authored
The config.h entry for ENABLE_UMFPACK should be in the same module as the test for UMFPack, to avoid future conflicts with multiple modules running the test for umfpack.
-
- Oct 29, 2013
-
-
Martin Nolte authored
DenseVector is the base class of a CRTP. This is kind of an abstract class that works only if it can be casted into a derived type. Copying the base class is pointless. This patch marks the copy constructor of DenseVector private (not even implementing it), so that it cannot be called anymore. Once we have a DUNE_DELETE macro, we should use it, here. At the same time, the default constructor is marked protected, so that only derived classes can instantiate a DenseVector. Notice that this does not prevent the user from building a derivced class which does not pass itself as implementation to DenseVector. It is (to my knowledge) not possible to make CRTPs completely fail-safe.
-
Dominic Kempf authored
Cmake by default added a dependeny variable for each headercheck target. Given the amount of such targets and the fact, that these dependencies should not be changed by the user, this is unwanted behaviour. The patch fixes this by removing the variable from the cache.
-
- Oct 28, 2013
-
-
Christoph Grüninger authored
The removed lines would be necessary if the included headers or libraries would be tested. As this is not the case, they can be safely removed. The way they were used, every test tried to link to the libraries amd and umfpack causing every test to fail if the libraries are not present. The changed declaration of CMAKE_REQUIRED_* should be encapsulated together with the test inside include(CMakePushCheckState) cmake_push_check_state() and cmake_pop_check_state() to ensure that the definitions do not leak the test.
-
Christoph Grüninger authored
-
- Oct 24, 2013
-
-
Using variables as part of regex does not work with special characters. Therefore previously the headercheck failed during configure if e.g. the modules were located in $HOME/C++/. This patch fixes this by not using regex to strip the location of the modules from the path any more. This log message was amended by the pusher.
-
Oliver Sander authored
-
Oliver Sander authored
-
Oliver Sander authored
-
- Oct 23, 2013
-
-
Steffen Müthing authored
As Carsten pointed out, the hash combining algorithms doesn't work correctly for 32-bit platforms because it uses a multiplication with a 64-bit constant. This patch adds a switch for picking different algorithms based on the size of std::size_t using a new struct hash_combiner that is templated on the size of std::size_t. Right now, there are implementations for 64-bit and 32-bit platforms, both based on CityHash.
-
Markus Blatt authored
Previously a non existent file name (umfpack) was used in Makefile.am. This broke the build with the message: make[2]: *** Keine Regel vorhanden, um das Target »umfpack«, benötigt von »all-am«, zu erstellen. Schluss. make[2]: Leaving directory `/home/mblatt/src/dune/current/dune-common/build-auto/m4' This patch fixes this by using the correct name.
-
Markus Blatt authored
This patch adds test for both CMake and autotools as the build system. UMFPack is used by several dune modules (e.g. fem and istl) the only common required module by both is common. Therefore we add the test here to make it usable for all modules. BTW: These tests are taken from Dominics branch of dune-istl. Therefore he deserves the credit for them.
-
- Oct 20, 2013
-
-
Christoph Grüninger authored
Fix generated config.cmake.in which contained a surplus endif. List CMakeLists.txt and other files to be included in tarballs. Move generated files around to sort them by directory.
-
- Oct 18, 2013
-
-
Robert Kloefkorn authored
-
- Oct 17, 2013
-
-
Christoph Grüninger authored
-
- Oct 14, 2013
-
-
Steffen Müthing authored
-
- Oct 11, 2013
-
-
Christoph Grüninger authored
Thanks to Tobias Malkmus for the heads-up.
-
- Oct 09, 2013
-
-
Markus Blatt authored
Previously hidden unix files were included in the headercheck. Unfortunately emacs(server) tends to produces files such as .#<headername>. This broke the constructed Makefiles. This patch excludes such files from the list and fixes the issue.
-
Steffen Müthing authored
This patch adds a new header visibility.hh with macros DUNE_EXPORT and DUNE_PRIVATE to mark symbols as exported or private at the ABI level. While we do not explicitly mark any symbols as hidden, there are certain situations in which the compiler creates symbols with incorrect linkage, especially for singleton accessor methods for templated types and their embedded static variables, which involve the creation of weak symbols. The linker is then unable to merge those weak definitions, causing either a link-time failure (when building static libraries) or undefined runtime behaviour (dynamic libraries). This problem can be avoided by explicitly marking the singleton accessor methods as DUNE_EXPORT. For symmetry, there is also a DUNE_PRIVATE macro, but while it works, I don't see it used very much in the short term.
-
- Oct 05, 2013
-
-
- Oct 04, 2013
-
-
Oliver Sander authored
-
- Oct 02, 2013
-
-
Markus Blatt authored
We now check for METIS_PartGraphKway, which is a symbol that we are actually using and which is also in the implementation of scotch (see FS#1370)
-
Martin Nolte authored
This patch removes an extra header install command for tests. It originally came when copying dune/common/CMakeLists.txt to dune/common/std/CMakeLists.txt. Sorry for the noise.
-
Martin Nolte authored
The majority of developers favor individual headers for (emulation of) C++11 features over collecting them in a single header cxx11.hh. This patch renames cxx11.hh to constexpr.hh and moves it into the subdirectory std. This is the place most developers would like these headers in (see http://users.dune-project.org/doodles/4).
-
- Oct 01, 2013
-
-
Christian Engwer authored
we are now checking for different locations of parmetis.h. This makes it possible us the scotch parmetis implementation (see FS#1370).
-
Christian Engwer authored
we now check for METIS_PartGraphKway, which a symbol we are actually using and which is in the implementation of scotch (see FS#1370)
-
http://git.dune-project.org/repositories/dune-commonChristoph Grüninger authored
Conflicts: cmake/modules/CheckCXX11Features.cmake
-
Christoph Grüninger authored
Avoid upper case commands.
-
Christoph Grüninger authored
They do not find a package but check for a feature. This avoids false warnings about not found packages. Merged FindCXX11Conditional.cmake and FindCXX11Features.cmake.
-