Skip to content

Commit

Permalink
Fix library installation directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Oct 4, 2024
1 parent e6a2dea commit 49e1c08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/capi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:

- name: Install PineAPPL's C API
run: |
export RUSTFLAGS="-Cinstrument-coverage"
cargo cinstall --verbose --prefix=/usr/local/ --manifest-path pineappl_capi/Cargo.toml
cargo cinstall --verbose --prefix=/usr/local/ --libdir=lib --manifest-path pineappl_capi/Cargo.toml
ldconfig
- name: Test C++ example
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ If you want to build the CAPI from its sources instead, you first need to
3. Now install `pineappl_capi`, PineAPPL's C API:

cd pineappl_capi
cargo cinstall --release --prefix=${prefix}
cargo cinstall --release --prefix=${prefix} --libdir=lib
cd ..

where `${prefix}` points to the desired installation directory.
Expand Down

0 comments on commit 49e1c08

Please sign in to comment.