[CMake] Fixing clang standalone build
I broke this in r287406 and r287407. llvm-svn: 287463
This commit is contained in:
parent
ffd3715d16
commit
c6c0f583a2
|
@ -1,10 +1,14 @@
|
||||||
set(LLVM_LINK_COMPONENTS BitWriter Core Object Support)
|
set(LLVM_LINK_COMPONENTS BitWriter Core Object Support)
|
||||||
|
|
||||||
|
if(NOT CLANG_BUILT_STANDALONE)
|
||||||
|
set(tablegen_deps intrinsics_gen)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_clang_executable(clang-offload-bundler
|
add_clang_executable(clang-offload-bundler
|
||||||
ClangOffloadBundler.cpp
|
ClangOffloadBundler.cpp
|
||||||
|
|
||||||
DEPENDS
|
DEPENDS
|
||||||
intrinsics_gen
|
${tablegen_deps}
|
||||||
)
|
)
|
||||||
|
|
||||||
set(CLANG_OFFLOAD_BUNDLER_LIB_DEPS
|
set(CLANG_OFFLOAD_BUNDLER_LIB_DEPS
|
||||||
|
|
|
@ -24,13 +24,17 @@ if(CLANG_PLUGIN_SUPPORT)
|
||||||
set(LLVM_NO_DEAD_STRIP 1)
|
set(LLVM_NO_DEAD_STRIP 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT CLANG_BUILT_STANDALONE)
|
||||||
|
set(tablegen_deps intrinsics_gen)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_clang_tool(clang
|
add_clang_tool(clang
|
||||||
driver.cpp
|
driver.cpp
|
||||||
cc1_main.cpp
|
cc1_main.cpp
|
||||||
cc1as_main.cpp
|
cc1as_main.cpp
|
||||||
|
|
||||||
DEPENDS
|
DEPENDS
|
||||||
intrinsics_gen
|
${tablegen_deps}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(clang
|
target_link_libraries(clang
|
||||||
|
|
Loading…
Reference in New Issue