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

[Bug] Build tvm-unity on aarch64 device #313

Open
bethalianovike opened this issue Feb 22, 2024 · 0 comments
Open

[Bug] Build tvm-unity on aarch64 device #313

bethalianovike opened this issue Feb 22, 2024 · 0 comments

Comments

@bethalianovike
Copy link

Hi everyone, I want to build tvm-unity from source on aarch64 device. When building libtvm using CMake, this step gives error messages when running up to 100%. Can anyone give me some advice? Thank you.

Expected behavior

Successfully building tvm-unity

Actual behavior

Error when building up to 100%

Environment

Operating system: Ubuntu 20.04 aarch64
TVM version: git clone mlc-ai/relax (sha 43985e7)

Steps to reproduce

Build with OpenCL on

git clone --recursive https://github.com/mlc-ai/relax.git tvm_unity && cd tvm_unity/
mkdir -p build && cd build
cp ../cmake/config.cmake .
echo "set(CMAKE_BUILD_TYPE RelWithDebInfo)" >> config.cmake
echo "set(USE_LLVM "/usr/bin/llvm-config-16 --ignore-libllcm --link-static")" >> config.cmake
echo "set(HIDE_PRIVATE_SYMBOLS ON)" >> config.cmake
echo "set(USE_OPENCL ON)" >> config.cmake
cmake .. && cmake --build . --parallel 3 && cd ../..

image

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

1 participant