-
Notifications
You must be signed in to change notification settings - Fork 37
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
document env vars #21
Comments
It seems to me that |
You can see where I used it here: https://github.com/jimpick/utp-native-prebuilds-nodejs-mobile/blob/master/build-ios-arm64.sh#L15 I think PREBUILD_NODE_GYP was needed with the particular cross-compiling toolchain I was using (from nodejs-mobile) to get it to use a specific node-gyp path. It's been a while since I did it, and I didn't keep the prebuilds updated, but you can see where I used PREBUILD_PLATFORM here: https://github.com/jimpick/sodium-native/blob/ios-prebuild/preinstall.js#L12 I never created a PR for that fork as it was targeting a rapidly evolving toolchain from nodejs-mobile, and I didn't expect the upstream sodium-native developers to have to maintain those prebuilds (or myself, for that matter). |
@ahdinosaur As @jimpick just linked, it seems we want to use |
forking from #19, 🍴
here is an issue to document
prebuildify
's environment variables: 🌟ARCH
PLATFORM
(proposed in allow overriding platform for cross-compiling #20)PREBUILD_ARCH
PREBUILD_PLATFORM
PREBUILD_NODE_GYP
STRIP
(proposed in allow overriding strip command for cross-compilation #19)i'm also curious about the reason for both
ARCH
andPREBUILD_ARCH
, and whether we should commit to one or the other.cheers! ❤️
The text was updated successfully, but these errors were encountered: