mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-05 06:39:54 +00:00
Merge pull request #29 from ublue-os/rocm
feat: Add ROCM-HIP and ROCM-OpenCL
This commit is contained in:
commit
ccdea07c5f
@ -54,6 +54,13 @@ RUN rpm-ostree override remove \
|
|||||||
toolbox \
|
toolbox \
|
||||||
htop
|
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 firstboot script per-profile
|
||||||
RUN mkdir -p "/usr/etc/profile.d/"
|
RUN mkdir -p "/usr/etc/profile.d/"
|
||||||
RUN ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \
|
RUN ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user