diff --git a/llvm/lib/Target/CMakeLists.txt b/llvm/lib/Target/CMakeLists.txt index 2739233f9ccb3..8471ce8f88290 100644 --- a/llvm/lib/Target/CMakeLists.txt +++ b/llvm/lib/Target/CMakeLists.txt @@ -28,7 +28,7 @@ if (NOT BUILD_SHARED_LIBS AND NOT APPLE AND NOT DEFINED CMAKE_CXX_VISIBILITY_PRESET) # Set default visibility to hidden, so we don't export all the Target classes # in libLLVM.so. - set(CMAKE_CXX_VISIBILITY_PRESET hidden) + # set(CMAKE_CXX_VISIBILITY_PRESET hidden) endif() foreach(t ${LLVM_TARGETS_TO_BUILD}) diff --git a/llvm/lib/Transforms/CMakeLists.txt b/llvm/lib/Transforms/CMakeLists.txt index dda5f6de11e32..c340af4bc4c5c 100644 --- a/llvm/lib/Transforms/CMakeLists.txt +++ b/llvm/lib/Transforms/CMakeLists.txt @@ -5,7 +5,8 @@ add_subdirectory(InstCombine) add_subdirectory(Scalar) add_subdirectory(IPO) add_subdirectory(Vectorize) -add_subdirectory(Hello) +# Broken if disabling tools +# add_subdirectory(Hello) add_subdirectory(ObjCARC) add_subdirectory(Coroutines) add_subdirectory(CFGuard)