Added install-capi.sh#553
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a POSIX sh installer script for the ekore_capi release artifacts, intended to simplify installing the C/C++ interface deliverables discussed in #519.
Changes:
- Introduces
crates/ekore_capi/install-capi.shwith--version,--prefix, and--targetargument parsing plus platform-based target autodetection. - Downloads and extracts the appropriate
ekore_capi-<version>-<target>.tar.gzrelease artifact and patches the installedekore_capi.pc. - Checks for
pkg-config/pkgconfand prints guidance/warnings aboutPKG_CONFIG_PATH.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
So we would need to release to actually see if it is working or not, otherwise it is working till this step: $ ./crates/ekore_capi/install-capi.sh --prefix ~/.local
prefix: '/home/akshatrai/.local'
target: 'linux-x86_64'
version: 'v0.15.4'
URL: 'https://github.com/NNPDF/eko/releases/download/v0.15.4/ekore_capi-v0.15.4-linux-x86_64.tar.gz'
curl: (22) The requested URL returned error: 404
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting nowSecond, this |
we don't need it, I'd say, so we can drop it - but it would be only a single (random) text file, so no big harm I would say ... |
|
@cschwan @Radonirinaunimi you may want to port some of the fixes from here to PineAPPL 😇 |
A step for #519
In this PR we,
install-capi.shscript to install theekore_capireleases.