Comments (7)
Sorry, I didn’t clearly explain my requirements. I am working on a CentOS 6.3 server, and the system’s built-in glibc doesn’t support GLIBC_2.34. So, is there a musl version of eget that can be released?
from eget.
Could you elaborate on what you mean?
from eget.
I guess the OP is referring to cases where binaries are provided for glibc and musl systems. e.g. https://github.com/sharkdp/fd/releases/tag/v10.1.0
When I eget sharkdp/fd
, I have to chose if I want the musl or glibc version.
It would be cool, if eget could figure out on what kind of system it runs and pick accordingly, if there are multiple choices.
If neither gnu or musl is present in the asset string, it is 99% accurate to assume the asset is for glibc.
from eget.
@benjaminbauer eget already does system detection. There's no clear winner among libc/musl. You might want either depending on the conditions.
For cases where I know the musl build works fine, I usually do: eget sharkdp/fd -a musl
from eget.
@dufferzafar I am aware of the system detection in terms of OS family and CPU architecture. But the used syscall lib is missing imo. For the majority of linux users/setups it is very clear if they are using musl or glibc, think debian or alpine. Only in a development setup one might have both present. I assume even then, the linker present in the path will use one or the other without explicit configuration.
My (medium) hassle with this in combination with eget is, that I use eget as a cross platform package manger with a central eget.toml. In the cases where a musl asset is present in the release, I have to explicitly select gnu
/glibc
for linux systems. I also run eget on MacOs, making my eget.toml more messy (if linux, then asset = ["gnu"] - the if is via chezmoi).
Also I cannot set the asset filter globally on linux, because repos that do not have a musl release, also usually do not have gnu
/glibc
explicitly in the release asset name.
from eget.
Ah, the builds are supposed to be made statically but it looks like in the latest release there was a problem, I will reupload a static version.
from eget.
I just updated the 1.3.4 Linux AMD64 binary (the only non-static binary) on the releases page.
from eget.
Related Issues (20)
- eget downloads vscode extension rather than binary HOT 1
- cache downloads to avoid redownloading if unchanged
- Allows alias for target in configuration file
- Rename a file without specifying the dir to place it in
- Allow to read GitHub token from a file HOT 4
- GitLab support and non-public GitHub/GitLab instances HOT 3
- Bad configuration files are silently ignored HOT 2
- [Request] Provide Binaries for Android
- How to download several files for asset?
- Library Usage HOT 3
- Target folder expansion does not work HOT 1
- Download latest tag if latest not found HOT 2
- Eget.toml completely ignored HOT 3
- Fetch more than one archive from a repository?
- Bug: `EGET_BIN` seems to be ignored
- Still maintained? HOT 4
- toml file blues: even the example from the manpage does not work HOT 1
- Weird behaviour when using 'file' in config HOT 1
- Support Github Action
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eget.