* clangd-atomic-cmake.patch: Link against atomic for clangd in i386

* Experiment the clang bootstrap
* Try to boostrap clang using clang
This commit is contained in:
Sylvestre Ledru 2018-10-19 11:17:27 +02:00
parent 2246ad199e
commit 5bd607295a
3 changed files with 35 additions and 4 deletions

13
debian/changelog vendored
View File

@ -1,3 +1,16 @@
llvm-toolchain-7 (1:7-7~exp2) experimental; urgency=medium
* clangd-atomic-cmake.patch: Link against atomic for clangd in i386
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 19 Oct 2018 11:17:16 +0200
llvm-toolchain-7 (1:7-7~exp1) experimental; urgency=medium
* Experiment the clang bootstrap
* Try to boostrap clang using clang
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 17 Oct 2018 20:15:57 +0200
llvm-toolchain-7 (1:7-6) unstable; urgency=medium
* Team upload

View File

@ -0,0 +1,16 @@
Index: llvm-toolchain-7-7/clang-tools-extra/clangd/CMakeLists.txt
===================================================================
--- llvm-toolchain-7-7.orig/clang-tools-extra/clangd/CMakeLists.txt
+++ llvm-toolchain-7-7/clang-tools-extra/clangd/CMakeLists.txt
@@ -7,6 +7,11 @@ if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
list(APPEND CLANGD_ATOMIC_LIB "atomic")
endif()
+if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i386" OR
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i686")
+ list(APPEND CLANGD_ATOMIC_LIB "atomic")
+endif()
+
add_clang_library(clangDaemon
AST.cpp
ClangdLSPServer.cpp

10
debian/patches/series vendored
View File

@ -76,7 +76,9 @@ D51108-rust-powerpc.diff
disable-sse2-old-x86.diff
scan-build-clang-X.diff
0001-analyzer-scan-build-if-status-bugs-is-passed-don-t-f.patch
fix-include-next-bootstrap.diff
bootstrap-with-openmp-version-export-missing.diff
bootstrap-polly-fpic.diff
#bootstrap-default-passthrough.diff
#bootstrap-fix-include-next.diff
#bootstrap-with-openmp-version-export-missing.diff
hurd-lib_Support_Unix_Path.inc.diff
hurd-tools_llvm-shlib_CMakeLists.txt.diff
clangd-atomic-cmake.patch