From 18b668de1a7c6d44e453e894c2bb8672dd2df2c9 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 18 Feb 2018 19:00:54 -0500 Subject: [PATCH] Fix the memory usage of the /source/fe unity files. Recent changes, such as b15febd0c2, 36b74d6ee1, and fd1bf6a6f8 caused the memory usage of one of the unity files to go above 5 GB: these splits lower the high water mark to about 3 GB. --- source/fe/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/fe/CMakeLists.txt b/source/fe/CMakeLists.txt index b77b0257e4..f8fd611253 100644 --- a/source/fe/CMakeLists.txt +++ b/source/fe/CMakeLists.txt @@ -52,11 +52,8 @@ SET(_unity_include_src mapping_c1.cc mapping_cartesian.cc mapping.cc - mapping_q_generic.cc mapping_q1.cc - mapping_q1_eulerian.cc mapping_q.cc - mapping_q_eulerian.cc mapping_manifold.cc ) @@ -71,10 +68,13 @@ SET(_separate_src mapping_fe_field_inst2.cc fe_tools_interpolate.cc fe_tools_extrapolate.cc + mapping_q_generic.cc + mapping_q1_eulerian.cc + mapping_q_eulerian.cc ) # determined by profiling -SET(_n_includes_per_unity_file 15) +SET(_n_includes_per_unity_file 10) SETUP_SOURCE_LIST("${_unity_include_src}" "${_separate_src}" -- 2.39.5