build-llvm: Disable LLVM_ENABLE_BINDINGS
According to https://github.com/mstorsjo/llvm-mingw/issues/533, if OCaml support is detected and the LLVM OCaml bindings are built, they are attempted to be installed in a path that require root access.
This commit is contained in:
1 parent
6465b7f2ca
commit
83a3ca8e09
1 file changed
+1
@@ -401,6 +401,7 @@ cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLLVM_ENABLE_ASSERTIONS=$ASSERTS \
|
||||
-DLLVM_ENABLE_PROJECTS="$PROJECTS" \
|
||||
-DLLVM_ENABLE_BINDINGS=OFF \
|
||||
-DLLVM_TARGETS_TO_BUILD="ARM;AArch64;X86;NVPTX" \
|
||||
-DLLVM_INSTALL_TOOLCHAIN_ONLY=$TOOLCHAIN_ONLY \
|
||||
-DLLVM_LINK_LLVM_DYLIB=$LINK_DYLIB \
|
||||
|
||||
Reference in new issue
Block a user