Out-of-tree builds against the GSL
See original GitHub issue🚀 Feature
It would be great to be able to do out-of-tree builds of packages that depend on libraries such as the GSL, which are currently not included in the xbuildenv
:
Motivation
I’m trying to setup an out-of-tree CI build of the latest version of galpy
(see #2676), but it requires the GSL to build and this does not appear to be included in the xbuildenv
. So the CI job fails:
https://github.com/jobovy/galpy/runs/7958109347?check_suite_focus=true#step:6:546
Pitch
Perhaps it makes sense to have two out-of-tree xbuildenv
environments: a small one like the current one and one that includes the full WASM_LIBRARY_DIR
for people who need additional libraries. 180 MB of WASM_LIBRARY_DIR
is not small, but easily cached in CI jobs.
Alternatives
Just add the GSL to the xbuildenv
.
Issue Analytics
- State:
- Created a year ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
zproject/zproject_autotools.gsl at master · zeromq ... - GitHub
Generate autoconf files for project. #. # This is a code generator built using the iMatix GSL code generation. # language. See https://github.com/zeromq/gsl...
Read more >Building — shark documentation - Read the Docs
Among other things, cmake supports out-of-tree builds (useful to keep more than one build ... Compile against the GSL installation found under /opt/gsl:....
Read more >[Mingw-w64-public] Problem building a static gsl-1.14
When trying to build a static gsl-1.14 library with mingw64 in the MSYS shell, I start with: ... Any advice on something I...
Read more >Thread: [Mingw-w64-public] Problem building a static gsl-1.14
No problems with a dynamic build of gsl-1.14, btw ... it's just the static build that's being uncooperative. When trying to build a...
Read more >Build Instructions ... - GNU Radio Manual and C++ API Reference
Instead, rely on your operating system's package manager or binary installation process (the apt-get system in Debian and Ubuntu, yum in RedHat and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @jobovy! This was a helpful discussion. After #3109 is merged we can add a section on static libraries.
Okay, I tried this and it seems to have built in ~3min.: https://github.com/jobovy/galpy/actions/runs/3063192094/jobs/4944996224. I’ll have to take a look at the artifact later to see whether the wheel is actually correct. Thanks!