Closed vweevers closed 5 years ago
See also https://github.com/Level/leveldown/pull/587#issuecomment-457943370. They must have:
ENV GYP_DEFINES target_arch=arm(64) android_target_arch=arm(64) host_os=linux OS=android.
ENV GYP_DEFINES target_arch=arm(64) android_target_arch=arm(64) host_os=linux OS=android
Note:
GYP_DEFINES=
GYP_DEFINES<space>
OS
target_arch
ARCH
We might not need target_arch since prebuildify sets it here https://github.com/prebuild/prebuildify/blob/master/index.js#L124
prebuildify
https://github.com/prebuild/docker-images/commit/dc3a112ee2c61115d856a687c1d7380bd1884cd2 and https://github.com/prebuild/docker-images/commit/bd98af328403fde7e1037406632268c98603fafe
See also https://github.com/Level/leveldown/pull/587#issuecomment-457943370. They must have:
ENV GYP_DEFINES target_arch=arm(64) android_target_arch=arm(64) host_os=linux OS=android
.Note:
GYP_DEFINES=
form, rather thanGYP_DEFINES<space>
OS
must be uppercasetarget_arch
might not be necessary, because we're also passing anARCH
(I didn't test without yet)