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
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?
The text was updated successfully, but these errors were encountered:
mhsmith
changed the title
src is directory missing
src directory missing when building chaquopy-llvm
Dec 17, 2023
I can't answer this question unless you give the actual error message.
However, by coincidence I tried to build the current version of chaquopy-llvm myself today, and it looks like I got a bit further. See #1057, which requires the current build-wheel version from the master branch. If you make any more progress, please post it there.
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 tripletriple=$(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:
Why is that, how can i fix that, or will there be newer versions prebuilt available soon?
The text was updated successfully, but these errors were encountered: