Commit Graph

6241 Commits

Author SHA1 Message Date
Sylvestre Ledru
a6b84831af Merge branch '18' into '18'
control: Avoid hello build-dep getting pulled in on buildds

See merge request pkg-llvm-team/llvm-toolchain!132
2024-01-28 13:18:51 +00: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
Sylvestre Ledru
28be2cd7e6 Merge branch '17' into '17'
Enable flang on loong64

See merge request pkg-llvm-team/llvm-toolchain!131
2024-01-15 07:52:32 +00: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
Sylvestre Ledru
e058c4fea4 Merge branch '17.0.6-4-fallout' into '17'
Fix FTBFSes on i386 and armel resulting from the 1:17.0.6-3 -> 1:17.0.6-4 changes

See merge request pkg-llvm-team/llvm-toolchain!130
2024-01-10 08:20:14 +00: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
Sylvestre Ledru
edf1bd3e98 Merge branch 'cxxdev-abi' into '17'
Add libc++-*-dev -> libc++abi-*-dev dependency

See merge request pkg-llvm-team/llvm-toolchain!124
2024-01-08 13:58:30 +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