-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider provide dynamically linked precompiled binaries for macos and linux #2069
Comments
What problems would a dynamic binary solve on linux? On mac, you can't statically link anyway, so I don't understand what would change there. |
From my deep ignorance of the linux world, would not be possible to make a hls binary portable across several linux versions linking it dynamically and building it in the more compatible linux version (the lowest one?) |
The motivation is best described in #2000 (comment) Distributing dynamically linked binaries is complicated because you also need to distribute the Haskell package shared objects and any C dependencies. Moreover, you need to manipulate rpaths or use an LD_LIBRARY_PATH wrapper. |
Oh, that does not sound good, thanks for noting it 🤔 (As alternative not exclusive i've proposed add the possibility to build hls from source using ghcup: https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/201) |
Ok so this is not a good idea given our actual context and there is an alternative, building from source, which could be make easier though ghcup. |
cc @pepeiborra
The text was updated successfully, but these errors were encountered: