@@ -470,10 +470,10 @@ jobs:
470470
471471
472472 # Testing on Ubuntu + NVHPC (previous PGI) compilers, which seems to require more workarounds
473- ubuntu-nvhpc7 :
473+ ubuntu-nvhpc :
474474 if : github.event.pull_request.draft == false
475- runs-on : ubuntu-22 .04
476- name : " 🐍 3 • NVHPC 23.5 • C++17 • x64"
475+ runs-on : ubuntu-24 .04
476+ name : " 🐍 3 • NVHPC 25.11 • C++17 • x64"
477477 timeout-minutes : 90
478478
479479 env :
@@ -491,7 +491,7 @@ jobs:
491491 run : |
492492 sudo apt-get update -y && \
493493 sudo apt-get install -y cmake environment-modules git python3-dev python3-pip python3-numpy && \
494- sudo apt-get install -y --no-install-recommends nvhpc-23-5 && \
494+ sudo apt-get install -y --no-install-recommends nvhpc-25-11 && \
495495 sudo rm -rf /var/lib/apt/lists/*
496496 python3 -m pip install --upgrade pip
497497 python3 -m pip install --upgrade pytest
@@ -502,15 +502,15 @@ jobs:
502502 shell : bash
503503 run : |
504504 source /etc/profile.d/modules.sh
505- module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/23.5
505+ module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/25.11
506506 cmake -S . -B build -DDOWNLOAD_CATCH=ON \
507507 -DCMAKE_CXX_STANDARD=17 \
508508 -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \
509509 -DCMAKE_CXX_FLAGS="-Wc,--pending_instantiations=0" \
510510 -DPYBIND11_TEST_FILTER="test_smart_ptr.cpp"
511511
512512 - name : Build
513- run : cmake --build build -j 2 --verbose
513+ run : cmake --build build -j $(nproc) --verbose
514514
515515 - name : Python tests
516516 run : cmake --build build --target pytest
0 commit comments