question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:

https://github.com/pyodide/pyodide/blob/fdf39f89efe0308ee091e884c151ce57fbe3168f/pyodide-build/pyodide_build/create_xbuildenv.py#L59-L64

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:closed
  • Created a year ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
hoodmanecommented, Sep 16, 2022

Thanks @jobovy! This was a helpful discussion. After #3109 is merged we can add a section on static libraries.

1reaction
jobovycommented, Sep 15, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found