From 857bacdb6b7ed11701239c52418743c215f32b70 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 28 Jan 2018 17:11:49 -0500 Subject: [PATCH] Add another LAC unity file. The current unity time and memory consumption is:p debug: unity 0: 73s 2.6 GB unity 1: 68s 2.9 GB release: unity 0: 104s 2.6 GB unity 1: 94s 3.2 GB with three unity files we lower the high water mark for memory and require slightly less compilation time: debug: unity 0: 63s 2.4 GB unity 1: 37s 1.9 GB unity 2: 39s 1.8 GB release: unity 0: 87s 2.2 GB unity 1: 51s 2.0 GB unity 2: 57s 1.9 GB --- source/lac/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lac/CMakeLists.txt b/source/lac/CMakeLists.txt index e6d56c811b..defcbb0fb2 100644 --- a/source/lac/CMakeLists.txt +++ b/source/lac/CMakeLists.txt @@ -149,7 +149,7 @@ IF(DEAL_II_WITH_CUDA) ENDIF() # determined by profiling -SET(_n_includes_per_unity_file 30) +SET(_n_includes_per_unity_file 20) IF(DEAL_II_UNITY_BUILD) # sort files so that the petsc and trilinos files are not together -- 2.39.5