Commit Graph

6385 Commits

Author SHA1 Message Date
Sylvestre Ledru
605f2d257d remove the minor for llvm 2024-03-03 21:05:11 +01:00
Sylvestre Ledru
45469816b2 fix the version 2024-03-03 21:02:39 +01:00
Sylvestre Ledru
c83baea057 fix the minor declaration when building snapshot 2024-03-03 10:08:00 +01:00
Sylvestre Ledru
72cba48c0e rebase of the patch 2024-03-03 09:35:32 +01:00
Sylvestre Ledru
97865d4bcd Merge remote-tracking branch 'origin/18' into snapshot 2024-03-02 19:12:52 +01:00
Sylvestre Ledru
2364186eaf prepare upload 2024-03-02 18:45:00 +01:00
Sylvestre Ledru
fd69092f44 prepare upload 2024-03-02 18:43:44 +01:00
Sylvestre Ledru
4d71803afd fix the activation of libc 2024-03-02 18:43:44 +01:00
Sylvestre Ledru
220331fd72 rc4 2024-03-02 18:43:10 +01:00
Sylvestre Ledru
6d196f744d only enable libc on 3 archs 2024-03-02 18:43:09 +01:00
Sylvestre Ledru
9437bc9df3 fix the syntax 2024-03-02 18:43:09 +01:00
Sylvestre Ledru
5a1a595cd3 New snapshot release (amd64, arm64 and armhf) 2024-03-02 18:43:06 +01:00
Sylvestre Ledru
628838e4f8 add an llvmlibc test 2024-03-02 18:41:33 +01:00
Gianfranco Costamagna
9d92c3fc49 Refresh timestamp for changelog 2024-03-02 18:41:07 +01:00
Sylvestre Ledru
4db9f7c593 Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now) 2024-03-02 18:41:05 +01:00
Sylvestre Ledru
dbfd4f3b3f fix changelog 2024-03-02 18:40:31 +01:00
Sylvestre Ledru
7afcc29103 Ship libc++-18-dev /usr/lib/llvm-18/lib/libc++.modules.json /usr/lib/llvm-18/include/c++/v1/std.compat.cppm
/usr/lib/llvm-18/include/c++/v1/std.cppm
2024-03-02 18:40:11 +01:00
Sylvestre Ledru
95fce4b0dd Ship libc++-18-dev /usr/lib/llvm-18/lib/libc++.modules.json /usr/lib/llvm-18/include/c++/v1/std.compat.cppm
/usr/lib/llvm-18/include/c++/v1/std.cppm
2024-03-02 18:40:09 +01:00
Sylvestre Ledru
fb514a6547 add -DLIBCXX_INSTALL_MODULES=ON see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1 2024-03-02 18:39:40 +01:00
Gianfranco Costamagna
7fb872cba8 Update changelog 2024-03-02 18:39:06 +01:00
Gianfranco Costamagna
26c93c9ff7 Add code to hack time64 in 32bit builds, and try to disable stack protector on mips64el 2024-03-02 18:39:04 +01:00
Gianfranco Costamagna
bb17074e3c Revert: Try gold linker on mips64el 2024-03-02 18:37:06 +01:00
Sylvestre Ledru
e07b70ce71 fix changelog 2024-03-02 18:33:34 +01:00
Sylvestre Ledru
c5dd54428d fix the version detection 2024-03-02 17:19:43 +01:00
Sylvestre Ledru
d9946eabf0 rebase of the patch 2024-03-02 11:48:36 +01:00
Sylvestre Ledru
a1442f1a02 Also install usr/lib/llvm-18/lib/libLLVM.so.1 and usr/lib/llvm-18/lib/libLLVM.so.18.1 2024-03-01 22:00:19 +01:00
Sylvestre Ledru
3271139eeb adjust the version minor 2024-03-01 21:58:11 +01:00
Sylvestre Ledru
4b46fbf047 adjust the filename with the recent naming change 2024-03-01 18:05:30 +01:00
Sylvestre Ledru
67cd1db5ec fix the activation of libc 2024-03-01 16:09:06 +01:00
Sylvestre Ledru
bd88e28e5a Disable the install of libomp in sub arch Following 1977404d20ab29ff78a58d8c0f1f4c5e7aef6b16 2024-03-01 15:08:50 +01:00
Sylvestre Ledru
ba5358deed Disable the install of libomp in sub arch Following 1977404d20ab29ff78a58d8c0f1f4c5e7aef6b16 2024-03-01 13:58:07 +01:00
Sylvestre Ledru
72f45797b9 rebase of all patches 2024-02-28 11:12:03 +01:00
Sylvestre Ledru
dfa704d6fe rc4 2024-02-28 11:08:49 +01:00
Sylvestre Ledru
4005c9f4d4 rebase of all patches 2024-02-28 11:06:32 +01:00
Sylvestre Ledru
b42ff9916e only enable libc on 3 archs 2024-02-27 14:06:38 +01:00
Sylvestre Ledru
dad9d0d187 fix the syntax 2024-02-27 13:39:07 +01:00
Sylvestre Ledru
a80bdfc563 New snapshot release (amd64, arm64 and armhf) 2024-02-27 08:45:30 +01:00
Sylvestre Ledru
d4d38faa71 add an llvmlibc test 2024-02-27 08:41:32 +01:00
Sylvestre Ledru
de649b0b13 rebase of all patches 2024-02-26 21:56:29 +01:00
Sylvestre Ledru
3071f6c49c rebase of the patches 2024-02-23 09:01:00 +01:00
Gianfranco Costamagna
5b030d7eb8 Merge tag 'debian/1%18.1.0_rc2-4' into 18
llvm-toolchain-18 Debian release 1:18.1.0~rc2-4
2024-02-22 17:58:43 +01:00
Gianfranco Costamagna
5b6b66c4c7 Refresh timestamp for changelog 2024-02-22 17:58:25 +01:00
Gianfranco Costamagna
61c73fcbe8 Merge remote-tracking branch 'origin/18' into 18 2024-02-22 14:23:43 +01:00
Gianfranco Costamagna
b8b0648991 Update changelog 2024-02-22 14:11:36 +01:00
Gianfranco Costamagna
1a18aa1aa6 Add code to hack time64 in 32bit builds, and try to disable stack protector on mips64el 2024-02-22 14:10:45 +01:00
Sylvestre Ledru
636a3ead98 Install clang-installapi as part of clang-tools 2024-02-22 12:25:53 +01:00
Sylvestre Ledru
a01f7104e6 Also install usr/lib/llvm-19/lib/libLLVM.so.1 and usr/lib/llvm-19/lib/libLLVM.so.19.0 2024-02-22 12:23:00 +01:00
Gianfranco Costamagna
a656221b33 Revert: Try gold linker on mips64el 2024-02-22 09:20:50 +01:00
Sylvestre Ledru
4e4ef90e8d adjust the filename with the recent naming change 2024-02-21 10:43:08 +01:00
Sylvestre Ledru
8ab71b62cf Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now) 2024-02-20 22:43:10 +01:00
Sylvestre Ledru
989a63a68e fix changelog 2024-02-20 22:40:44 +01:00
Sylvestre Ledru
9cd963c144 Ship libc++-18-dev /usr/lib/llvm-18/lib/libc++.modules.json /usr/lib/llvm-18/include/c++/v1/std.compat.cppm
/usr/lib/llvm-18/include/c++/v1/std.cppm
2024-02-20 22:15:26 +01:00
Sylvestre Ledru
0f2646e14e rebase of all patches 2024-02-20 12:51:51 +01:00
Sylvestre Ledru
397c393faf Ship libc++-18-dev /usr/lib/llvm-18/lib/libc++.modules.json /usr/lib/llvm-18/include/c++/v1/std.compat.cppm
/usr/lib/llvm-18/include/c++/v1/std.cppm
2024-02-19 16:22:25 +01:00
Sylvestre Ledru
7b03b77030 Merge remote-tracking branch 'origin/18' into snapshot 2024-02-19 13:16:37 +01:00
Sylvestre Ledru
4df76dc5b4 add -DLIBCXX_INSTALL_MODULES=ON see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1 2024-02-18 22:34:33 +01:00
John Paul Adrian Glaubitz
88f4607443 Run chrpath for libclang on sparc and sparc64 2024-02-16 09:55:59 +01:00
John Paul Adrian Glaubitz
34affc3768 Install *clang_rt* on sparc and sparc64 2024-02-16 09:54:15 +01:00
John Paul Adrian Glaubitz
042d184430 Run chrpath for libclang on sparc and sparc64 2024-02-16 09:51:59 +01:00
John Paul Adrian Glaubitz
5162aed5c4 Install *clang_rt* on sparc and sparc64 2024-02-16 09:51:01 +01:00
Sylvestre Ledru
2a5c838b13 show DEB_BUILD_MAINT_OPTIONS too 2024-02-11 14:44:43 +01:00
Sylvestre Ledru
74834881c5 Add abi=+time64,+lfs only on 64bits system 2024-02-11 14:29:38 +01:00
Sylvestre Ledru
0df41ae435 Merge remote-tracking branch 'origin/18' into snapshot 2024-02-09 12:40:23 +01:00
Sylvestre Ledru
1bce57bd9d remove a useless tab 2024-02-09 12:38:41 +01:00
Sylvestre Ledru
ef3fcf56a1 s390x sccache: increase cache size to 20G 2024-02-09 12:38:36 +01:00
Gianfranco Costamagna
ae1fec8b42 Merge changelogs 2024-02-09 08:14:19 +01:00
Gianfranco Costamagna
d49a6f36a7 Try gold linker on mips64el 2024-02-08 19:11:26 +01:00
Gianfranco Costamagna
180dae8259 Update changelog 2024-02-08 16:38:55 +01:00
Gianfranco Costamagna
677b521d81 Also add lfs to fix 32bit build failures 2024-02-08 16:38:25 +01:00
Sylvestre Ledru
de773831ff update of the changelog 2024-02-08 09:14:36 +01:00
Sylvestre Ledru
1d07bd10e2 add new symbols in libomp5 2024-02-08 09:12:48 +01:00
Sylvestre Ledru
ce9199b0a7 fix the hour 2024-02-07 21:15:59 +01:00
Sylvestre Ledru
32fad6b16b new upstream release 2024-02-07 17:24:17 +01:00
Gianfranco Costamagna
d368a36668 Upload to sid 2024-02-07 16:06:29 +01:00
Gianfranco Costamagna
5c457ebd26 Fix tests by adding a .1 to clang and llvm versions 2024-02-07 16:06:08 +01:00
Gianfranco Costamagna
930c1c116e Fix another underlinking in qualify-clang.sh 2024-02-07 16:05:32 +01:00
Gianfranco Costamagna
091616a2c5 Prepare-new-release is now updated for llvm-19 2024-02-07 15:07:47 +01:00
Gianfranco Costamagna
a9eb2f4051 Fix time64 regex in the right place 2024-02-07 15:04:05 +01:00
Gianfranco Costamagna
e973cca72f Fix an underlinking on qualify-clang.sh 2024-02-07 15:03:54 +01:00
Gianfranco Costamagna
b6fd551868 Switch testing to 18 line 2024-02-07 15:02:30 +01:00
Sylvestre Ledru
2119359440 Update of the libomp symbols 2024-02-06 07:40:58 +01:00
Gianfranco Costamagna
c00516863f Update changelog and comment the change in rules file 2024-02-05 08:29:58 +01:00
Gianfranco Costamagna
aa3c31fb57 Use ABI time64 to avoid a transition for a new package 2024-02-05 07:59:33 +01:00
Gianfranco Costamagna
0e510a0940 Fixup versioning for rc and go for sid instead 2024-01-31 10:38:20 +01:00
Sylvestre Ledru
a95ae64bef fix changelog 2024-01-30 20:47:26 +01:00
Sylvestre Ledru
c23a68046a hwasan_symbolize is now built also on i386 2024-01-30 20:46:57 +01:00
Sylvestre Ledru
cf9481e21a update of the changelog 2024-01-30 13:23:35 +01:00
Sylvestre Ledru
9f699cd80c First RC 2024-01-30 13:21:49 +01:00
Sylvestre Ledru
0b7d4d6ccf document why 18.1.0 2024-01-30 13:21:49 +01:00
Samuel Thibault
fc5416c767 control: Avoid hello build-dep getting pulled in on buildds
If we use

