Skip to content

Commit

Permalink
Merge pull request #48 from kokkos/fix_rawhide
Browse files Browse the repository at this point in the history
fedora: drop flang-devel for F40
  • Loading branch information
junghans authored Feb 16, 2024
2 parents c90e3c2 + cdbcfd4 commit e2a8667
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 e2a8667

Please sign in to comment.