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

Add support to release Linux aarch64 wheels #10

Open
odidev opened this issue Sep 27, 2021 · 2 comments
Open

Add support to release Linux aarch64 wheels #10

odidev opened this issue Sep 27, 2021 · 2 comments
Assignees

Comments

@odidev
Copy link

odidev commented Sep 27, 2021

Problem

On aarch64, ‘pip install gpudb’ builds the wheels from source code but it is giving the below error -

aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c protocol/avro.c -o build/temp.linux-aarch64-3.8/protocol/avro.o
    In file included from protocol/avro.c:1:
    protocol/avro.h:9:10: fatal error: platform.h: No such file or directory
        9 | #include "platform.h"
          |          ^~~~~~~~~~~~
    compilation terminated.
    error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6tendebf/gpudb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6tendebf/gpudb/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mqtva36w/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/gpudb Check the logs for full command output.

Resolution

On aarch64, ‘pip install gpudb’ should download the wheels from pypi

@kylesutton and team Please let me know your interest in releasing aarch64 wheels. I can help in this. To start with can you please suggest the steps you are using for building the wheel.

@odidev
Copy link
Author

odidev commented Feb 9, 2022

@root can you please let me know your interest in releasing aarch64 wheels

@kylesutton
Copy link
Contributor

@odidev - we've added more wheels to widen the support for the API. Let me know if there's still no match for your system.

Thanks,
Kyle

@kylesutton kylesutton self-assigned this Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants