From 51e283c2a93e69eeb716583dacb28f2890d97a63 Mon Sep 17 00:00:00 2001 From: Kartatz <105828205+Kartatz@users.noreply.github.com> Date: Fri, 17 May 2024 19:33:35 -0300 Subject: [PATCH] Add CMake toolchains --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index c0a0b81..425ce77 100644 --- a/build.sh +++ b/build.sh @@ -223,6 +223,7 @@ cmake \ -DCMAKE_BUILD_TYPE='MinSizeRel' \ -DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_ENABLE_PROJECTS='lld' \ + -DLLVM_NATIVE_TOOL_DIR=$(dirname "${LLVM_TABLEGEN}") -DLLVM_TABLEGEN="${LLVM_TABLEGEN}" \ -DCMAKE_CXX_FLAGS='-static-libgcc -static-libstdc++' \ -DLLVM_TOOLCHAIN_TOOLS='llvm-ar;llvm-ranlib;llvm-objdump;llvm-rc;llvm-cvtres;llvm-nm;llvm-strings;llvm-readobj;llvm-dlltool;llvm-pdbutil;llvm-objcopy;llvm-strip;llvm-cov;llvm-profdata;llvm-addr2line;llvm-symbolizer;llvm-windres;llvm-ml;llvm-readelf;llvm-size;llvm-cxxfilt' \