Open cschwan opened 3 months ago
We now have a first candidate of the CLI built for v0.7.4
, however the static linking doesn't work properly on Linux. To fix this, we should try to link to LHAPDF only in managed-lhapdf
and not in pineappl_applgrid
. We're also linking to LHAPDF in pineappl_fastnlo
, but there it's probably unavoidable.
To fix this, we should try to link to LHAPDF only in
managed-lhapdf
and not inpineappl_applgrid
.
This has been fixed in commit 8efeeffac3f010fd85fa2a4d5b1e599bbbc871b8, however, this doesn't solve the problem.
Commits ed74eca5eb41c4f06add7b60e495a5ded5138581, 3965a9deda11b0cb6f61d3c5036d9903fbe45f3d and f564ac5f01af7ea3add2962a48c76f404ca070af fix the remaining linking problems on Linux.
We currently build the CLI when making a release, but there are a few items to be done:
install-cli.sh
similar to ourinstall-cli.sh
installation script; implemented in commit 29fd4408366e73d4dd1371a21bf1ccd04d375653install-cli.sh
macOS hasfixed in #269--features=applgrid,fastnlo
currently not enabled, and therefore importing APPLgrids and fastNLO tables will not work on macOS.root
format, for which we'd need to install ROOT in the container. Furthermore, we'd need to link everything statically, which I'm not sure is possible