foo [amd64] | hello,
bar | hello

on non-amd64 archs this gets reduced to

hello,
bar | hello

And thus hello gets installed, and thus bar does not get installed. In
the llvm-toolchain package case, this leads to wasi-libc not getting
installed as expected in experimental builds, as can be seen in various
archs:

https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=hurd-i386&ver=1%3A19~%2B%2B20240125092523%2B41fe98a6e7e5-1~exp1&stamp=1706212747&raw=0
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=ia64&ver=1%3A19~%2B%2B20240125092523%2B41fe98a6e7e5-1~exp1&stamp=1706212238&raw=0
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=loong64&ver=1%3A19~%2B%2B20240125092523%2B41fe98a6e7e5-1~exp1&stamp=1706211390&raw=0
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=x32&ver=1%3A19~%2B%2B20240125092523%2B41fe98a6e7e5-1~exp1&stamp=1706211402&raw=0

So we should rather be using:

foo [amd64] | hello [amd64],
bar | hello

i.e. keep the constraints coherent, so that on non-amd64 this gets
translated to

bar | hello

which will not unexpectedly install the hello package, and properly
install bar.
2024-01-28 14:00:59 +01:00
Sylvestre Ledru
6b5f8935a3 fix changelog 2024-01-26 09:46:26 +01:00
Sylvestre Ledru
c34e9c285d hwasan_symbolize is now built also on i386 2024-01-25 17:48:08 +01:00
Sylvestre Ledru
36ac0a5063 fix the date 2024-01-25 14:51:16 +01:00
Sylvestre Ledru
badd6b9acb pre upload 2024-01-25 10:55:02 +01:00
Sylvestre Ledru
30d03737dd rebase of the patch 2024-01-25 09:21:13 +01:00
Sylvestre Ledru
c4000f7f7f Merge remote-tracking branch 'origin/18' into snapshot 2024-01-25 09:17:14 +01:00
Sylvestre Ledru
89818eb946 prepare 18 upload 2024-01-24 22:14:23 +01:00
Sylvestre Ledru
417b996088 upgrade of the version 2024-01-24 16:40:18 +01:00
Sylvestre Ledru
f772867c05 remove changelog artifact 2024-01-24 14:08:55 +01:00
Sylvestre Ledru
4c32e531c9 branch of 19 2024-01-24 14:08:32 +01:00
Sylvestre Ledru
d1e6fa6dc3 Branching of 18 2024-01-24 14:07:30 +01:00
Sylvestre Ledru
1f1f89223e refresh of the control 2024-01-24 14:06:47 +01:00
Sylvestre Ledru
b0202b9d7a remove old break/replace 2024-01-24 14:05:28 +01:00
Sylvestre Ledru
16c9e480ce remove old break/replace 2024-01-24 14:03:41 +01:00
Sylvestre Ledru
1e35ae451d fix merge 2024-01-24 14:01:13 +01:00
Sylvestre Ledru
f2597caf79 Merge remote-tracking branch 'origin/17' into 18 2024-01-24 14:00:36 +01:00
Sylvestre Ledru
5b90795822 prepare 19 2024-01-24 13:56:36 +01:00
Sylvestre Ledru
aeffa1783e Merge remote-tracking branch 'origin/17' into snapshot 2024-01-24 13:41:52 +01:00
Sylvestre Ledru
a883ee8d45 try to enable sccache on 'my' s390x machines 2024-01-24 13:30:08 +01:00
Sylvestre Ledru
9827291d40 try to enable sccache on 'my' s390x machines 2024-01-24 11:51:17 +01:00
Sylvestre Ledru
49ab7c1cb2 Also pass -DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF to libcxx-wasm32-wasi builds 2024-01-19 14:58:47 +01:00
Sylvestre Ledru
de19e367c2 remove the unconditionnaly defined -DLIBUNWIND_USE_COMPILER_RT=ON 2024-01-19 09:34:37 +01:00
Sylvestre Ledru
028803b995 remove the unconditionnaly defined -DLIBUNWIND_USE_COMPILER_RT=ON 2024-01-19 09:34:07 +01:00
Sylvestre Ledru
a7fbe8483a rebase of the patch 2024-01-17 09:17:43 +01:00
Sylvestre Ledru
2a2d05e967 update of the changelog 2024-01-15 08:56:45 +01:00
Sylvestre Ledru
97c059388e uploaded 2024-01-15 08:56:07 +01:00
chenli
2cd430f493 Enable flang on loong64 2024-01-15 14:14:05 +08:00
Sylvestre Ledru
d5816efd66 For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind https://github.com/llvm/llvm-project/issues/77846 2024-01-12 18:33:44 +01:00
Sylvestre Ledru
fcf132b2c9 disable sccache when building with coverity 2024-01-12 10:36:24 +01:00
Sylvestre Ledru
e976326360 change the order of coverity/sccache 2024-01-12 10:29:47 +01:00
Faidon Liambotis
9a997c5589 Fix i386 FTBFS resulting from COMPILER_RT_DEFAULT_TARGET_ONLY
> dh_install: warning: Cannot find (any matches for) "usr/lib/llvm-17/lib/clang/17/bin/hwasan_symbolize" (tried in ., debian/tmp)

