From 9cee4e92a8908685f1534986f9151a712b46975d Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 22 Sep 2014 13:35:34 +0100 Subject: [PATCH] Disable optimization and debugging flags for CSGCGALMeshGenerator3D.cpp Forwarded: not-needed Last-Update: 2012-12-14 This is a workaround for a g++ 4.8.2 issue which eats all the RAM of the buildds. See https://buildd.debian.org/status/fetch.php?pkg=dolfin&arch=armhf&ver=1.2.0%2Bdfsg-3%2Bb1&stamp=1386829168 for example. Last-Update: 2012-12-14 Gbp-Pq: Name CSGCGALMeshGenerator3D-oom.patch --- dolfin/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dolfin/CMakeLists.txt b/dolfin/CMakeLists.txt index cf6e90e..e6a2f1e 100644 --- a/dolfin/CMakeLists.txt +++ b/dolfin/CMakeLists.txt @@ -286,6 +286,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DOLFIN_CXX_FLAGS}") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${DOLFIN_LINK_FLAGS}") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${DOLFIN_LINK_FLAGS}") +set_source_files_properties(generation/CSGCGALMeshGenerator3D.cpp PROPERTIES COMPILE_FLAGS "-O0 -g0") + # Define libraries add_library(dolfin ${DOLFIN_H} ${HEADERS} ${SOURCES}) set_target_properties(dolfin PROPERTIES ${DOLFIN_LIBRARY_PROPERTIES}) -- 2.30.2