From: David Wells Date: Sun, 28 Jan 2018 22:11:49 +0000 (-0500) Subject: Add another LAC unity file. X-Git-Tag: v9.0.0-rc1~464^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=857bacdb6b7ed11701239c52418743c215f32b70;p=dealii.git 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 --- 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