Skip to content

src directory missing when building chaquopy-llvm #1056

@Peter9897

Description

@Peter9897

I want to build a wheel for llvmlite, but that requieres chaquopy-llvm to be built. The version i want to use needs a newer version of chaquopy-llvm, so i tried to build that aswell. After hours of adapting the patches to the newer version (why did they have to change all file paths???) the build failed with Unknown triple 'llvm', which was is raised by the build.sh. It tries to get a triple triple=$(basename $AR | sed 's/-ar$//') to determine what to build for. I manually set the triple to "ARM", because i want to build for android abi. However after that the build fails with CMake being unable to find the /src folder, that indeed doesnt exist. All the folders where created before, as i can see in the log output, but then suddenly it doesnt exist anymore.
The error message is:

build-wheel: /home/default/Coding/chaquopy/server/pypi/packages/chaquopy-llvm/build.sh
Unknown triple 'llvm'
CMake Error: The source directory "/home/default/Coding/chaquopy/server/pypi/packages/chaquopy-llvm/build/14.0.0/py3-none-android_21_armeabi_v7a/src" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
build-wheel: Error: Command '['/home/default/Coding/chaquopy/server/pypi/packages/chaquopy-llvm/build.sh']' returned non-zero exit status 1.

Why is that, how can i fix that, or will there be newer versions prebuilt available soon?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions