Add flag -tp=x86-64-v3 to CMAKE C, Fortran, and CXX flags (#6475)

* Add flag -tp=x86-64-v3 for the nvhpc workflow to stop the llvm crash
compiling dt_arith.c.
* Remove ineffective flag "-Mnovect" from nvhpc.yml.
This commit is contained in:
Larry Knox
2026-06-22 17:12:56 -05:00
committed by GitHub
parent e251b341d8
commit a9ececb61d
+3 -1
View File
@@ -76,9 +76,11 @@ jobs:
-DHDF5_BUILD_CPP_LIB:BOOL=OFF \
-DHDF5_BUILD_FORTRAN:BOOL=ON \
-DHDF5_BUILD_JAVA:BOOL=OFF \
-DCMAKE_C_FLAGS="-tp=x86-64-v3" \
-DCMAKE_Fortran_FLAGS="-tp=x86-64-v3" \
-DCMAKE_CXX_FLAGS="-tp=x86-64-v3" \
-DMPIEXEC_MAX_NUMPROCS:STRING="2" \
-DMPIEXEC_PREFLAGS:STRING="--mca;opal_warn_on_missing_libcuda;0" \
-DCMAKE_C_FLAGS="-Mnovect" \
$GITHUB_WORKSPACE
- name: Build