Skip to content

Commit

Permalink
shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Dec 4, 2023
1 parent 3e43054 commit 57cd766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
git clone https://github.com/Geant4/geant4.git ${{ github.workspace }}/geant4-source --depth 1 --branch v${{ matrix.geant4-version }}
mkdir -p ${{ github.workspace }}/geant4-source/build mkdir -p ${{ github.workspace }}/geant4
cd ${{ github.workspace }}/geant4-source/build
cmake .. -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/geant4 -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=Release -DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_EXAMPLES=OFF -DGEANT4_INSTALL_DATA=OFF -DGEANT4_BUILD_TLS_MODEL=global-dynamic -DCXXFLAGS="-fPIC" -DCFLAGS="-fPIC" -DGEANT4_USE_SYSTEM_EXPAT=OFF -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF
cmake .. -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/geant4 -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=Release -DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_EXAMPLES=OFF -DGEANT4_INSTALL_DATA=OFF -DGEANT4_BUILD_TLS_MODEL=global-dynamic -DCXXFLAGS="-fPIC" -DCFLAGS="-fPIC" -DGEANT4_USE_SYSTEM_EXPAT=OFF
make install -j$(nproc)
install-geant4-datasets:
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y build-essential git curl libxerces-c-dev
sudo apt-get install -y libxerces-c-dev
python -m pip install cmake
- name: Install additional dependencies (macos)
Expand Down

0 comments on commit 57cd766

Please sign in to comment.