Browse Source

Fixed the LLVM build script CMake invocation to work with recent LLVM/Clang revisions.

This fixes the dreaded CMake error:

CMake Error at tools/clang/tools/clang-offload-bundler/CMakeLists.txt:18 (add_dependencies):
  Cannot add target-level dependencies to non-existent target "clang".
pull/838/merge
Joao Matos 8 years ago
parent
commit
1ebbcdf668
  1. 1
      build/scripts/LLVM.lua

1
build/scripts/LLVM.lua

@ -233,7 +233,6 @@ function cmake(gen, conf, builddir, options) @@ -233,7 +233,6 @@ function cmake(gen, conf, builddir, options)
.. ' -DCLANG_TOOL_C_ARCMT_TEST_BUILD=false'
.. ' -DCLANG_TOOL_C_INDEX_TEST_BUILD=false'
.. ' -DCLANG_TOOL_DIAGTOOL_BUILD=false'
.. ' -DCLANG_TOOL_DRIVER_BUILD=false'
.. ' -DCLANG_TOOL_LIBCLANG_BUILD=false'
.. ' -DCLANG_TOOL_SCAN_BUILD_BUILD=false'
.. ' -DCLANG_TOOL_SCAN_VIEW_BUILD=false'

Loading…
Cancel
Save