Skip to content

Commit

Permalink
Remove AMReX_SetupCUDA. (Exawind#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Sep 17, 2024
1 parent 3a7b150 commit 95cdb96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
############################ BASE ######################################

cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
cmake_minimum_required (VERSION 3.20 FATAL_ERROR)
project(AMR-Wind CXX C)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
Expand Down
3 changes: 0 additions & 3 deletions cmake/amr-wind-utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ macro(init_amrex)
set(AMREX_SUBMOD_LOCATION "${CMAKE_SOURCE_DIR}/submods/amrex")
include(${CMAKE_SOURCE_DIR}/cmake/set_amrex_options.cmake)
list(APPEND CMAKE_MODULE_PATH "${AMREX_SUBMOD_LOCATION}/Tools/CMake")
if (AMR_WIND_ENABLE_CUDA AND (CMAKE_VERSION VERSION_LESS 3.20))
include(AMReX_SetupCUDA)
endif()
add_subdirectory(${AMREX_SUBMOD_LOCATION})
set(FCOMPARE_EXE ${CMAKE_BINARY_DIR}/submods/amrex/Tools/Plotfile/amrex_fcompare
CACHE INTERNAL "Path to fcompare executable for regression tests")
Expand Down

0 comments on commit 95cdb96

Please sign in to comment.