hwasan_symbolize is actually an 64-bit-only feature, and was
accidentally included before. Replace the arch opt-out list, with an
opt-in one and a comment pointing to HWASAN_SUPPORTED_ARCH.

> dh_install: warning: Cannot find (any matches for) "usr/lib/llvm-17/lib/clang/17*/lib/linux/liborc_rt*" (tried in ., debian/tmp)

i386 is not in the ALL_ORC_SUPPORTED_ARCH list. Previously, the package
shipped liborc_rt-x86_64.a, but since we don't ship amd64 multilib
binaries anymore, remove the reference.

Addresses regressions introduced with commit:
  400d893908
  Enable COMPILER_RT_DEFAULT_TARGET_ONLY for all archs
2024-01-10 09:47:01 +02:00
Faidon Liambotis
bdfce0866c Revert "Enable COMPILER_RT_BUILD_BUILTINS for armel"
FTBFSes with:

FAILED: CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o
/<<PKGBUILDDIR>>/build-llvm/./bin/clang -target arm-linux-gnueabi -DVISIBILITY_HIDDEN  -O3 -DNDEBUG -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -DCOMPILER_RT_HAS_FLOAT16 -MD -MT CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o -MF CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o.d -o CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o -c /<<PKGBUILDDIR>>/compiler-rt/lib/builtins/arm/sync_fetch_and_add_4.S
In file included from /<<PKGBUILDDIR>>/compiler-rt/lib/builtins/arm/sync_fetch_and_add_4.S:14:
/<<PKGBUILDDIR>>/compiler-rt/lib/builtins/arm/sync-ops.h:22:2: error: DMB is only supported on ARMv6+
   22 | #error DMB is only supported on ARMv6+
      |  ^

