Skip to content

Commit

Permalink
removing gfortran dependencies for builds that don't need them
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Mar 14, 2024
1 parent e72d525 commit d732ad2
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
4 changes: 0 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ RUN dnf -y update \
&& dnf -y install \
cmake \
gcc-c++ \
gcc-gfortran \
gdb \
git \
lcov \
Expand All @@ -14,9 +13,6 @@ RUN dnf -y update \
valgrind \
&& dnf clean all

# Set environment variables
ENV FC=gfortran

# Copy the musica code
COPY . musica

Expand Down
4 changes: 0 additions & 4 deletions docker/Dockerfile.memcheck
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ RUN dnf -y update \
&& dnf -y install \
cmake \
gcc-c++ \
gcc-gfortran \
gdb \
git \
lcov \
Expand All @@ -14,9 +13,6 @@ RUN dnf -y update \
valgrind \
&& dnf clean all

# Set environment variables
ENV FC=gfortran

# Copy the musica code
COPY . musica

Expand Down
2 changes: 0 additions & 2 deletions docker/Dockerfile.mpi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ WORKDIR /home/test_user
RUN sudo dnf -y install \
cmake \
gcc-c++ \
gcc-gfortran \
git \
lcov \
make \
Expand All @@ -26,7 +25,6 @@ RUN sudo dnf -y install \
ENV PATH="${PATH}:/usr/lib64/openmpi/bin/"
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib64/openmpi/lib"
ENV OMP_NUM_THREADS=3
ENV FC=gfortran

# Copy the musica code
COPY . musica/
Expand Down
2 changes: 0 additions & 2 deletions docker/Dockerfile.mpi_openmp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ WORKDIR /home/test_user
RUN sudo dnf -y install \
cmake \
gcc-c++ \
gcc-gfortran \
git \
lcov \
make \
Expand All @@ -26,7 +25,6 @@ RUN sudo dnf -y install \
ENV PATH="${PATH}:/usr/lib64/openmpi/bin/"
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib64/openmpi/lib"
ENV OMP_NUM_THREADS=3
ENV FC=gfortran

# copy the MusicBox code
COPY . musica/
Expand Down
2 changes: 0 additions & 2 deletions docker/Dockerfile.openmp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ WORKDIR /home/test_user
RUN sudo dnf -y install \
cmake \
gcc-c++ \
gcc-gfortran \
git \
lcov \
make \
Expand All @@ -25,7 +24,6 @@ RUN sudo dnf -y install \
# Set environment variables
ENV PATH="${PATH}:/usr/lib64/openmpi/bin/"
ENV OMP_NUM_THREADS=3
ENV FC=gfortran

# copy the MusicBox code
COPY . musica/
Expand Down

0 comments on commit d732ad2

Please sign in to comment.