Skip to content

Commit

Permalink
Merge branch 'main' into update_actions_versions
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans authored Feb 18, 2024
2 parents 303ced4 + e2a8667 commit 59b5395
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fedora
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ ARG INTEL

RUN ( dnf -y update || dnf -y update ) && \
dnf -y install \
make cmake git gcc-c++ gcc-gfortran ccache vim-minimal clang llvm compiler-rt sudo clang-tools-extra ninja-build libomp-devel wget zstd hwloc-devel flang flang-devel hpx-devel && \
make cmake git gcc-c++ gcc-gfortran ccache vim-minimal clang llvm compiler-rt sudo clang-tools-extra ninja-build libomp-devel wget zstd hwloc-devel flang hpx-devel && \
dnf clean all

RUN source /etc/os-release && if [ "${VERSION_ID}" -lt 40 ]; then \
( dnf -y update || dnf -y update ) && \
dnf -y install flang-devel && \
dnf clean all; \
fi

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 -y update && \
Expand Down

0 comments on commit 59b5395

Please sign in to comment.