We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4fac1 commit 2993a73Copy full SHA for 2993a73
cmake/cc.cmake
@@ -65,6 +65,14 @@ if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI")
65
endif ()
66
67
68
+if (${CMAKE_C_COMPILER_ID} STREQUAL "NVHPC")
69
+ if (POWER)
70
+ set(CCOMMON_OPT "${CCOMMON_OPT} -tp pwr8")
71
+ else ()
72
+ set(CCOMMON_OPT "${CCOMMON_OPT} -tp px")
73
+ endif ()
74
+endif ()
75
+
76
if (${CMAKE_C_COMPILER_ID} STREQUAL "PATHSCALE")
77
if (BINARY64)
78
set(CCOMMON_OPT "${CCOMMON_OPT} -m64")
0 commit comments