From d98196cf7a95921b9488cdde6232f31b35f3217c Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 18 Apr 2020 12:57:06 -0400 Subject: [PATCH] Tweak the settings for unity builds slightly. These two unity files had large (3.4 GB for fe/unity_3.cc, 5.4 GB for grid/unity_0.cc) maximum resident set sizes. --- source/fe/CMakeLists.txt | 2 +- source/grid/CMakeLists.txt | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/fe/CMakeLists.txt b/source/fe/CMakeLists.txt index 2beb067421..c9dd9761a9 100644 --- a/source/fe/CMakeLists.txt +++ b/source/fe/CMakeLists.txt @@ -51,7 +51,6 @@ SET(_unity_include_src fe_series_legendre.cc fe_system.cc fe_enriched.cc - fe_tools.cc fe_trace.cc mapping_c1.cc mapping_cartesian.cc @@ -72,6 +71,7 @@ SET(_separate_src fe_values_inst6.cc mapping_fe_field.cc mapping_fe_field_inst2.cc + fe_tools.cc fe_tools_interpolate.cc fe_tools_extrapolate.cc mapping_q_generic.cc diff --git a/source/grid/CMakeLists.txt b/source/grid/CMakeLists.txt index 5fe419f856..f33e978527 100644 --- a/source/grid/CMakeLists.txt +++ b/source/grid/CMakeLists.txt @@ -17,12 +17,8 @@ INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_BINARY_DIR}) SET(_unity_include_src cell_id.cc - grid_generator.cc - grid_generator_from_name.cc - grid_in.cc - grid_out.cc grid_refinement.cc - grid_tools_cache.cc + grid_reordering.cc intergrid_map.cc manifold.cc manifold_lib.cc @@ -35,8 +31,12 @@ SET(_unity_include_src ) SET(_separate_src - grid_reordering.cc + grid_generator_from_name.cc + grid_in.cc + grid_out.cc + grid_generator.cc grid_tools.cc + grid_tools_cache.cc grid_tools_dof_handlers.cc tria.cc ) -- 2.39.5