Commit Graph

860 Commits

Author SHA1 Message Date
Sylvestre Ledru
dad9d0d187 fix the syntax 2024-02-27 13:39:07 +01:00
Gianfranco Costamagna
61c73fcbe8 Merge remote-tracking branch 'origin/18' into 18 2024-02-22 14:23:43 +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
8ab71b62cf Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now) 2024-02-20 22:43:10 +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
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
f2597caf79 Merge remote-tracking branch 'origin/17' into 18 2024-01-24 14:00:36 +01:00
chenli
2cd430f493 Enable flang on loong64 2024-01-15 14:14:05 +08: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
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
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
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
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
89439def8c llvmspirv remove the i386 restriction 2023-11-29 14:46:43 +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
6e56a740df Merge remote-tracking branch 'origin/17' into snapshot 2023-11-22 23:46:16 +01:00
Gianfranco Costamagna
b5ccb8c06f Drop extra spaces 2023-11-22 17:02:14 +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
595804bfd5 relax to the dep llvm-spirv-17 2023-11-19 00:09:45 +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
Sylvestre Ledru
7953731b2c Merge remote-tracking branch 'origin/17' into snapshot 2023-11-13 12:03:38 +01:00
Matthias Klose
1d6486afa7 [ Matthias Klose ]
* Build-depend on llvm-spirv-17.
2023-11-10 13:46:03 +01:00
Gianfranco Costamagna
bb6399fe48 Merge branch '17' into snapshot 2023-10-25 09:23:05 +02:00
Gianfranco Costamagna
5f371677fe Make it arch:any 2023-10-25 08:36:58 +02:00
Gianfranco Costamagna
c110201415 Merge branch '16' into 17 2023-10-25 08:35:24 +02:00
Gianfranco Costamagna
2946aa5c70 Fixup the move from all to any 2023-10-24 12:37:57 +02:00
Gianfranco Costamagna
51c7366db9 Revert "Revert:"
This reverts commit 6241366525.
2023-10-24 12:24:48 +02:00
chenli
afd2b3f5b3 Add support for loongarch64
The details are as follows:
* Do not try to install hwasan_symbolize on loong64.
* Enable libunwind, lld, lldb and openmp on loong64.
2023-10-16 19:55:22 +08:00
Sylvestre Ledru
6241366525 Revert:
[ Gianfranco Costamagna ]
  * Make libclang-common-16-dev arch:any (Closes: #1041455)
    It was arch:all because all the code isn't arch dependant
2023-10-14 18:39:14 +02:00
Sylvestre Ledru
b3a840b6de Add support for loongarch64 2023-10-08 09:17:32 +02:00
Matthias Klose
9cd9288bdf * Build-depend on libncurses-dev instead of libncurses5-dev. 2023-10-08 08:59:32 +02:00
Matthias Klose
4de149a809 * Build-depend on libncurses-dev instead of libncurses5-dev. 2023-10-08 08:58:40 +02:00
Alexandre Detiste
64ea2cdfe8 remove python3-six from now on
six usage has been removed upstream a long time ago already:

5ed6d99a83
2023-09-28 09:56:45 +02:00
Sylvestre Ledru
725d3752ca still try to install python3-recommonmark on old distro 2023-09-27 15:04:48 +02:00
Sylvestre Ledru
602486a66d replace python3-recommonmark by myst-parser to follow upstream change b7ff03206d668cd5a620a9d4e1b22ea112ed56e3 2023-09-25 21:52:31 +02:00
Sylvestre Ledru
be7848d2b9 Revert "Make libclang-common-16-dev arch:any (Closes: #1041455) It was arch:all because all the code isn't arch dependant However, it causes issues for cross build. So, back to any and libclang-common-@LLVM_VERSION@-dev (= ${binary:Version}) instead of source (thanks to Gianfranco Costamagna too)"
This reverts commit 40f8d94837.
2023-09-20 23:13:01 +02:00
Sylvestre Ledru
40f8d94837 Make libclang-common-16-dev arch:any (Closes: #1041455) It was arch:all because all the code isn't arch dependant However, it causes issues for cross build. So, back to any and libclang-common-@LLVM_VERSION@-dev (= ${binary:Version}) instead of source (thanks to Gianfranco Costamagna too) 2023-09-20 11:23:19 +02:00
Sylvestre Ledru
39e07012b8 So, back to any and libclang-common-@LLVM_VERSION@-dev (= ${binary:Version})
instead of source
2023-09-20 11:22:00 +02:00
Sylvestre Ledru
6cea097083 allow hello on i386 to replace llvm spirv 2023-09-19 14:41:35 +02:00
Sylvestre Ledru
9af30d9926 Bring back old version of spirv - necessary for apt.llvm.org 2023-09-19 12:06:53 +02:00
Gianfranco Costamagna
0455fa1f61 Merge branch '17' into snapshot 2023-09-16 10:44:16 +02:00
Gianfranco Costamagna
3be4ec24ca Merge branch '16' into 17 2023-09-16 10:40:22 +02:00
Gianfranco Costamagna
f595c837a2 Make libclang-common-16-dev arch:any (Closes: #1041455) 2023-09-16 10:39:01 +02:00
Sylvestre Ledru
3bb4628536 Merge remote-tracking branch 'origin/17' into snapshot 2023-09-10 17:21:50 +02:00