Skip to content
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

📦 NEW: Support libc field on conditions install #387

Merged
merged 2 commits into from
Mar 20, 2022
Merged

📦 NEW: Support libc field on conditions install #387

merged 2 commits into from
Mar 20, 2022

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Mar 19, 2022

closes #386

@fengmk2 fengmk2 merged commit a34f2b4 into master Mar 20, 2022
@fengmk2 fengmk2 deleted the libc branch March 20, 2022 00:21
@fengmk2
Copy link
Member Author

fengmk2 commented Mar 20, 2022

5.6.0

yisibl added a commit to thx/resvg-js that referenced this pull request Mar 20, 2022
Currently only [yarn 3.2+](yarnpkg/berry#3981) and [cnpm](cnpm/npminstall#387) are supported.
yisibl added a commit to thx/resvg-js that referenced this pull request Mar 20, 2022
On Linux, it is not possible to tell exactly what kind of C library a native modules depends on just by os/cpu, so yarn 3.2 and cnpm added libc fields to further distinguish this case. This avoids downloading both `gnu` and `musl` packages at the same time.

Currently only [yarn 3.2+](yarnpkg/berry#3981) and [cnpm](cnpm/npminstall#387) are supported, the npm implementation is [still under discussion](npm/rfcs#519).
yisibl added a commit to thx/resvg-js that referenced this pull request Mar 20, 2022
On Linux, it is not possible to tell exactly what kind of C library a native modules depends on just by os/cpu, so yarn 3.2 and cnpm added libc fields to further distinguish this case. This avoids downloading both `gnu` and `musl` packages at the same time.

Currently only [yarn 3.2+](yarnpkg/berry#3981) and [cnpm](cnpm/npminstall#387) are supported, the npm implementation is [still under discussion](npm/rfcs#519).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

支持 libc 版本配置
1 participant