Error while trying to install Halide #6727
Replies: 7 comments 11 replies
-
I'm afraid it's going to be impossible to help without a full log. Are you trying to build the main branch? We dropped support for LLVM 12, but I'm not sure that's your issue. Please post a full log, at least of the output after Have you tried using cmake instead of make to build Halide? |
Beta Was this translation helpful? Give feedback.
-
We do not support LLVM 12 anymore. See #6686 Please try using CMake instead of Make to build Halide. |
Beta Was this translation helpful? Give feedback.
-
Hello again! I will provide this time a full detail on my installation and where it didn't work. I am using ubuntu 20.04.01, I've tried to install llvm using the main branch and the same error happened as the llvm 12. So I will give you the instructions I've used + logs. % git clone --depth 1 --branch main https://github.com/llvm/llvm-project.git % cmake -DCMAKE_BUILD_TYPE=Release % cmake --build llvm-build % export LLVM_ROOT=$PWD/llvm-install git clone --branch main https://github.com/halide/Halide.git Here is the logs file : The error happens in the instruction : make -j8 (llvm-install/bin/clang is not found !). |
Beta Was this translation helpful? Give feedback.
-
I've tried both solutions using Ninja and --Parallel and ubuntu just freezes after every time I run them :/ |
Beta Was this translation helpful? Give feedback.
-
Hello again :( ! |
Beta Was this translation helpful? Give feedback.
-
I fixed the problem, it was due to memory. The newer version of llvm takes a lot of memory so I downloaded llvm 11.0.1 .My question is : what is the branch of Halide 11 ? |
Beta Was this translation helpful? Give feedback.
-
These days, you should just try to use the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I've been struggling a lot trying to install Halide from source since 2 days.
I have followed the README.md instructions as folllows :
git clone --depth 1 --branch llvmorg-12.0.0 https://github.com/llvm/llvm-project.git
cmake -DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra"
-DLLVM_TARGETS_TO_BUILD="X86;ARM;NVPTX;AArch64;Mips;Hexagon;WebAssembly"
-DLLVM_ENABLE_TERMINFO=OFF -DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_BUILD_32_BITS=OFF
-S llvm-project/llvm -B llvm-buil
cmake --build llvm-build
cmake --install llvm-build --prefix llvm-install
export LLVM_ROOT=$PWD/llvm-install
export LLVM_CONFIG=$LLVM_ROOT/bin/llvm-config
git clone https://github.com/halide/Halide.git
cd Halide
make -j8
Everything worked fine ! Untill executing the make -j8 instruction and the error that is showing :
../llvm-install/bin/clang file is not find
Thank you in advance !
Beta Was this translation helpful? Give feedback.
All reactions