Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • jakub.both/dune-common
  • samuel.burbulla/dune-common
  • patrick.jaap/dune-common
  • tobias.leibner/dune-common
  • alexander.mueller/dune-common
  • pipping/dune-common
  • Xinyun.Li/dune-common
  • felix.schindler/dune-common
  • simon.praetorius/dune-common
  • ani.anciaux-sedrakian/dune-common
  • henrik.stolzmann/dune-common
  • matthew.t.collins/dune-common
  • liam.keegan/dune-common
  • felix.mueller/dune-common
  • ansgar/dune-common
  • dominic/dune-common
  • lars.lubkoll/dune-common
  • exadune/dune-common
  • felix.gruber/dune-common
  • govind.sahai/dune-common
  • michael.sghaier/dune-common
  • core/dune-common
  • kilian.weishaupt/dune-common
  • markus.blatt/dune-common
  • joscha.podlesny/dune-common
  • tobias.meyer.andersen/dune-common
  • andreas.thune/dune-common
  • lars.bilke/dune-common
  • daniel.kienle/dune-common
  • lukas.renelt/dune-common
  • smuething/dune-common
  • stephan.hilb/dune-common
  • tkoch/dune-common
  • nils.dreier/dune-common
  • rene.milk/dune-common
  • lasse.hinrichsen/dune-common
  • yunus.sevinchan/dune-common
  • lisa_julia.nebel/dune-common
  • claus-justus.heine/dune-common
  • lorenzo.cerrone/dune-common
  • eduardo.bueno/dune-common
41 results
Show changes
......@@ -4,11 +4,6 @@ add_subdirectory("std")
add_subdirectory("test")
#build the library dunecommon
if(LAPACK_FOUND)
set(_additional_libs ${LAPACK_LIBRARIES})
elseif(BLAS_FOUND)
set(_additional_libs ${BLAS_LIBRARIES})
endif(LAPACK_FOUND)
if(HAVE_MPROTECT)
set(debugallocator_src "debugallocator.cc")
......@@ -25,10 +20,11 @@ dune_add_library("dunecommon"
path.cc
simd/test.cc
stdstreams.cc
stdthread.cc
ADD_LIBS "${_additional_libs}")
stdthread.cc)
add_dune_blas_lapack_flags(dunecommon)
add_dune_tbb_flags(dunecommon)
#install headers
install(FILES
alignedallocator.hh
......
......@@ -14,7 +14,8 @@
#include <typeinfo>
#include <type_traits>
#if HAVE_CXA_DEMANGLE
#if __has_include(<cxxabi.h>) && !DISABLE_CXA_DEMANGLE
#define HAVE_CXA_DEMANGLE 1
#include <cxxabi.h>
#endif // #if HAVE_CXA_DEMANGLE
......
......@@ -71,13 +71,12 @@ dune_add_test(NAME check_fvector_size_fail2
dune_add_test(NAME classnametest-demangled
SOURCES classnametest.cc
LINK_LIBRARIES dunecommon
CMAKE_GUARD HAVE_CXA_DEMANGLE
LABELS quick)
dune_add_test(NAME classnametest-fallback
SOURCES classnametest.cc
LINK_LIBRARIES dunecommon
COMPILE_DEFINITIONS BASICCHECK
COMPILE_DEFINITIONS DISABLE_CXA_DEMANGLE
LABELS quick)
dune_add_test(SOURCES concept.cc
......
......@@ -131,7 +131,7 @@ int main()
checkname(t, Dune::className(Base{}), {}, R"(\bBase\b)");
std::cout << std::endl;
#if BASICCHECK
#if !HAVE_CXA_DEMANGLE
// in this case we only make sure that no segfault or similar happens
return 0;
#else
......