You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GOOS="linux" GOARCH="arm" CC="zig cc -target arm-linux-gnueabihf" CXX="zig c++ -target arm-linux-gnueabihf" pip install . --verbose
$ file hugo/binaries/hugo-0.125.4-linux-arm
hugo/binaries/hugo-0.125.4-linux-arm: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.0.0, Go BuildID=TX-w-GW3H2PIoecBQRJC/9HvNTwqeMg5V_2uDiH1p/_3cfgjL9X767uJIllyc0/_Xa3wcRb3oxUbe7StWYV, with debug_info, not stripped
https://go.dev/wiki/GoArm#supported-architectures says that GOARM will be picked up for native compilation if done on the piwheels index end. Otherwise, it should be wise to add GOARM="7" to the command when using Zig. Outputs were identical with the above one from file.
Cross-compilation not enabled yet (and not yet for s390x or ppc64le either) edit: enabled now
Based on https://launchpad.net/~gohugoio/+snap/hugo-dev, two additional architectures: PowerPC (
ppc64le
and armhf (most likelyarmv7l
) can be added.ppc64le
) #92manylinux
due to the absence of CI runners (ARM builds? pypa/manylinux#1405, feature: add musllinux_1_2_armv7l pypa/manylinux#1455), and subsequentlycibuildwheel
(arm32 / armv7l wheels pypa/cibuildwheel#1421), or they need to be built withZig
(Cross-compile builds pypa/manylinux#1125), and those are some which I won't be publishing to PyPI at this time, even though thepowerpc64le-linux-gnu
target triplet is working).The text was updated successfully, but these errors were encountered: