Skip to content

Commit

Permalink
add Delta CPU configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking committed Aug 14, 2023
1 parent 8364126 commit 3e48b79
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cmake/delta_gcc_cpu.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# host configuration
# run with `cmake -C host_config.cmake ..` from inside build directory

set(CMAKE_C_COMPILER "gcc" CACHE PATH "")
set(CMAKE_CXX_COMPILER "g++" CACHE PATH "")
set(AMReX_GPU_BACKEND NONE CACHE STRING "")
set(AMReX_SPACEDIM 3 CACHE STRING "")
set(AMReX_ASCENT OFF CACHE BOOL "")
set(AMReX_CONDUIT OFF CACHE BOOL "")

option(QUOKKA_PYTHON OFF)
set(CMAKE_CXX_FLAGS_DEBUG "-gdwarf-4 -O0 -ggdb -DNDEBUG" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-gdwarf-4 -O2 -ggdb -DNDEBUG" CACHE STRING "" FORCE)

0 comments on commit 3e48b79

Please sign in to comment.