mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-07 02:35:34 +00:00
Second try fixing lldb-server (reactivate lldb-check tests to check on CI)
This commit is contained in:
parent
792240f7d8
commit
b785a9094d
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -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
|
llvm-toolchain-3.9 (1:3.9-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New stable release
|
* New stable release
|
||||||
>>>>>>> .merge-right.r2207
|
|
||||||
* Port to kfreebsd. Many thanks to Pino Toscano
|
* Port to kfreebsd. Many thanks to Pino Toscano
|
||||||
(Closes: #835665)
|
(Closes: #835665)
|
||||||
* clang_getAllSkippedRanges in the list of libclang1 symbols
|
* clang_getAllSkippedRanges in the list of libclang1 symbols
|
||||||
|
57
debian/patches/fix-lldb-server-build
vendored
57
debian/patches/fix-lldb-server-build
vendored
@ -9,3 +9,60 @@
|
|||||||
set(llvm_libs LLVM)
|
set(llvm_libs LLVM)
|
||||||
else()
|
else()
|
||||||
llvm_map_components_to_libnames(llvm_libs
|
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.
|
||||||
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@ -35,5 +35,5 @@ disable-source-interleave.diff
|
|||||||
silent-gold-utils.diff
|
silent-gold-utils.diff
|
||||||
disable-llvm-symbolizer-test.diff
|
disable-llvm-symbolizer-test.diff
|
||||||
kfreebsd-support.diff
|
kfreebsd-support.diff
|
||||||
#fix-lldb-server-build
|
fix-lldb-server-build
|
||||||
clang-tidy-run-bin.diff
|
clang-tidy-run-bin.diff
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -465,7 +465,7 @@ endif
|
|||||||
|
|
||||||
# LLDB tests (CMake)
|
# LLDB tests (CMake)
|
||||||
ifeq (,$(filter $(DEB_HOST_ARCH), $(LLDB_DISABLE_ARCHS) armhf armel))
|
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
|
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/$(TARGET_BUILD)/lib/ $(MAKE) $(NJOBS) -C $(TARGET_BUILD) check-lldb || true
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user