Skip to content

Commit

Permalink
Use brew to install LHAPDF on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Mar 30, 2024
1 parent 838ede0 commit 3d2cc9f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

env:
GH_TOKEN: ${{ github.token }}
LHAPDF_V: '6.4.0'

jobs:
# create a release on github
Expand Down Expand Up @@ -59,12 +58,8 @@ jobs:
- name: Compile binary
run: |
# install LHAPDF
curl "https://lhapdf.hepforge.org/downloads/?f=LHAPDF-${{ env.LHAPDF_V }}.tar.gz" | tar xzf -
cd LHAPDF-${{ env.LHAPDF_V }}
./configure --disable-python --disable-shared --enable-static
make -j V=1
make install
cd ..
brew tap davidchall/hep
brew install lhapdf
# install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-host=${{ matrix.target }}
# build the CLI
Expand Down

0 comments on commit 3d2cc9f

Please sign in to comment.