Skip to content

Commit 75dc93e

Browse files
authored
CMake v3.20+ no longer labels NVHPC as PGI. (BlueBrain/CoreNeuron#543)
CoreNEURON Repo SHA: BlueBrain/CoreNeuron@c596fa3
1 parent 7d95221 commit 75dc93e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/coreneuron/OpenAccHelper.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if(CORENRN_ENABLE_GPU)
2323
endif()
2424

2525
# various flags for PGI compiler with GPU build
26-
if(${CMAKE_C_COMPILER_ID} STREQUAL "PGI")
26+
if(${CMAKE_C_COMPILER_ID} STREQUAL "PGI" OR ${CMAKE_C_COMPILER_ID} STREQUAL "NVHPC")
2727

2828
# workaround for old PGI version
2929
set(PGI_ACC_FLAGS "-acc")

0 commit comments

Comments
 (0)