[PATCH] D41580: CMAKE: Add flags to skip building NATIVE tools
Shi Yan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 09:03:46 PDT 2019
shi-yan added a comment.
Herald added a project: LLVM.
I set both ${${project}_TABLEGEN when building clang, but it still tries to build the native tools.
cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_TOOLCHAIN_FILE=/work/emsdk/fastcomp/emscripten/cmake/Modules/Platform/Emscripten.cmake -DLLVM_ENABLE_DUMP=OFF -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_TARGETS_TO_BUILD= -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly -DLLVM_BUILD_TOOLS=OFF -DLLVM_ENABLE_THREADS=OFF -DLLVM_BUILD_LLVM_DYLIB=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF -DLLVM_ENABLE_BACKTRACES=OFF -DLLVM_TABLEGEN=/work/llvm-native/build/bin/llvm-tblgen -DCLANG_TABLEGEN=/work/llvm-native/build/bin/clang-tblgen -DLLVM_USE_HOST_TOOLS=on -DLLVM_BUILD_UTILS=off -G "Unix Makefiles" ../llvm
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D41580/new/
https://reviews.llvm.org/D41580
More information about the llvm-commits
mailing list