Skip to content

Commit

Permalink
fedora: add intel repo the modern way
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans authored Apr 21, 2023
1 parent bcccc60 commit a7f1fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedora
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN ( dnf -y update || dnf -y update ) && \
dnf clean all

RUN if [ "${INTEL}" = "yes" ]; then \
printf "[oneAPI]\nname=Intel oneAPI\nbaseurl=https://yum.repos.intel.com/oneapi\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB" > /etc/yum.repos.d/intel-oneapi.repo && \
dnf config-manager --add-repo https://yum.repos.intel.com/setup/intelproducts.repo && \
dnf -y update && \
dnf -y install intel-oneapi-compiler-dpcpp-cpp intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-mkl-devel && \
dnf clean all; \
Expand Down

0 comments on commit a7f1fce

Please sign in to comment.