Second try fixing lldb-server (reactivate lldb-check tests to check on CI)

This commit is contained in:
Pablo Oliveira 2016-09-19 09:43:06 +00:00
parent 792240f7d8
commit b785a9094d
4 changed files with 59 additions and 3 deletions

1
debian/changelog vendored
View File

@ -10,7 +10,6 @@ llvm-toolchain-snapshot (1:4.0~svn280796-1~exp1) experimental; urgency=medium
llvm-toolchain-3.9 (1:3.9-1) unstable; urgency=medium
* New stable release
>>>>>>> .merge-right.r2207
* Port to kfreebsd. Many thanks to Pino Toscano
(Closes: #835665)
* clang_getAllSkippedRanges in the list of libclang1 symbols

View File

@ -9,3 +9,60 @@
set(llvm_libs LLVM)
else()
llvm_map_components_to_libnames(llvm_libs
--- a/polly/lib/CMakeLists.txt
+++ b/polly/lib/CMakeLists.txt
@@ -66,35 +66,26 @@
target_link_libraries(Polly PollyISL jsoncpp)
-if (BUILD_SHARED_LIBS)
- target_link_libraries(Polly
- LLVMSupport
- LLVMCore
- LLVMScalarOpts
- LLVMInstCombine
- LLVMTransformUtils
- LLVMAnalysis
- LLVMipo
- LLVMMC
+target_link_libraries(Polly
+ LLVMSupport
+ LLVMCore
+ LLVMScalarOpts
+ LLVMInstCombine
+ LLVMTransformUtils
+ LLVMAnalysis
+ LLVMipo
+ LLVMMC
# The libraries below are required for darwin: http://PR26392
- LLVMBitReader
- LLVMMCParser
- LLVMObject
- LLVMProfileData
- LLVMTarget
- LLVMVectorize
- )
- link_directories(
- ${LLVM_LIBRARY_DIR}
- )
-elseif (LLVM_LINK_LLVM_DYLIB)
- target_link_libraries(Polly
- LLVM
- )
- link_directories(
- ${LLVM_LIBRARY_DIR}
- )
-endif()
+ LLVMBitReader
+ LLVMMCParser
+ LLVMObject
+ LLVMProfileData
+ LLVMTarget
+ LLVMVectorize
+)
+link_directories(
+ ${LLVM_LIBRARY_DIR}
+)
# Build a monolithic Polly.a and a thin module LLVMPolly.moduleext that links to
# that static library.

View File

@ -35,5 +35,5 @@ disable-source-interleave.diff
silent-gold-utils.diff
disable-llvm-symbolizer-test.diff
kfreebsd-support.diff
#fix-lldb-server-build
fix-lldb-server-build
clang-tidy-run-bin.diff

2
debian/rules vendored
View File

@ -465,7 +465,7 @@ endif
# LLDB tests (CMake)
ifeq (,$(filter $(DEB_HOST_ARCH), $(LLDB_DISABLE_ARCHS) armhf armel))
ifneq (,$(filter codecoverageDISABLED,$(DEB_BUILD_OPTIONS)))
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/$(TARGET_BUILD)/lib/ $(MAKE) $(NJOBS) -C $(TARGET_BUILD) check-lldb || true
endif
endif