From bab4db4b005efd478b03143615b7a183cbf8d797 Mon Sep 17 00:00:00 2001 From: Bartosz Kostrzewa Date: Thu, 2 Feb 2023 18:16:23 +0100 Subject: [PATCH] add an explicit default of 1 for recursive_jN because the current behaviour results in far too many compiler instances being launched if nothing is specified at configuration time --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eef648f0..ed88724a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ option(mpi_comms "Use plain MPI comms instead of QMP in the kernels" ON) # Codegen stuff set(host_cxx ${CMAKE_CXX_COMPILER} CACHE STRING "select target CXX Compiler for building libqphix-codegen.a" ) set(host_cxxflags ${CMAKE_CXX_FLAGS} CACHE STRING "select target CXXFLAGS for building libqphix-codege.a") -set(recursive_jN '' CACHE STRING "select -j value for recursive make (defaults to 1)") +set(recursive_jN 1 CACHE STRING "select -j value for recursive make (defaults to 1)") option(skip_build "Developer only: Reduce building of certain kernels for faster build" OFF) ###############################################################################