Temporarily disable LLVM integration to get build working
This commit is contained in:
parent
5ba2aafc68
commit
f2fd7edd80
1 changed files with 19 additions and 19 deletions
|
@ -6,7 +6,7 @@ project(Bolt C CXX)
|
||||||
set(CMAKE_CXX_STANDARD 20)
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
add_subdirectory(deps/zen EXCLUDE_FROM_ALL)
|
add_subdirectory(deps/zen EXCLUDE_FROM_ALL)
|
||||||
add_subdirectory(deps/llvm-project/llvm EXCLUDE_FROM_ALL)
|
# add_subdirectory(deps/llvm-project/llvm EXCLUDE_FROM_ALL)
|
||||||
|
|
||||||
set(ICU_DIR "${CMAKE_CURRENT_SOURCE_DIR}/build/icu/install")
|
set(ICU_DIR "${CMAKE_CURRENT_SOURCE_DIR}/build/icu/install")
|
||||||
set(ICU_CFLAGS "-DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DU_HIDE_OBSOLETE_UTF_OLD_H=1")
|
set(ICU_CFLAGS "-DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DU_HIDE_OBSOLETE_UTF_OLD_H=1")
|
||||||
|
@ -67,23 +67,23 @@ target_link_libraries(
|
||||||
icuuc
|
icuuc
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(
|
# add_library(
|
||||||
BoltLLVM
|
# BoltLLVM
|
||||||
src/LLVMCodeGen.cc
|
# src/LLVMCodeGen.cc
|
||||||
)
|
# )
|
||||||
target_link_libraries(
|
# target_link_libraries(
|
||||||
BoltLLVM
|
# BoltLLVM
|
||||||
PUBLIC
|
# PUBLIC
|
||||||
BoltCore
|
# BoltCore
|
||||||
LLVMCore
|
# LLVMCore
|
||||||
LLVMTarget
|
# LLVMTarget
|
||||||
)
|
# )
|
||||||
target_include_directories(
|
# target_include_directories(
|
||||||
BoltLLVM
|
# BoltLLVM
|
||||||
PUBLIC
|
# PUBLIC
|
||||||
deps/llvm-project/llvm/include # FIXME this is a hack
|
# deps/llvm-project/llvm/include # FIXME this is a hack
|
||||||
${CMAKE_BINARY_DIR}/deps/llvm-project/llvm/include # FIXME this is a hack
|
# ${CMAKE_BINARY_DIR}/deps/llvm-project/llvm/include # FIXME this is a hack
|
||||||
)
|
# )
|
||||||
|
|
||||||
add_executable(
|
add_executable(
|
||||||
bolt
|
bolt
|
||||||
|
@ -93,7 +93,7 @@ target_link_libraries(
|
||||||
bolt
|
bolt
|
||||||
PUBLIC
|
PUBLIC
|
||||||
BoltCore
|
BoltCore
|
||||||
BoltLLVM
|
# BoltLLVM
|
||||||
)
|
)
|
||||||
|
|
||||||
if (BOLT_ENABLE_TESTS)
|
if (BOLT_ENABLE_TESTS)
|
||||||
|
|
Loading…
Reference in a new issue