-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Building on Arm64 (Jetpack 5.1.1) #7916
Comments
Hi @oliver-batchelor ! The warning seems to be related to a mismatch in the following inline assembly code in asm volatile("match.any.sync.b64 %0, %1, %2;"
: "=r"(ret)
: "l"(value), "r"(mask));
return ret; Please try to change the |
Thanks! It works like a charm. |
Is this a change which can be committed or will it break other architectures? |
You can submit a PR changing this and we can trigger a CI run for you |
Issue: #7916 ### Brief Summary This was a suggested fix for building taichi on arm64 on a jetson.
Hello,Did you successfully compile the library under the ARM architecture in the end? |
On a fresh install on a Jetson Xavier AGX with Jetpack 5.1.1-b56, I have installed llvm-15 via. conda (conda-forge) and built it in a conda environment with python 3.9. This same method has worked for building from source for me previously on x86. The error looks very similar to that in #3872
I'm getting this error, regardless if my compiler is gcc-12 or clang-15.
Any tips much appreciated, has anyone had experience building on ARM?
/home/canterbury/mambaforge/envs/conan_ros/lib/python3.9/site-packages/cmake/data/bin/cmake /home/canterbury/taichi -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/home/canterbury/taichi/_skbuild/linux-aarch64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.16 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/home/canterbury/mambaforge/envs/conan_ros/lib/python3.9/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/home/canterbury/mambaforge/envs/conan_ros/bin/python -DPYTHON_INCLUDE_DIR:PATH=/home/canterbury/mambaforge/envs/conan_ros/include/python3.9 -DPYTHON_LIBRARY:PATH=/home/canterbury/mambaforge/envs/conan_ros/lib/libpython3.9.so -DPython_EXECUTABLE:PATH=/home/canterbury/mambaforge/envs/conan_ros/bin/python -DPython_ROOT_DIR:PATH=/home/canterbury/mambaforge/envs/conan_ros -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/home/canterbury/mambaforge/envs/conan_ros/include/python3.9 -DPython_NumPy_INCLUDE_DIRS:PATH=/home/canterbury/mambaforge/envs/conan_ros/lib/python3.9/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/home/canterbury/mambaforge/envs/conan_ros/bin/python -DPython3_ROOT_DIR:PATH=/home/canterbury/mambaforge/envs/conan_ros -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/home/canterbury/mambaforge/envs/conan_ros/include/python3.9 -DPython3_NumPy_INCLUDE_DIRS:PATH=/home/canterbury/mambaforge/envs/conan_ros/lib/python3.9/site-packages/numpy/core/include -DCMAKE_MAKE_PROGRAM:FILEPATH=/home/canterbury/mambaforge/envs/conan_ros/lib/python3.9/site-packages/ninja/data/bin/ninja -DTI_WITH_OPENGL=OFF -DTI_WITH_GGUI=OFF -DTI_VERSION_MAJOR=1 -DTI_VERSION_MINOR=7 -DTI_VERSION_PATCH=0 -DCMAKE_BUILD_TYPE:STRING=Release
The text was updated successfully, but these errors were encountered: