Commit Graph

35 Commits

Author SHA1 Message Date
Sylvestre Ledru
44db7ce6bf Make CMake find_package(Clang) work. Fixes upstream bug https://bugs.llvm.org/show_bug.cgi?id=37128
* 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.
2018-05-08 12:27:10 +02:00
Peter Wu
8ab8cd7b37 Make Clang cmake files more usable
* Move Clang*.cmake back to /usr/lib/llvm-X.Y/lib/cmake/clang and
  install a symlink in /usr/lib/cmake/clang-X.Y to ensure that CMake can
  still find it.
* 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-6.0 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.
* Add regression test to qualify-clang.sh.
2018-05-07 00:05:47 +02:00
Sylvestre Ledru
0caeaf587c add the missing file 2017-11-27 21:32:58 +00:00
Sylvestre Ledru
80bdcd5fe8 usr/lib/llvm-6.0/share/clang/bash-autocomplete.sh is missing 2017-11-22 14:19:41 +00:00
Sylvestre Ledru
080a1c010c Create clang-tools-4.0 and move the various clang tools into it
clang-tools-4.0 depends on clang-4.0. This might affect some packages.
(Closes: #836397)
2017-11-20 11:07:53 +00:00
Sylvestre Ledru
c7ba2dfdc6 Ship new binary in clang-X.Y: clang-import-test 2016-12-28 14:32:33 +00:00
Sylvestre Ledru
7f1d0e08cb * debian/clang-X.Y.install.in: Added clang-cpp.
* debian/patches: Refreshed.
2016-10-10 16:51:15 +00:00
Sylvestre Ledru
2938ba641c Also install clang-change-namespace-4.0 2016-09-20 06:23:28 +00:00
Sylvestre Ledru
e83a6bafd7 missing file 2016-09-02 19:06:46 +00:00
Sylvestre Ledru
3f37321c3b * Merge clang-include-fixer-4.0 into clang-4.0. Don't think
it deserves it own package
* clang_getAllSkippedRanges in the list of libclang1 symbols
2016-09-02 09:39:32 +00:00
Sylvestre Ledru
db7ad6d2df Also ship clang-reorder-fields as part of the clang-4.0 package 2016-09-02 09:32:56 +00:00
Sylvestre Ledru
3214fcf7db Ship clang-offload-bundler in clang 4.0 2016-08-25 14:52:18 +00:00
Sylvestre Ledru
0b026774b2 fix a typo 2016-08-09 11:36:14 +00:00
Sylvestre Ledru
b2dd2d68cf Also install clang-rename.el & clang-rename.py in clang-4.0 2016-08-07 14:28:39 +00:00
Sylvestre Ledru
584e8ad0b9 * Sync the 3.8 changes into 3.9
* Disable the usage of ld gold on powerpc (Closes: #833583)
* Revert drop-avx512-from-skylake.diff, it is causing some regressions in the
  testsuite
* Disable lldb on ppc64
* libfuzzer depends on the same version of clang (Closes: #833564)
* Fix the detection of gcc. This broke the build on the latest unstable
* Ship libFuzzer in its own package (libfuzzer-X.Y-dev) (Closes: #820159)
* Sync from Ubuntu. Many thanks to Matthias Klose
  - drop-avx512-from-skylake.diff: Don't enable AVX512 on Skylake, as it's
    a server cpu feature and breaks llvmpipe on workstations.
  - Remove the build tree before calling dh_strip; at least the amd64 buildd
    runs out of diskspace at this step.
  - Add support for gcc's attribute abi_tag (needed for compatibility with
    GCC 5's libstdc++); taken from the trunk (Closes: #797038)
    (LP: #1510042, #1488254)
    D17567-PR23529-Sema-part-of-attrbute-abi_tag-support.diff
    D18035-PR23529-Mangler-part-of-attrbute-abi_tag-support.diff
* Try to fix mips64el build, by enabling the same
  packages as the mips and mipsel versions
* Link mips* with latomic.
* Disable lldb on sparc64 (Closes: #832371)
* Hopefully fix the FTBFS on armel
* Fix the FTBFS under mips/mipsel? (enable the link against atomic)
  (Closes: #820537)
* Bring back llvm-3.8-tools to life
* ship clang-tblgen & yaml-bench as part of the libclang-common-X.Y-dev
  package
* Add -gsplit-dwarf to CXXFLAGS to workaround the memory allocation
  issue on i386 (hopefully)
* Add a symlink from usr/lib/llvm-3.8/share/llvm/cmake
  pointing to usr/share/llvm-3.8/cmake
* Remove python-lldb-3.8 where liblldb-3.8-dev is not built
* New maintenance release
* debian/rules: Ensure ld-gold is used. CMake invokes the linker through
  g++ most of the time, therefore we need to set -Wl,-fuse-ld=gold.
* Followup to fix the cmake install (Closes: #819072)
* Enable FPXX by default on mips/mipsel (Closes: #826749)
* New RC release
* Improve the cmake detection (used for llvm.org/apt)
* Standards-Version updated to 3.9.8
* Ignore outdated-autotools-helper-file
* Install cmake files in usr/share/llvm-@LLVM_VERSION@/cmake/ instead of
  usr/share/llvm-@LLVM_VERSION@/cmake/
* Also install libLLVM-3.8.so.1 as a symlink
* debian/patches/fix-cmake-config-prefix.diff:
  cover the CMake build system too
(Closes: #819072)
* Fix python-lldb dependencies and make proper symlinks to libLLVM
  and liblldb as suggested by Graham Inggs (Closes: #821022)
* Fix liblldb suffix in lldb/scripts/Python/finishSwigPythonLLDB.py
  (Closes: #813798)
* Fix LLVM bug 26158 - clang packages don't provide man pages
* Add python-six as a dependency of python-lldb (thanks to Askar Safin).
* Make python-lldb-3.8 depend on lldb-3.8-dev, to pick all
  the required dependencies
* Unbreak circular dependency by Suggesting the python binding from
  liblldb-3.8-dev
* Fix an issue with scan-view (Closes: #825101)
* Team upload.
* Disable polly on s390x and fix polly check.
* Fix VCS fields.
* Fix txt file installation issue, by putting a README.txt file
  with some explanation.
* Tighten llvm dev dependency (Closes: #814142).
* New upstream release
* Install a missing library to unbreak lldb (Closes: #815809)
* New snapshot release
* Update the clang description for something more accurate (C++-11, 14, etc)
* Update debian/orig-tar.sh to remove autoconf/config.sub autoconf/config.guess
  in polly
* clang-tidy-3.8: Remove Breaks/Replaces on clang-modernize-3.8.
* Disable lldb on s390x.
* New snapshot release
* Remove build-llvm/ after the install step to save space.
  Most of the rc1 builds failed because of hd space.
* New snapshot release
* Cmake migration. Done by Andrew Wilkins. Many thanks to him
  - Update patches to set SONAME in CMake build
  - Create symlinks with ".links", don't install from build tree
  - Remove LLVM-internal tools (lit, FileCheck, not, tblgen, etc.)
  - Remove llvm-X.Y-tools package, because it contained only
    internal tools that are not intended for distribution.
  - Remove autotools-specific artifacts from packages.
  - Remove "dummy" documentation artifacts from llvm-X.Y-docs
    package. Not built/installed by CMake, not useful.
  - Update control/rules to support CMake
  - Patch LLDB SWIG interfaces to workaround a bug in SWIG
    See https://llvm.org/bugs/show_bug.cgi?id=25468
  - add missing files to clang-format
  - Add patch to fix sanitizer lit invocation
  - removed LLVM-internal tools (lit, FileCheck, not, *-tblgen, etc.);
    not installed by CMake, not intended for distribution
  - removed llvm-X.Y-tools (contained only internal tools)
  - removed autotools-specific artifacts (configure, Makefile, etc.)
  - removed dummy documentation files
2016-08-07 13:58:54 +00:00
Sylvestre Ledru
a46bba3186 fix various install issues 2016-05-16 14:10:18 +00:00
Sylvestre Ledru
aa289f879b Ship scan-build-py 2016-05-12 15:04:15 +00:00
Sylvestre Ledru
8450b9640f fix the last issues 2016-03-09 14:10:29 +00:00
Sylvestre Ledru
43c2efe17e fix the cmake build 2016-03-07 13:04:35 +00:00
Sylvestre Ledru
7138491dc0 * New upstream release
* Install a missing library to unbreak lldb (Closes: #815809)
* New snapshot release
* Update the clang description for something more accurate (C++-11, 14, etc)
* Update debian/orig-tar.sh to remove autoconf/config.sub autoconf/config.guess
  in polly
* clang-tidy-3.8: Remove Breaks/Replaces on clang-modernize-3.8.
* Disable lldb on s390x.
* New snapshot release
* Remove build-llvm/ after the install step to save space.
  Most of the rc1 builds failed because of hd space.
* New snapshot release
* Cmake migration. Done by Andrew Wilkins. Many thanks to him
  - Update patches to set SONAME in CMake build
  - Create symlinks with ".links", don't install from build tree
  - Remove LLVM-internal tools (lit, FileCheck, not, tblgen, etc.)
  - Remove llvm-X.Y-tools package, because it contained only
    internal tools that are not intended for distribution.
  - Remove autotools-specific artifacts from packages.
  - Remove "dummy" documentation artifacts from llvm-X.Y-docs
    package. Not built/installed by CMake, not useful.
  - Update control/rules to support CMake
  - Patch LLDB SWIG interfaces to workaround a bug in SWIG
    See https://llvm.org/bugs/show_bug.cgi?id=25468
  - add missing files to clang-format
  - Add patch to fix sanitizer lit invocation
  - removed LLVM-internal tools (lit, FileCheck, not, *-tblgen, etc.);
    not installed by CMake, not intended for distribution
  - removed llvm-X.Y-tools (contained only internal tools)
  - removed autotools-specific artifacts (configure, Makefile, etc.)
  - removed dummy documentation files
2016-03-05 11:31:54 +00:00
Sylvestre Ledru
bfbceeb386 fix the cmake 2016-03-05 11:30:02 +00:00
Sylvestre Ledru
d03409dc83 * New upstream release
* install missing file (TODO bug lldb)
2016-03-04 16:56:55 +00:00
Sylvestre Ledru
ac8d009c00 fix the build with cmake 2016-02-15 19:13:13 +00:00
Sylvestre Ledru
dd8713ffce * Cmake migration. Done by Andrew Wilkins. Many thanks to him
- Update patches to set SONAME in CMake build
  - Create symlinks with ".links", don't install from build tree
  - Remove LLVM-internal tools (lit, FileCheck, not, tblgen, etc.)
  - Remove llvm-X.Y-tools package, because it contained only
    internal tools that are not intended for distribution.
  - Remove autotools-specific artifacts from packages.
  - Remove "dummy" documentation artifacts from llvm-X.Y-docs
    package. Not built/installed by CMake, not useful.
  - Update control/rules to support CMake
  - Patch LLDB SWIG interfaces to workaround a bug in SWIG
    See https://llvm.org/bugs/show_bug.cgi?id=25468
  - add missing files to clang-format
  - Add patch to fix sanitizer lit invocation
  - removed LLVM-internal tools (lit, FileCheck, not, *-tblgen, etc.);
    not installed by CMake, not intended for distribution
  - removed llvm-X.Y-tools (contained only internal tools)
  - removed autotools-specific artifacts (configure, Makefile, etc.)
  - removed dummy documentation files
2016-02-08 12:49:57 +00:00
Sylvestre Ledru
0ba0844df3 - Create symlinks with ".links", don't install from build tree
- Remove LLVM-internal tools (lit, FileCheck, not, tblgen, etc.)
  - Remove llvm-X.Y-tools package, because it contained only
    internal tools that are not intended for distribution.
  - Remove autotools-specific artifacts from packages.
  - Remove "dummy" documentation artifacts from llvm-X.Y-docs
    package. Not built/installed by CMake, not useful.
2016-01-04 12:45:01 +00:00
Sylvestre Ledru
4a6bea3a90 Also ship sancov in clang-3.8 2015-11-18 10:35:47 +00:00
Sylvestre Ledru
eb1c84a2a2 * Ship run-clang-tidy.py & clang-tidy-diff.py in clang-tidy-3.8
* Add three new symbols in libclang1
  - clang_CompileCommand_getFilename@Base
  - clang_CompileCommand_getMappedSourceContent@Base 3.8
  - clang_CompileCommand_getMappedSourcePath@Base 3.8
2015-10-20 10:13:25 +00:00
Sylvestre Ledru
38db91f2b6 * Introduce clang-tidy-3.8 as a separate package. Replaces clang-modernize
* Remove cpp11-migrate-3.8 package. Has been replaced by clang-modernize
  for a while (which will be replaced by clang-tidy)
2015-10-19 09:00:38 +00:00
Sylvestre Ledru
92fa01f282 Ship run-clang-tidy.py & lang-tidy-diff.py 2015-09-21 11:16:48 +00:00
Sylvestre Ledru
b742b38391 No longer building some clang help page, removing them 2015-07-10 22:41:19 +00:00
Sylvestre Ledru
b7532d1eaa Ship clang-rename/clang-rename-3.6 2014-08-20 11:37:49 +00:00
Sylvestre Ledru
ffe25b4943 Ship clang-rename/clang-rename-3.6 (or not) 2014-08-19 11:52:43 +00:00
Sylvestre Ledru
bf749a7eba Ship clang-rename/clang-rename-3.6 2014-08-18 07:03:40 +00:00
Sylvestre Ledru
94db6453b2 * Co installation of clang (Closes: #736057)
- scan-build => scan-build-3.6
  - scan-view => scan-view-3.6
  - asan_symbolize => asan_symbolize-3.6
* Remove of pollycc
2014-08-02 11:45:46 +00:00
Sylvestre Ledru
8c0727ae09 Manage all files using .in mecanism. It will simplify the upgrade of
version
2014-07-28 11:34:35 +00:00