-llvm-toolchain-6.0 (1:6.0-3+rpi1) buster-staging; urgency=medium
++llvm-toolchain-7 (1:7-6+rpi1) buster-staging; urgency=medium
+
+ [changes brought forward from llvm-toolchain-3.8 1:3.8-2+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Sat, 14 May 2016 21:43:35 +0000]
+ * Cleanup .pyc files in clean target.
+ * Add a hack to the cmake based build to force armv6 (unfortunately the cmake
+ based build relies on config.guess which assumes you want to build for the
+ hardware you are running on).
+ * Add -DCOMPILER_RT_BUILD_BUILTINS=OFF to disable parts of compiler-rt that
+ are broken on lower arm architectures.
+
+ [changes introduced in llvm-toolchain-3.9 1:3.9.1-1 by Peter Michael Green]
+ * disable testsuite (using a method that is hopefully less likely to cause diff conflicts than previously).
+ * Remove -march=armv7-a in compiler-rt/cmake/config-ix-base.cmake
+ * Clean up debian/usr in clean target.
+ * Clean up clang/tools/*-3.9 in clean target.
+ * Clean up stray *3.9.vim files
+ * Clean up clang/tools/scan-build/man/scan-build-3.9.1 and utils/vim/llvm-3.9-vimrc
+ * Clean up debian/*.install
+
+ [changes introduced in llvm-toolchain-6.0 1:6.0-1+rpi1 by Peter michael green]
+ * create build-llvm/docs/ocamldoc/html/ so the install target doesn't complain
+ about it not existing.
+ * clean up more crap left behind by build process.
+ * Put commented out (by Debian not us) ocaml build-depends into build-conflicts
+ if they are installed it seems that the package builds the ocaml stuff and
+ then errors out during packaging because it's not installed to anywhere.
+
+ [changes introduced in 1:6.0-3+rpi1 by Peter Michael Green]
+ * Remove debian/man in clean target.
+
+ -- Peter Michael Green <plugwash@raspbian.org> Thu, 03 May 2018 16:57:05 +0000
+
-llvm-toolchain-6.0 (1:6.0-3) unstable; urgency=medium
+llvm-toolchain-7 (1:7-6) unstable; urgency=medium
- * Remove sysconf_interceptor_bypass_test.cc because it makes
- Debian unstable and Ubuntu bionic freeze
- * Remove the info text from the manpages (Closes: #894734)
+ * Team upload
+ * Upload to unstable
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 17 Oct 2018 11:00:09 +0200
+
+llvm-toolchain-7 (1:7-6~exp2) experimental; urgency=medium
+
+ * Disable for now the bootstrapping clang patches
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 16 Oct 2018 15:00:46 +0200
+
+llvm-toolchain-7 (1:7-6~exp1) experimental; urgency=medium
+
+ * Add python-pygments as dep of llvm-7-tools because
+ opt-viewer.py needs it
+ * Add back libomp5-X.Y.symbols.in (untested)
+ * Fix the install of clang bash completion
+ * Start the work on bootstraping clang
+ - bootstrap-with-openmp-version-export-missing.diff: fix a link issue
+ https://bugs.llvm.org/show_bug.cgi?id=39200
+ - bootstrap-fix-include-next.diff: Fix an include issue at bootstrap phase
+ https://bugs.llvm.org/show_bug.cgi?id=39162
+
+ [ Gianfranco Costamagna ]
+ * Take option two in bug #877567 to fix FTBFS on mips and mipsel
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Sat, 06 Oct 2018 23:04:24 +0200
+
+llvm-toolchain-7 (1:7-5) unstable; urgency=medium
+
+ * In debci, run qualify-clang.sh in verbose mode
+ * Only run the g++ test if g++ exist
[ Reshabh Sharma ]
- * Enable autopkgtest for amd64 & i386 on the llvm test suite
- (Closes: #774294)
+ * Run check-openmp to test OpenMP
- [ Nicholas D Steeves ]
- * Fix the lintian error 'privacy-breach-uses-embedded-file'
- (Closes: #829361)
+ -- Sylvestre Ledru <sylvestre@debian.org> Sat, 06 Oct 2018 08:25:48 +0200
- [ Athos Ribeiro ]
- * Create symlink to run-clang-tidy-X.Y.py to remove its .py extension
- (Closes: #892089)
+llvm-toolchain-7 (1:7-4) unstable; urgency=medium
- [ David Tenty ]
- * Migrate to automatic debug packages (Closes: #893267)
+ * Backport a fix to improve scan-build code error.
+ Thanks to Roman Lebedev for the fix(Closes: #909662)
+ * Remove bat files https://bugs.llvm.org/show_bug.cgi?id=30755
+ * Install bash-completion for clang
+ * Disable ocaml on armel
- [ Nishanth Aravamudan ]
- * debian/patches/install-lldb-sb-headers.patch: Install lldb's
- SB headers (pr36630). Thanks to Pavel Labath <labath@google.com>.
- (LP: #1761009) (Closes: #895051)
+ -- Sylvestre Ledru <sylvestre@debian.org> Wed, 26 Sep 2018 14:32:41 +0100
- -- Sylvestre Ledru <sylvestre@debian.org> Tue, 24 Apr 2018 23:24:44 +0200
+llvm-toolchain-7 (1:7-3) unstable; urgency=medium
-llvm-toolchain-6.0 (1:6.0.1-1~exp1) experimental; urgency=medium
+ * Fix a syntax issue in a scan-build patch
+ * Fix the autopkgtest script (no gcc in the test)
+ * remove dep from lld to llvm-7-dev because lld
+ doesn't use LLVM LTO
+ * remove old Replaces/Breaks
+ * Standards-Version: 4.2.1
- * preparation of the new release
- * Remove sysconf_interceptor_bypass_test.cc because it makes
- Debian unstable and Ubuntu bionic freeze
+ -- Sylvestre Ledru <sylvestre@debian.org> Fri, 21 Sep 2018 22:48:47 +0200
- [ David Tenty ]
- * Migrate to automatic debug packages (Closes: #893267)
+llvm-toolchain-7 (1:7-2) unstable; urgency=medium
- [ Nishanth Aravamudan ]
- * debian/patches/install-lldb-sb-headers.patch: Install lldb's
- SB headers (pr36630). Thanks to Pavel Labath <labath@google.com>.
- (LP: #1761009) (Closes: #895051)
+ * Fix the ftbfs under armel on libc++ and enable openmp on armel.
+ Thanks to Adrian Bunk for the patch
+ * Make libc++, libc++abi & openmp NOT co-installable
+ Rational: the benefits are limited compared to the drawback.
+ We should have issues like:
+ - built with libc++-8-dev
+ - run with libc++1-7
+ (Closes: #903802)
+ * Remove circular dependency by removing python-lldb-7: Depends: liblldb-7-dev
+ (Closes: #888889)
- -- David Tenty <dtenty@ryerson.ca> Sat, 31 Mar 2018 21:11:28 +0000
+ -- Sylvestre Ledru <sylvestre@debian.org> Wed, 19 Sep 2018 14:12:34 +0200
-llvm-toolchain-6.0 (1:6.0-2) unstable; urgency=medium
+llvm-toolchain-7 (1:7-1) unstable; urgency=medium
- * clang-tidy-6.0: depends on libclang-common-6.0-dev
- (Closes: #891999)
- * clang-tidy-6.0 also depends on clang-tools-6.0 for, at least
- clang-apply-replacements
+ * Stable release
+ * Also manages clang-X as tool for scan-build
+ see https://reviews.llvm.org/D52151
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Mon, 17 Sep 2018 13:51:03 +0200
+
+llvm-toolchain-7 (1:7~+rc3-5) unstable; urgency=medium
+
+ [ John Paul Adrian Glaubitz ]
+ * Add patch to fix missing include and library paths on x32
+
+ [ Sylvestre Ledru ]
+ * Only rename libomp when openmp is built
+
+ -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Fri, 14 Sep 2018 19:54:38 +0200
+
+llvm-toolchain-7 (1:7~+rc3-4) unstable; urgency=medium
+
+ [ Sylvestre Ledru ]
+ * libc++-7-dev doesn't provide libstdc++-dev anymore (Closes: #908738)
+
+ [ Gianfranco Costamagna ]
+ * Force polly cmake removal on arch:all because of --fail-missing
+
+ [ Reshabh Sharma ]
+ * Make OpenMP packages coinstallable from version 7
+ * Make libc++ packages coinstallable from version 7
+
+ [ John Paul Adrian Glaubitz ]
+ * Add patch to fix missing MultiArch include dir
+ on powerpcspe (Closes: #908791)
+ * Disable LLDB on riscv64
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Fri, 14 Sep 2018 11:27:28 +0200
+
+llvm-toolchain-7 (1:7~+rc3-3) unstable; urgency=medium
+
+ [ John Paul Adrian Glaubitz ]
+ * Disable OpenMP on unsupported architecture x32
+
+ [ Sylvestre Ledru ]
+ * Build llvm using -DLLVM_USE_PERF=yes (Closes: #908707)
+
+ [ Gianfranco Costamagna ]
+ * Install polly only on arch:all packages
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org> Thu, 13 Sep 2018 09:31:29 +0200
+
+llvm-toolchain-7 (1:7~+rc3-2) unstable; urgency=medium
+
+ [ John Paul Adrian Glaubitz ]
+ * Fix inverted logic in ifeq statement for POLLY_ENABLE
+ and OPENMP_ENABLE (Closes: #908646)
+
+ [ Gianfranco Costamagna ]
+ * Drop gnustep and gnustep-devel suggestions (Closes: #902847)
+ * Enable polly on s390x
+ * Disable omp on armel mips and mipsel for now
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 12 Sep 2018 10:58:12 +0200
+
+llvm-toolchain-7 (1:7~+rc3-1) unstable; urgency=medium
+
+ [ John Paul Adrian Glaubitz ]
+ * Disable OpenMP on unsupported architectures powerpc,
+ powerpcspe, riscv64 and sparc64 (Closes: #907912)
+
+ [ Sylvestre Ledru ]
+ * New snapshot release
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Mon, 10 Sep 2018 17:01:25 +0200
+
+llvm-toolchain-7 (1:7~+rc2-1~exp3) experimental; urgency=medium
+
+ * Remove libtool flex, bison, dejagnu, tcl, expect,
+ and perl from the build deps (testing)
+ * Disable force-gcc-header-obj.diff as it is introducing
+ some regressions in the search headers
+ (Closes: #903709)
+
+ [ Gianfranco Costamagna ]
+ * Fix build on armhf, by removing some installed package
+ * Fix build on s390x, by disabling OpenMP
+ * Add liblldb-7-dev to python-lldb runtime dependencies, needed to import it
+ * Enable lld on arm64, mips64el
+ * Enable lldb on mips64el
+
+ [ Reshabh Sharma ]
+ * Add version for libc++ and OpenMP packages breaks/replaces
+ * Remove libc++-helpers package
+ - No real value
+ - Just two scripts
+ - Command line arguments aren't that complex
+ * Fix autopkgtest support
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Mon, 03 Sep 2018 09:16:22 +0200
+
+llvm-toolchain-7 (1:7~+rc2-1~exp2) experimental; urgency=medium
+
+ * Force sphinx to be >> 1.2.3
+ * Also ignore libc++experimental.a on dh_strip (fails on stretch)
+ * Make libc++-7-dev & libc++abi-7-dev coinstallable
+
+ [ John Paul Adrian Glaubitz ]
+ * Don't build with ld.gold on powerpcspe
+ * Disable polly on powerpcspe
+ * Add upstream patch to make rustc build on powerpc
+
+ [ Gianfranco Costamagna ]
+ * Enable lld on ppc64el
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Mon, 27 Aug 2018 10:57:41 +0200
+
+llvm-toolchain-7 (1:7~+rc2-1~exp1) experimental; urgency=medium
+
+ * New snapshot release
+ * dh_strip should be verbose
+ * On Stretch (binutils 2.28), do not run strip on libFuzzer.a, libc++.a
+ & libc++abi.a because it segfaults
+ * Fixed "weak-library-dev-dependency libc++-7-dev on libc++-7-helpers"
+ * Fixed "libomp5-7: shlibs-declares-dependency-on-other-package
+ libomp5-7) (>= 1:7~svn298832-1~)"
+ * Also use the local cmake binary if available (for trusty)
+ and take in account the PRE_PROCESS_CONF option
+
+ [ Reshabh Sharma ]
+ * Fixed "Lintian warnings for libc++abi-7-dev package"
+ - Warning: libc++abi-7-dev: breaks-without-version libc++-dev
+ - Warning: libc++abi-7-dev: breaks-without-version libc++abi-dev
+ - Warning: llvm-toolchain-7 source: binaries-have-file-conflict
+ libc++abi-7-dev libc++abi1-7 usr/lib/llvm-7/lib/libc++abi.so
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Thu, 16 Aug 2018 17:49:31 +0200
+
+llvm-toolchain-7 (1:7~+rc1-1~exp2) experimental; urgency=medium
+
+ * Disable force-gcc-header-obj.diff as it is introducing
+ some regressions in the search headers
+ (Closes: #903709)
+ * libc++-7-dev should depend on libc++-7-helpers (and not
+ libc++-helpers)
+ * Fix the links in the helper package
+
+ [ Reshabh Sharma ]
+ * Fix the path to libc++ header
+ * libc++.so was in two packages
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Wed, 15 Aug 2018 15:27:57 +0200
+
+llvm-toolchain-7 (1:7~+rc1-1~exp1) experimental; urgency=medium
+
+ * First testing release of 7
+ - Rename packages
+ - Update the VCS-* URL
+ * Standards-Version to 4.2.0
+
+ [ Dimitri John Ledkov ]
+ * Enable lldb on ppc64el LP: #1777136
+
+ [ Reshabh Sharma ]
+ * Integrate libcxx and libcxxabi as part of the llvm-toolchain packages
+ Very similar to the previous packages
+ except that libc++abi-7-test & libc++-7-test are no longer shipped
+ Outcome of the LLVM GSoC 2018
+ (Closes: #813673)
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Tue, 07 Aug 2018 19:25:09 +0200
+
+llvm-toolchain-snapshot (1:7~svn336894-1~exp1) experimental; urgency=medium
+
+ [ Reshabh Sharma ]
+ * Integrate opemp as part of the llvm-toolchain packages (Closes: #813672)
+ As part of this work, the transition libiomp packages have been removed.
+
+ [ Sylvestre Ledru ]
+ Bravo to Reshabh Sharma for his work
+ * Also ship diagtool in clang-tools-X
+ * Also ship hmaptool in clang-tools-X
+ * Enable WebAssembly & AVR as experimental archs (Closes: #899202)
+ * d/p/force-gcc-header-obj.diff Fix the detection of the objc path
+ * clang_getCompletionFixIt, clang_getCompletionNumFixIts & getTokenclang
+ added as new symbols of libclang1
+ * Fix the version with snapshot packages
+ Fixes upstream issue https://bugs.llvm.org/show_bug.cgi?id=37729
+
+ [ Gianfranco Costamagna ]
+ * Bump std-version to 4.1.5, no changes required
+
+ [ Reshabh Sharma ]
+ * Updated debian/control with breaks, provides and conflicts for OpenMP
+ packages (Closes: #903802)
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Wed, 09 May 2018 14:23:49 +0200
+
+llvm-toolchain-snapshot (1:7~svn330801-1~exp2) experimental; urgency=medium
+
+ * d/p/force-gcc-header-obj.diff Fix the detection of the objc path
+ * Add python-yaml as dep for clang-tidy (Closes: #890514)
+ * d/p/impl-path-hurd.diff: Try to fix an issue with hurd
+
+ [ Peter Wu ]
+ * Make CMake find_package(Clang) work. Fixes upstream bug
+ https://bugs.llvm.org/show_bug.cgi?id=37128
+ - Move Clang*.cmake back to /usr/lib/llvm-X.Y/lib/cmake/clang and install a
+ symlink in /usr/lib/cmake/clang-X.Y.
+ - Ensure that the LLVM installation prefix is correctly discovered despire
+ symlinks (replaces fix-cmake-config-prefix.diff).
+ - Create /usr/lib/llvm-X.Y/bin/clang-X.Y symlink as required by
+ ClangTargets-relwithdebinfo.cmake.
+ - Remove useless LLVM_CMAKE_DIR sed command that did not match anything.
+ - Ignore missing binaries in ClangTargets-relwithdebinfo.cmake.
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Mon, 07 May 2018 23:27:26 +0200
+
+llvm-toolchain-6.0 (1:6.0.1~+rc1-1~exp1) experimental; urgency=medium
+
+ * New snapshot release
+ * Fix a typo in the debci
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Thu, 26 Apr 2018 08:02:09 +0200
+
+llvm-toolchain-6.0 (1:6.0-3) unstable; urgency=medium
+
+ * Remove sysconf_interceptor_bypass_test.cc because it makes
+ Debian unstable and Ubuntu bionic freeze
+ * Remove the info text from the manpages (Closes: #894734)
* Remove a bunch of old unused patches
* Fix debian-watch-uses-insecure-uri as upstream has now https
* Standards-Version updated to 4.1.3
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
LDFLAGS_EXTRA =
-CXXFLAGS_EXTRA = -std=c++0x
+CXXFLAGS_EXTRA =
CONFIGURE_EXTRA =
- CMAKE_EXTRA =
+ CMAKE_EXTRA = -DCOMPILER_RT_BUILD_BUILTINS=OFF
-ifneq (,$(filter $(DEB_HOST_ARCH),powerpc powerpcspe))
-LDFLAGS_EXTRA += -latomic
+BASE_PATH := $(CURDIR)
+LIBCXX_EXCEPTIONS :=ON
+
+ifneq (,$(filter $(DEB_HOST_ARCH),s390x))
+ LIBCXX_EXCEPTIONS :=OFF
endif
-# Only enable gsplit dwarf on archs which needs it (32 bits)
-ifeq ($(DEB_HOST_ARCH_BITS),32)
-ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.22.52.0.4 ; echo $$?),0)
-# when using -gsplit-dwarf, it will requires extract-dwo which doesn't exist on precise:
-# More: https://llvm.org/bugs/show_bug.cgi?id=28841
-ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 7.1.0-7~ || \
- dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) ge 7.2.0-2; echo $$?),0)
-# Only pass -gsplit-dwarf with working version of gcc 7
-# More: https://bugs.llvm.org/show_bug.cgi?id=34140 & https://bugs.debian.org/873609
-CXXFLAGS_EXTRA += -gsplit-dwarf
-else
-$(error "Broken gcc version for -gsplit-dwarf support. Please use < gcc 7 or >= 7.2.0-2")
-endif # < gcc 7 or >= 7.2.0-2
-endif # binutils
-endif # archs
+ifneq (,$(filter $(DEB_HOST_ARCH),armel mips mipsel powerpc powerpcspe riscv64))
+CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-latomic" -DCMAKE_SHARED_LINKER_FLAGS="-latomic"
+endif
+
+# Cxx flags for building libcxx and libcxxabi
+LIBCXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 4.9-20140411-1~ ; echo $$?),0)
# Too old version of gcc. Force 4.9
echo "Generating manpage of $$f"; \
LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/:/usr/lib/*/libfakeroot help2man --no-info --version-string=$(LLVM_VERSION) $(TARGET_BUILD)/bin/$$f > debian/man/$$f-$(LLVM_VERSION).1; \
done
+ if test "$(OPENMP_ENABLE)" = yes; then \
+ cd openmp/runtime && doxygen doc/doxygen/config; cd -; \
+ cd openmp/runtime/doc/doxygen/generated/html/ && rm jquery.js && ln -s /usr/share/javascript/jquery/jquery.js; \
+ fi
override_dh_auto_install:
+ mkdir -p build-llvm/docs/ocamldoc/html/
# Clean up temporary files to make sure the install works
rm -rf $(find $(TARGET_BUILD) -wholename '*CMakeFiles*' -not -name CMakeLists.txt -a -name "*.dir" -type d)
# install/fast enables a make install without recompiling temporary files
rm -f $(CURDIR)/utils/vim/llvm-$(LLVM_VERSION).vim $(CURDIR)/utils/vim/tablegen-$(LLVM_VERSION).vim
rm -f $(CURDIR)/clang/tools/clang-format/clang-format-diff-$(LLVM_VERSION)
rm -f $(CURDIR)/clang/tools/clang-format/clang-format-$(LLVM_VERSION).py
- rm -f clang/tools/scan-view-6.0/share/FileRadar.scpt clang/tools/scan-view-6.0/share/bugcatcher.ico
+ rm -rf libcxx/build libcxxabi/build
+ rm -f `find . -name '*.pyc'`
+ rm -rf debian/usr
+ rm -rf clang/tools/*-3.9
+ rm -f `find . -name '*3.9.vim'`
+ rm -f clang/tools/scan-build/man/scan-build-3.9.1 utils/vim/llvm-3.9-vimrc
+ rm -f debian/*.install
++ rm -f clang/tools/scan-view-7.0/share/FileRadar.scpt clang/tools/scan-view-7.0/share/bugcatcher.ico
+ rm -f `cat debian/morecraptoremove`
+ rm -rf debian/man
.PHONY: override_dh_strip preconfigure