This was despite an upstream commit labeled "[compiler-rt] support
armv4t". Perhaps something going on with the way we configure? Revert
for the time being, until (if) someone cares.

This reverts commit 1b0abffef7.
2024-01-10 09:32:21 +02:00
Sylvestre Ledru
5a693e2501 rebase of the patch 2024-01-09 23:42:35 +01:00
Sylvestre Ledru
556a6737b6 debian/qualify-clang.sh: remove the test of i386 - use libcompiler-rt:i386 instead 2024-01-09 13:04:50 +01:00
Sylvestre Ledru
70777a3fed fix package name 2024-01-09 11:54:56 +01:00
Sylvestre Ledru
ac5a7481d4 fix changelog 2024-01-09 11:53:43 +01:00
Sylvestre Ledru
0c176de6ac prepare upload 2024-01-09 09:45:59 +01:00
Sylvestre Ledru
f463aa4e23 Cherry pick the wasm fix from 16 (Closes: #1057838) 2024-01-09 09:42:47 +01:00
Sylvestre Ledru
1de36891cf Merge branch 'common-arch-all' into '17'
Convert libclang-common-*-dev to Arch: all/M-A: foreign

See merge request pkg-llvm-team/llvm-toolchain!129
2024-01-09 08:29:32 +00:00
Sylvestre Ledru
8fe0ffdaf1 Merge branch 'doc-m-a-foreign' into '17'
Mark documentation packages as Multi-Arch: foreign

See merge request pkg-llvm-team/llvm-toolchain!128
2024-01-09 08:29:23 +00:00
Sylvestre Ledru
e61452acd6 Merge branch 'clang-rt-armel' into '17'
Enable COMPILER_RT_BUILD_BUILTINS for armel

See merge request pkg-llvm-team/llvm-toolchain!126
2024-01-09 08:28:12 +00:00
Sylvestre Ledru
e9d8ac6c22 Merge branch 'clang-rt-default-only' into '17'
Enable COMPILER_RT_DEFAULT_TARGET_ONLY for all archs

See merge request pkg-llvm-team/llvm-toolchain!125
2024-01-08 14:01:59 +00:00
Sylvestre Ledru
4bad159356 Merge branch 'sparc-unreferenced' into '17'
Drop two unreferenced debian/patches

See merge request pkg-llvm-team/llvm-toolchain!127
2024-01-08 13:59:21 +00:00
Faidon Liambotis
c7d388292f Convert libclang-common-*-dev to Arch: all/M-A: foreign
libclang-common-*-dev is an Architecture: any package, possibly due to
the fact that it contained compiler-rt before it was split off to a
separate package. It is not marked as Multi-Arch: same, despite the
hinter suggesting to do so, presumably due to identical files.

Convert it to Architecture: all / Multi-Arch: foreign instead. This
requires the removal of the arch: any dependency libllvm17, which is
spurious anyway. However, for extra safety, add version specifiers to
other packages that do depend on (an unversioned) libllvm17, such as
clang.
2024-01-08 15:44:59 +02:00
Faidon Liambotis
84f2134e5c Mark documentation packages as Multi-Arch: foreign
..and convert clang-*-examples from Architecture: any -> all.

Identified by the multiarch hinter:
  * clang-17-examples could be converted to Architecture: all and marked Multi-Arch: foreign
  * clang-17-doc could be marked Multi-Arch: foreign
  * libomp-17-doc could be marked Multi-Arch: foreign
  * llvm-17-doc could be marked Multi-Arch: foreign
2024-01-08 15:44:06 +02:00
Faidon Liambotis
7b0348cfde Drop two unreferenced debian/patches
sparc/sparc-D98574-clang-def.patch and
sparc/sparc-D98575-compiler-rt.patch are not in debian/patches/series so
it's safe to drop them. D98574 is now merged, D98575 is abandoned, due
to it being fixed elsewhere, so there's no chance they're going to be
revived either.
2024-01-08 15:42:31 +02:00
Faidon Liambotis
1b0abffef7 Enable COMPILER_RT_BUILD_BUILTINS for armel
According to upstream commit aadec60ad9b81f00cf6fcdcbff61f1144d206769,
starting with LLVM 17, armv4t is now supported.

(untested)
2024-01-08 15:41:38 +02:00
Faidon Liambotis
400d893908 Enable COMPILER_RT_DEFAULT_TARGET_ONLY for all archs
This commit does two things in one go:
1) Enable COMPILER_RT_DEFAULT_TARGET_ONLY for i386 and amd64:

Right now i386/amd64 are building compiler-rt for each other, in
addition to themselves.:
 - libclang-rt-17-dev:amd64 is also shipping the i386 builtins, and
   Depending on libc6-i386:amd64/lib32stdc++:amd64.
 - libclang-rt-17-dev:i386 is also shipping the x86_64 built-ins, and
   Depending on libc6-amd64:i386/lib64stdc++6:i386/lib64atomic1:i386.

Beyond the extra cruft in files and dependencies, this means that the
amd64/i386 packages are shipping conflicting files, and dpkg is refusing
to unpack one in the presence of the other (an RC bug in itself). This
is also identified by the multiarch hinter with the following message:
   libclang-rt-17-dev conflicts on 78 files starting with /usr/lib/llvm-17/lib/clang/17/lib/linux/ on amd64 <-> i386

Let users who want to build e.g. 32-bit binaries in amd64 use multi-arch
for this use case, by installing libclang-rt-17-dev:i386. The
alternative would be to support multi-lib, and ship additional packages
such as libclang-rt-17-dev-i386:amd64 (and vice-versa), but this feels
like an overkill. Multi-lib remains still a possibility with (Debian's)
clang's default, libgcc (lib32gcc/lib64gcc) as well.

2) Enable COMPILER_RT_DEFAULT_TARGET_ONLY unconditionally:

This was being passed in an opt-in basis, via STAGE_ALL_CMAKE_EXTRA for
the following architectures:
  * armel
  * armhf
  * powerpc
  * sparc
  * sparc64
  * s390x
  * mips64el
  * hurd-i386

So, with i386/amd64 also opting-in, this leaves only a few remaining
Debian architectures.

Furthermore, upon inspecting compiler-rt/cmake/base-config-ix.cmake, it
looks like the only architectures that are actually building for
additional (non-default) targets are i386, amd64, powerpc (note: not
ppc64el!), mips*, and arm. Turns out we've disabled that for all of them
now.

Therefore, pass COMPILER_RT_DEFAULT_TARGET_ONLY=ON to all architectures
unconditionally, and thus reduce an additional variation factor.
2024-01-08 15:40:12 +02:00
Faidon Liambotis
4c6dc0ef68 Add libc++-*-dev -> libc++abi-*-dev dependency
libc++abi-*-dev is necessary when using libc++-*-dev:
  $ apt install clang-17 libc++-17-dev
  $ clang++-17 -stdlib=libc++ -o hello hello.cpp
  /usr/bin/ld: cannot find -lc++abi: No such file or directory
  clang++-17: error: linker command failed with exit code 1 (use -v to see invocation)

Note that the libc++1-* -> libc++abi-* dependency already exists.
2024-01-08 15:36:56 +02:00
Sylvestre Ledru
c659ae9a28 refresh libomp5 symbol list 2023-12-20 10:17:53 +01:00
Sylvestre Ledru
2adf1da1ef rebase of the patch 2023-12-18 23:23:58 +01:00
Sylvestre Ledru
35c0ede504 rebase of the patch 2023-12-13 21:56:20 +01:00
Matthias Klose
e20f4b1bba * libclang1-17: Remove the full version symlinks. 2023-12-11 22:56:07 +01:00
Sylvestre Ledru
6687fb0527 * New snapshot release
* Fix a libc++ conflicts (Closes: #1057899)
2023-12-11 10:35:09 +01:00
Sylvestre Ledru
845e43e80f Merge remote-tracking branch 'origin/17' into snapshot 2023-12-11 10:26:13 +01:00
Sylvestre Ledru
ff81119e58 rebase of the patch 2023-12-09 23:31:35 +01:00
Sylvestre Ledru
5a842ba5c2 prepare upload 2023-12-09 23:15:50 +01:00
Sylvestre Ledru
395e9a3e89 qualify-clang.sh: fix the filename 2023-12-09 22:58:13 +01:00
Sylvestre Ledru
e080ef40f3 fix https://github.com/llvm/llvm-project/issues/74766 2023-12-08 09:55:23 +01:00
Gianfranco Costamagna
142b0f07b4 Update changelog 2023-12-08 09:49:20 +01:00
Gianfranco Costamagna
92c2f79260 Drop sed command, useless now 2023-12-08 09:48:50 +01:00
Sylvestre Ledru
9622f7635a Also add back /usr/lib/llvm-17/lib/libclang-17.so.1 2023-12-06 17:56:50 +01:00
Sylvestre Ledru
295214f8d0 cherry pick the change from 17 about the cmake 2023-12-06 17:08:31 +01:00
Sylvestre Ledru
55b75cf44f Fix the EmitBackendOutput test in debian/qualify-clang.sh 2023-12-06 15:10:01 +01:00
Sylvestre Ledru
ee43996aae remove old break/replaces 2023-12-06 11:23:10 +01:00
Sylvestre Ledru
5643163c61 refresh debian/control 2023-12-06 11:22:19 +01:00
Sylvestre Ledru
2d79706115 Move the symlink /usr/lib/*/libc++experimental.a from libc++abi-17-dev to libc++-17-dev 2023-12-06 11:20:00 +01:00
Sylvestre Ledru
9d80d3d62e rename of the patch 2023-12-06 10:35:19 +01:00
Sylvestre Ledru
dd52f2e40c rename of the patch 2023-12-06 10:33:00 +01:00
Sylvestre Ledru
b6debd0c08 rebase of the patch 2023-12-06 10:29:45 +01:00
Sylvestre Ledru
f82e3a2f95 libc++experimental.a is in libc++-17-dev, not libc++abi-17-dev 2023-12-06 10:26:21 +01:00
Sylvestre Ledru
b3f5e896b1 qualify-clang.sh : add missing package 2023-12-06 10:26:21 +01:00
Sylvestre Ledru
60d6dd5b5d prepare upload 2023-12-06 10:23:21 +01:00
Matthias Klose
b849383755 * Apply the proposed fix for D158491, build failure on mips64el, still
unreviewed upstream. Addresses: #1056116.
2023-12-06 10:01:37 +01:00
Matthias Klose
5e253166ac * Apply the proposed fix for D158491, build failure on mips64el, still
unreviewed upstream. Addresses: #1056116.
2023-12-06 09:59:55 +01:00
Gianfranco Costamagna
d7e966255e Merge branch 'riscv64-parallel' into '17'
Do not limit the parallel links on riscv64

See merge request pkg-llvm-team/llvm-toolchain!122
2023-12-05 10:49:12 +00:00
Matthias Klose
9aa5a6b013 * Set the cpu defaults for the ARM32 architectures:
- armel: arm926ej-s. Addresses: #1056115.
    - armhf: cortex-a8.
    Thanks to Arnd Bergmann and Ard Biesheuvel for the fixes.
2023-12-05 09:43:34 +01:00
Matthias Klose
01a06b481e * Set the cpu defaults for the ARM32 architectures:
- armel: arm926ej-s. Closes: #1056115.
    - armhf: cortex-a8.
    Thanks to Arnd Bergmann and Ard Biesheuvel for the fixes.
2023-12-05 09:42:31 +01:00
Sylvestre Ledru
e03dd05554 fix changelog 2023-12-05 07:45:54 +01:00
Sylvestre Ledru
35cc1319c6 * revert debian/patches/arm32-defaults.diff for causing
https://lore.kernel.org/lkml/20231204225148.GA2094126@dev-arch.thelio-3990X/T/
2023-12-05 07:44:35 +01:00
Sylvestre Ledru
04b600fe3b Revert " * Set the cpu defaults for the ARM32 architectures:"
for causing this issue:
https://lore.kernel.org/lkml/20231204225148.GA2094126@dev-arch.thelio-3990X/T/

This reverts commit 97633b6d51.
2023-12-05 07:41:52 +01:00
Matthias Klose
695fe3013f * libclang1-17: Hard-code the last full versions for the symlinks. 2023-12-04 13:23:09 +01:00
Sylvestre Ledru
c9f95b639f fix changelog 2023-12-03 10:22:33 +01:00
Sylvestre Ledru
f30121f5a7 prepare upload 2023-12-03 10:16:28 +01:00
Matthias Klose
907baf024b * Set the cpu defaults for the ARM32 architectures:
- armel: arm9e. Closes: #1056115.
    - armhf: cortex-a7.
2023-12-02 23:27:56 +01:00
Matthias Klose
97633b6d51 * Set the cpu defaults for the ARM32 architectures:
- armel: arm9e. Closes: #1056115.
    - armhf: cortex-a7.
2023-12-02 23:20:35 +01:00
Gianfranco Costamagna
bb32f75327 Fix typo 2023-12-01 23:38:00 +01:00
Matthias Klose
34ed134da1 * Also use the free swap to determine the number of parallel processes. 2023-12-01 19:13:33 +01:00
Matthias Klose
e6bb61d217 * Also use the free swap to determine the number of parallel processes. 2023-12-01 19:11:33 +01:00
Gianfranco Costamagna
83ad62f9cf Update changelog 2023-12-01 10:50:39 +01:00
Gianfranco Costamagna
a483a6798a Try to fix Debian bug #1057151 2023-12-01 10:49:34 +01:00
Gianfranco Costamagna
81ad460681 Add missing dependency for new test 2023-11-30 22:21:20 +01:00
Gianfranco Costamagna
70032f71d7 Add new cmake-clang-test to spot issues such as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057151 2023-11-30 22:04:50 +01:00
Matthias Klose
6297fd36b2 * Restore the patch for D148945, searching /usr/lib/llvm-18/lib by default.
Addresses: #1056580.
2023-11-29 19:02:26 +01:00
Sylvestre Ledru
89439def8c llvmspirv remove the i386 restriction 2023-11-29 14:46:43 +01:00
Sylvestre Ledru
408a72442d fix changelog 2023-11-28 12:17:28 +01:00
Sylvestre Ledru
a505f7c309 fix unpack 2023-11-28 11:42:43 +01:00
Sylvestre Ledru
1b14b139f0 Remove __tgt_rtl_deinit_plugin & __tgt_rtl_deinit_device symbols from openmp https://github.com/llvm/llvm-project/pull/73557 2023-11-28 10:18:06 +01:00
Matthias Klose
eb0584923e Merge branch '17' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 17 2023-11-27 10:37:19 +01:00
Matthias Klose
c07405b825 * Restore the patch for D148945, searching /usr/lib/llvm-17/lib by default.
Closes: #1056580.
2023-11-27 10:36:47 +01:00
Sylvestre Ledru
70cf59d852 rebase of the patch 2023-11-27 10:27:53 +01:00
John Paul Adrian Glaubitz
a8dd526d5d Don't install *clang_rt* on sparc and sparc64 2023-11-25 11:23:40 +01:00
John Paul Adrian Glaubitz
959d8c8ee1 Don't install *clang_rt* on sparc and sparc64 2023-11-25 11:20:13 +01:00
Matthias Klose
0bb9f9b777 * libclang1-17: Provide a symlink for the last soname with the full version. 2023-11-25 09:54:10 +01:00
Matthias Klose
0f0b0527b1 correct changelog entry 2023-11-24 17:52:47 +01:00
Matthias Klose
73955b611d * libclang1-18: Only encode the major version in the soname. Closes: #1056126. 2023-11-24 17:49:02 +01:00
Matthias Klose
5cda29f509 * libclang1-17: Only encode the major version in the soname. Closes: #1056126. 2023-11-24 17:45:03 +01:00
Sylvestre Ledru
d2e2ed9cdb llvm-spirv-17: fix 'llvm-spirv-17 but it is not installable' on i386 2023-11-23 23:57:36 +01:00
Sylvestre Ledru
4763fb888c rebase of the patches 2023-11-23 10:57:54 +01:00
Matthias Klose
35076f5af3 * Fix stripping build flags on Ubuntu/ppc64el. 2023-11-23 09:45:14 +01:00
Matthias Klose
beec0c2024 * Fix stripping build flags on Ubuntu/ppc64el. 2023-11-23 09:44:36 +01:00
Sylvestre Ledru
6e56a740df Merge remote-tracking branch 'origin/17' into snapshot 2023-11-22 23:46:16 +01:00
Sylvestre Ledru
a7ae059e08 explain how to debug the issue 2023-11-22 23:20:26 +01:00
Sylvestre Ledru
1d8b2e734d rebase of the patches 2023-11-22 22:50:24 +01:00
Gianfranco Costamagna
b5ccb8c06f Drop extra spaces 2023-11-22 17:02:14 +01:00
Sylvestre Ledru
19fe78dea0 fix conflict 2023-11-22 10:36:34 +01:00
Sylvestre Ledru
0c09647cd0 fix syntax 2023-11-22 09:18:06 +01:00
Sylvestre Ledru
a747b6c784 * New supstream release
* New snapshot release
2023-11-22 09:17:46 +01:00
Sylvestre Ledru
363182564f add a check that, if we are going to build wasm, wasi-libc is installed on the system 2023-11-22 00:31:44 +01:00
Sylvestre Ledru
789660216a try to relax the wasi-libc dep declaration for apt.llvm.org 2023-11-22 00:22:34 +01:00
Sylvestre Ledru
cfffa8ace2 refresh debian/control with control.in changes 2023-11-22 00:22:06 +01:00
Sylvestre Ledru
edfb1e171e relax the wasi-libc dep declaration 2023-11-22 00:21:48 +01:00
Sylvestre Ledru
4e522af7c8 Add a symlink for libc++experimental.a to /usr/lib/*/libc++experimental.a to fix https://github.com/llvm/llvm-project/issues/72753 2023-11-20 19:35:31 +01:00
Sylvestre Ledru
595804bfd5 relax to the dep llvm-spirv-17 2023-11-19 00:09:45 +01:00
Matthias Klose
cce043eec0 Fix typos 2023-11-17 08:56:12 +01:00
Matthias Klose
4c24440f87 * Don't build-depend on llvm-spirv-17 on armel and mipsel (LLVM 17 is not
yet built on these architectures).
2023-11-17 08:44:12 +01:00
Gianfranco Costamagna
02bfadc696 Update changelog 2023-11-15 17:54:44 +01:00
Gianfranco Costamagna
c747f322da Further limit the number of parallel processes 2023-11-15 17:54:36 +01:00
Sylvestre Ledru
ff70904ea8 rebase of the patch 2023-11-14 10:02:53 +01:00
Sylvestre Ledru
7953731b2c Merge remote-tracking branch 'origin/17' into snapshot 2023-11-13 12:03:38 +01:00
Sylvestre Ledru
313afe17d4 Merge remote-tracking branch 'origin/16' into 17 2023-11-12 22:22:55 +01:00
Sylvestre Ledru
fe997716a1 fix the declaration for the archs 2023-11-12 12:24:32 +01:00
Sylvestre Ledru
ff67b05869 fix the check 2023-11-12 09:43:04 +01:00
Sylvestre Ledru
43c7b3b296 disable spv files too 2023-11-11 20:09:55 +01:00
Sylvestre Ledru
056802f7cd Change the logic to disable SPIRV. Disable it on most of the versions because it needs llvm-spirv-16. Enabled on trixie/sid, Ubuntu Mantic 2023-11-11 19:27:27 +01:00
Sylvestre Ledru
80a169f8c2 fix the space syntax 2023-11-11 11:03:48 +01:00
Sylvestre Ledru
3975016630 For Ubuntu bionic, improve the deactivation of lldb python 2023-11-11 10:53:12 +01:00
Matthias Klose
57cfe6e663 * Also install liborc_rt*.a on ppc64 and ppc64el. 2023-11-11 10:45:07 +01:00
Sylvestre Ledru
d7a2adfa62 prepare upload 2023-11-11 09:58:56 +01:00
Sylvestre Ledru
f666a0bd0f Do not build spirv features on bookworm as the spirv compiler is too old: FAILED: spirv-mesa3d-.spv /build/source/libclc/build/spirv-mesa3d-.spv cd /build/source/libclc/build && /usr/bin/llvm-spirv-15 --spirv-max-version=1.1 -o spirv-mesa3d-.spv builtins.link.spirv-mesa3d-.bc Unknown attribute kind (86) (Producer: 'LLVM16.0.6' Reader: 'LLVM 15.0.6') 2023-11-11 09:58:34 +01:00
Sylvestre Ledru
8b7ecb4ecb add debug info 2023-11-11 09:57:06 +01:00
Sylvestre Ledru
600418a050 remove unecessary quotes 2023-11-11 09:49:30 +01:00
Matthias Klose
1d6486afa7 [ Matthias Klose ]
* Build-depend on llvm-spirv-17.
2023-11-10 13:46:03 +01:00
John Paul Adrian Glaubitz
fecd5d216d Don't run chrpath for libclang on sparc and sparc64 2023-11-09 10:08:32 +01:00
John Paul Adrian Glaubitz
738814be41 Don't run chrpath for libclang on sparc and sparc64 2023-11-09 09:57:13 +01:00
Sylvestre Ledru
9e0f02474c rebase of the patch 2023-11-02 11:06:47 +01:00
Sylvestre Ledru
3ac7eba5ba remove patch applied upstream 2023-11-01 21:58:32 +01:00
Sylvestre Ledru
e4de0d4cf2 fix changelog 2023-11-01 21:58:17 +01:00
Sylvestre Ledru
bc63e7cd3a rebase of the patch 2023-11-01 13:04:41 +01:00
Aurelien Jarno
1d1009e596 Do not limit the parallel links on riscv64
The parallel links has been limited to 2 on riscv64 to support the
Ubuntu riscv64 buildds. Now that the number of process is determined
depending on the amount of buildd memory, this is no need anymore.
2023-10-31 23:35:25 +01:00
Gianfranco Costamagna
47c0b0ebf8 Merge branch '17' into snapshot 2023-10-31 23:03:22 +01:00
Gianfranco Costamagna
f0fcfca366 Merge branch '16' into 17 2023-10-31 23:02:31 +01:00
Steve Langasek
2840ec0456 Add noble as supported Ubuntu release 2023-10-31 22:54:49 +01:00
Sylvestre Ledru
7ab89db8de fix changelog 2023-10-31 22:20:03 +01:00
Sylvestre Ledru
5578548066 * New supstream release
* Upload to unstable
* New snapshot release
2023-10-31 22:19:41 +01:00
Sylvestre Ledru
9bae99b539 Ship tblgen-to-irdl as part of mlir-tools 2023-10-27 19:22:06 +02:00
Gianfranco Costamagna
dde7a0d784 Merge branch '17' into snapshot 2023-10-25 09:39:28 +02:00
Gianfranco Costamagna
478cc6d24c Update patch 2023-10-25 09:39:22 +02:00
Gianfranco Costamagna
e717afad81 Fixup changelog 2023-10-25 09:23:34 +02:00
Gianfranco Costamagna
bb6399fe48 Merge branch '17' into snapshot 2023-10-25 09:23:05 +02:00