Merge pull request #29 from ublue-os/rocm

feat: Add ROCM-HIP and ROCM-OpenCL
This commit is contained in:
Kyle Gospodnetich 2023-07-06 15:29:47 -07:00 committed by GitHub
commit ccdea07c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,13 @@ RUN rpm-ostree override remove \
toolbox \
htop
# Install ROCM on non-Nvidia images
RUN if grep -v "nvidia" <<< "${IMAGE_NAME}"; then \
rpm-ostree install \
rocm-hip \
rocm-opencl \
; fi
# Run firstboot script per-profile
RUN mkdir -p "/usr/etc/profile.d/"
RUN ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \