Skip to content

Commit

Permalink
Add hint for gfortran
Browse files Browse the repository at this point in the history
  • Loading branch information
sfegan committed Mar 7, 2025
1 parent 705abd6 commit fea1536
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/native-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
libhdf5-dev hdf5-tools \
libboost-all-dev libcli11-dev libeigen3-dev libre2-dev liblz4-dev \
zlib1g-dev nlohmann-json3-dev \
gfortran ${{ matrix.compiler[2] }}
${{ matrix.compiler[2] }}
curl -L https://github.com/llr-cta/CTA_ADH_APIS_Build/releases/download/${{matrix.os}}/cta_adh_apis_installed.tgz | sudo tar -zxf - -C /
curl -L https://github.com/llr-cta/Geant4Build/releases/download/${{matrix.os}}-${{matrix.geant}}-OFF/Geant4-${{matrix.os}}-${{matrix.geant}}-OFF.tbz2 | sudo tar -jxf - -C /
curl -L https://github.com/llr-cta/Corsika8Build/releases/download/ubuntu-22.04/corsika8_installed.tgz | sudo tar -zxf - -C /
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/singularity-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
libhdf5-dev hdf5-tools \
libboost-all-dev libcli11-dev libeigen3-dev libre2-dev liblz4-dev \
zlib1g-dev nlohmann-json3-dev \
libseccomp-dev pkg-config libfuse3-dev gfortran
libseccomp-dev pkg-config libfuse3-dev
sudo pip3 install --upgrade pip
sudo pip3 install numpy
curl -L https://github.com/llr-cta/CTA_ADH_APIS_Build/releases/download/${{matrix.os}}/cta_adh_apis_installed.tgz | sudo tar -zxf - -C /
Expand Down
2 changes: 1 addition & 1 deletion CMakeModules/FindCORSIKA8.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ find_library ( FMT_LIBRARY NAMES fmt HINTS ${CORSIKA8_DIR} )
find_library ( YAML_CPP_LIBRARY NAMES yaml-cpp HINTS ${CORSIKA8_DIR} )
find_library ( YAML_LIBRARY NAMES yaml HINTS ${CORSIKA8_DIR} )
# find_library ( BZ2_LIBRARY NAMES -lbz2 HINTS ${CORSIKA8_DIR} )
find_library ( GFORTRAN_LIBRARY NAMES gfortran HINTS ${CORSIKA8_DIR} /opt/local/lib/gcc13 )
find_library ( GFORTRAN_LIBRARY NAMES gfortran HINTS ${CORSIKA8_DIR} /opt/local/lib/gcc13 /usr/lib/gcc/x86_64-linux-gnu/11 )

set ( CORSIKA8_LIBRARIES
${CORSIKA8_DATA_LIBRARY}
Expand Down
3 changes: 1 addition & 2 deletions singularity_build.def
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ From: ubuntu:22.04
hdf5-tools \
libre2-dev \
libboost-all-dev \
libutf8proc2 \
gfortran
libutf8proc2

apt-get -y autoremove
apt-get -y clean
Expand Down

0 comments on commit fea1536

Please sign in to comment.