From 16c0e4df712f151295942a7bc82fbb1a6d46fa19 Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Wed, 6 Nov 2024 16:54:51 -0800 Subject: [PATCH] Use `-g1` to reduce cache size --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c4986f7fa0..8ff14bacfa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,7 @@ mark_as_advanced(WarpX_TEST_FPETRAP) option(WarpX_TEST_DEBUG "Run CI tests with the -g compile option" OFF) mark_as_advanced(WarpX_TEST_DEBUG) if(WarpX_TEST_DEBUG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g1") endif() set(WarpX_DIMS_VALUES 1 2 3 RZ)