Open
Add aarch64 variants for ghci-snl gnu-cpu-env and gnu-cuda-env#43
Conversation
Co-authored-by: mahf708 <122953255+mahf708@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
mahf708
August 30, 2026 01:16
View session
…UI nsight-systems deps) Co-authored-by: mahf708 <122953255+mahf708@users.noreply.github.com>
Co-authored-by: mahf708 <122953255+mahf708@users.noreply.github.com>
Copilot stopped work on behalf of
mahf708 due to an error
August 30, 2026 05:15
mahf708
marked this pull request as ready for review
August 30, 2026 11:53
mahf708
approved these changes
Aug 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ghci-snlonly built x86_64 images. This adds native aarch64 equivalents:gnu-cpu-envfor macOS M1/Apple Silicon, andgnu-cuda-envfor NVIDIA aarch64 "superchip" systems (Grace Hopper/Blackwell), built on GitHub's nativeubuntu-22.04-armrunners (no QEMU).Base image
SPACK_ARCHis now a buildARGinbase/Dockerfileinstead of hardcoded, defaulting tolinux-rhel9-x86_64(unchanged behavior). aarch64 builds override it:gnu-cpu-env-aarch64
compiler/Dockerfileandfinal/gnu-cpu-env/Dockerfilealready parameterize on${SPACK_ARCH}generically. The workflow now builds this same Dockerfile a second time for aarch64.gnu-cuda-env-aarch64 (new)
final/gnu-cuda-env-aarch64/Dockerfile. spack@0.23.1 (pinned repo-wide) only packages CUDA up to 12.6, so CUDA is installed from NVIDIA's official RHEL9/SBSA repo instead ofspack install cuda@..., landing on CUDA 13.0.cupy-cuda13xwheel andtorch==2.13.0+cu130(vs. x86_64's source-builtcupyagainst spack's CUDA).CI workflow
.github/workflows/ghci-snl.yaml:base,compiler, andfinal-envjobs are now matrixed over arch, addingbase-aarch64,gnu-13.3.0-aarch64,gnu-cpu-env-aarch64, andgnu-cuda-env-aarch64tags. Intel oneAPI has no aarch64 support, sointel-cpu-envstays x86_64-only.Docs
ghci-snl/READMEdocuments the new tags and the aarch64 base-image build command.Possible follow-ups (not included here)
gnu-cuda-env/Dockerfiledeclares an unusedARG NVIDIA_DRIVER_VERSION=535; left as-is, out of scope.spack install cuda@13directly, unifying the install path across arches — deferred since Spack 1.x deprecates thepackages:all:compiler:model used repo-wide and needs broader testing.