From 9693e0b33d2bc0e34c21880f0c6863e97c46bdf9 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Mon, 5 Feb 2018 10:14:51 +0100 Subject: [PATCH] move the flow_ebos_*.cpp files to the beginning of the source list these files take the longest to compile. moving them to the beginning speeds things up forn parallel builds because the remaining compile can be compiled while dealing with the flow_ebos files while the build stalls if these files are at the bottom of the list because they are required for the library. --- CMakeLists_files.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists_files.cmake b/CMakeLists_files.cmake index e173b08e8..a829d8e47 100644 --- a/CMakeLists_files.cmake +++ b/CMakeLists_files.cmake @@ -26,6 +26,11 @@ # originally generated with the command: # find opm -name '*.c*' -printf '\t%p\n' | sort list (APPEND MAIN_SOURCE_FILES + opm/simulators/flow_ebos_blackoil.cpp + opm/simulators/flow_ebos_gasoil.cpp + opm/simulators/flow_ebos_oilwater.cpp + opm/simulators/flow_ebos_polymer.cpp + opm/simulators/flow_ebos_solvent.cpp opm/autodiff/Compat.cpp opm/autodiff/ExtractParallelGridInformationToISTL.cpp opm/autodiff/NewtonIterationBlackoilCPR.cpp @@ -113,11 +118,6 @@ list (APPEND MAIN_SOURCE_FILES opm/polymer/SimulatorPolymer.cpp opm/polymer/TransportSolverTwophaseCompressiblePolymer.cpp opm/polymer/TransportSolverTwophasePolymer.cpp - opm/simulators/flow_ebos_blackoil.cpp - opm/simulators/flow_ebos_gasoil.cpp - opm/simulators/flow_ebos_oilwater.cpp - opm/simulators/flow_ebos_polymer.cpp - opm/simulators/flow_ebos_solvent.cpp opm/simulators/ensureDirectoryExists.cpp opm/simulators/SimulatorCompressibleTwophase.cpp opm/simulators/WellSwitchingLogger.cpp