Skip to content

Instantly share code, notes, and snippets.

@oshadura
Created June 12, 2019 13:41
Show Gist options
  • Save oshadura/c994dc7682138db1445b6e2a3540508a to your computer and use it in GitHub Desktop.
Save oshadura/c994dc7682138db1445b6e2a3540508a to your computer and use it in GitHub Desktop.
llvm-clang-5-root-patches
cmake <build_dir> -DLLVM_ENABLE_WARNINGS=OFF -DLLVM_INCLUDE_TESTS=OFF -DCLANG_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DCLANG_BUILD_TOOLS=OFF
-DCLANG_TOOL_ARCMT_TEST_BUILD=OFF -DCLANG_TOOL_CLANG_CHECK_BUILD=OFF -DCLANG_TOOL_CLANG_FORMAT_BUILD=OFF
-DCLANG_TOOL_CLANG_FORMAT_VS_BUILD=OFF -DCLANG_TOOL_CLANG_FUZZER_BUILD=OFF -DCLANG_TOOL_CLANG_IMPORT_TEST_BUILD=OFF
-DCLANG_TOOL_CLANG_OFFLOAD_BUNDLER_BUILD=OFF -DCLANG_TOOL_CLANG_RENAME_BUILD=OFF -DCLANG_TOOL_C_ARCMT_TEST_BUILD=OFF
-DCLANG_TOOL_C_INDEX_TEST_BUILD=OFF -DCLANG_TOOL_DIAGTOOL_BUILD=OFF -DCLANG_TOOL_LIBCLANG_BUILD=OFF
-DCLANG_TOOL_SCAN_BUILD_BUILD=OFF -DCLANG_TOOL_SCAN_VIEW_BUILD=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_TOOL_LLVM_AR_BUILD=OFF
-DCLANG_TOOL_CLANG_OFFLOAD_BUNDLER_BUILD=OFF -DLLVM_FORCE_USE_OLD_TOOLCHAIN=ON -DCLANG_ENABLE_STATIC_ANALYZER=OFF
-DCLANG_ENABLE_ARCMT=OFF -DCLANG_ENABLE_FORMAT=OFF -DLLVM_TARGETS_TO_BUILD=host -DLLVM_ABI_BREAKING_CHECKS=FORCE_OFF
-DLLVM_ENABLE_ABI_BREAKING_CHECKS=OFF -DLLVM_INCLUDE_TOOLS=ON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment