[PATCH] D141196: [cmake] Don't require third-party components when cross-compiling
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 14 09:13:29 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb1e92f8def98: [llvm] Don't require third-party components when cross-compiling (authored by chewi, committed by mgorny).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141196/new/
https://reviews.llvm.org/D141196
Files:
llvm/cmake/modules/CrossCompile.cmake
Index: llvm/cmake/modules/CrossCompile.cmake
===================================================================
--- llvm/cmake/modules/CrossCompile.cmake
+++ llvm/cmake/modules/CrossCompile.cmake
@@ -84,6 +84,8 @@
-DLLVM_ENABLE_RUNTIMES="${llvm_enable_runtimes_arg}"
${external_project_source_dirs}
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN="${LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN}"
+ -DLLVM_INCLUDE_BENCHMARKS=OFF
+ -DLLVM_INCLUDE_TESTS=OFF
${build_type_flags} ${linker_flag} ${external_clang_dir}
${ARGN}
WORKING_DIRECTORY ${${project_name}_${target_name}_BUILD}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141196.489273.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230114/f2e1540e/attachment.bin>
More information about the llvm-commits
mailing list