Skip to content

Commit 003ed3e

Browse files
committed
fix: upgrade NVHPC 23.11→24.5 and fix ARM compiler path for GPU Docker builds
1 parent 6a012f8 commit 003ed3e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
config:
2323
- { name: 'cpu', runner: 'ubuntu-22.04', base_image: 'ubuntu:22.04' }
2424
- { name: 'cpu', runner: 'ubuntu-22.04-arm', base_image: 'ubuntu:22.04' }
25-
- { name: 'gpu', runner: 'ubuntu-22.04', base_image: 'nvcr.io/nvidia/nvhpc:23.11-devel-cuda_multi-ubuntu22.04' }
26-
- { name: 'gpu', runner: 'ubuntu-22.04-arm', base_image: 'nvcr.io/nvidia/nvhpc:23.11-devel-cuda_multi-ubuntu22.04' }
25+
- { name: 'gpu', runner: 'ubuntu-22.04', base_image: 'nvcr.io/nvidia/nvhpc:24.5-devel-cuda_multi-ubuntu22.04', compiler_arch: 'Linux_x86_64' }
26+
- { name: 'gpu', runner: 'ubuntu-22.04-arm', base_image: 'nvcr.io/nvidia/nvhpc:24.5-devel-cuda_multi-ubuntu22.04', compiler_arch: 'Linux_aarch64' }
2727
runs-on: ${{ matrix.config.runner }}
2828
outputs:
2929
tag: ${{ steps.clone.outputs.tag }}
@@ -108,8 +108,8 @@ jobs:
108108
CC_COMPILER=${{ 'nvc' }}
109109
CXX_COMPILER=${{ 'nvc++' }}
110110
FC_COMPILER=${{ 'nvfortran' }}
111-
COMPILER_PATH=${{ '/opt/nvidia/hpc_sdk/Linux_x86_64/compilers/bin' }}
112-
COMPILER_LD_LIBRARY_PATH=${{ '/opt/nvidia/hpc_sdk/Linux_x86_64/compilers/lib' }}
111+
COMPILER_PATH=/opt/nvidia/hpc_sdk/${{ matrix.config.compiler_arch }}/compilers/bin
112+
COMPILER_LD_LIBRARY_PATH=/opt/nvidia/hpc_sdk/${{ matrix.config.compiler_arch }}/compilers/lib
113113
tags: ${{ secrets.DOCKERHUB_USERNAME }}/mfc:${{ env.TAG }}-${{ matrix.config.name }}-${{ matrix.config.runner}}
114114
push: true
115115

0 commit comments

Comments
 (0)