Skip to content

Add support to release Linux aarch64 wheels #10

@odidev

Description

@odidev

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions