Sylvestre Ledru
483302c9a2
Ship clang-stat-cache in clang-tools-X.Y
...
Introduced in:
a033dbbe5c
2023-01-19 09:16:24 +01:00
Gianfranco Costamagna
9fb73635a7
update changelog
2023-01-19 09:04:06 +01:00
Gianfranco Costamagna
dd13267ca5
update changelog
2023-01-19 09:03:54 +01:00
Gianfranco Costamagna
7fb770dd0e
Merge branch '15' into snapshot
2023-01-19 09:03:29 +01:00
Gianfranco Costamagna
f30c15ff72
Update changelog
2023-01-19 09:00:16 +01:00
Gianfranco Costamagna
fdfeeff395
Update lldb patch for newer python version
2023-01-19 08:59:48 +01:00
Sylvestre Ledru
a8ab81b59f
compiler-rt: Only build liborc on amd64 & arm64
2023-01-18 11:20:58 +01:00
Sylvestre Ledru
286a3ad00b
ship llvm-omp-kernel-replay in libomp-X.Y-dev
...
done in
94c772dc92
2023-01-18 10:00:01 +01:00
Sylvestre Ledru
1efcab2ab1
Disable flang on s390x. Seems that it is breaking
2023-01-17 14:25:27 +01:00
Sylvestre Ledru
f41041aecc
Disable flang on s390x. Seems that it is breaking
2023-01-17 10:31:55 +01:00
Sylvestre Ledru
02b4b37483
ship amdgpu-arch & nvptx-arch in clang-tools
...
introduced:
d5a5ee856e
2023-01-17 09:43:04 +01:00
Sylvestre Ledru
672014b30e
Merge remote-tracking branch 'origin/15' into snapshot
2023-01-15 22:06:59 +01:00
Sylvestre Ledru
2f1fc2f09c
Merge remote-tracking branch 'origin/14' into 15
2023-01-15 22:06:48 +01:00
Sylvestre Ledru
21a5861d74
Also install liborc_rt-x86_64.a in libclang-rt
2023-01-15 21:13:05 +01:00
Sylvestre Ledru
40c65e450e
update of the changelog
2023-01-15 21:11:05 +01:00
Sylvestre Ledru
b8a7e87a5c
also ship libHLFIRTransforms & libHLFIRDialect in libflang
2023-01-15 21:10:27 +01:00
Sylvestre Ledru
1de70a0ba3
use the correct syntax for variable
2023-01-15 19:32:56 +01:00
Sylvestre Ledru
698f2d92c5
fix the merge
2023-01-15 18:52:52 +01:00
Sylvestre Ledru
31f147c46d
hardcode a bit less sccache usage
2023-01-15 18:52:19 +01:00
Sylvestre Ledru
1a948d0eb1
try to use sccache to build libfuzzer
2023-01-15 18:52:19 +01:00
Sylvestre Ledru
06f31916f1
sccache: use variables for the binary & path
2023-01-15 18:52:19 +01:00
Sylvestre Ledru
e713a9eafe
adjust more versions
2023-01-15 18:02:37 +01:00
Sylvestre Ledru
9c0722110e
adjust the version
2023-01-15 18:00:46 +01:00
Sylvestre Ledru
af8674d79c
update of the version
2023-01-15 17:58:45 +01:00
Sylvestre Ledru
c3afd75f4e
remove some old patches (applied upstream)
2023-01-15 17:58:23 +01:00
Sylvestre Ledru
a5f14f108c
Merge remote-tracking branch 'origin/15' into snapshot
2023-01-15 17:55:13 +01:00
Sylvestre Ledru
79cb52c2dd
rebase of the patches
2023-01-15 17:34:02 +01:00
Sylvestre Ledru
56fcd6750b
also add the file
2023-01-15 17:13:50 +01:00
Sylvestre Ledru
6a9c231dae
bring back the patch
2023-01-15 15:14:11 +01:00
Sylvestre Ledru
e697d3006f
Adjust the debian overrides
2023-01-15 10:54:56 +01:00
Sylvestre Ledru
b8c02541a8
Merge remote-tracking branch 'origin/14' into 15
2023-01-15 10:54:22 +01:00
Sylvestre Ledru
223ec487e3
remove patch applied upstream
2023-01-15 10:52:23 +01:00
Sylvestre Ledru
b9d2b57c3b
adjust the lintian format
2023-01-15 09:46:54 +01:00
Sylvestre Ledru
f7e887ac37
new upstream release
2023-01-13 15:10:42 +01:00
Sylvestre Ledru
d511ef357d
Merge remote-tracking branch 'origin/14' into 15
2023-01-11 16:18:28 +01:00
Sylvestre Ledru
99ff46f901
Disable libc++-$(LLVM_VERSION)-dev-wasm32 on old Debian & Ubuntu: bionic buster focal bullseye jammy either wasi-libc isn't available or too old or we face bug https://sourceware.org/bugzilla/show_bug.cgi?id=27558
2023-01-11 10:58:40 +01:00
Sylvestre Ledru
1d75785e94
add a check
2023-01-11 00:10:04 +01:00
Sylvestre Ledru
f647ae31eb
document the why
2023-01-11 00:02:16 +01:00
Sylvestre Ledru
93ecb8e79c
fix syntax (bis)
2023-01-10 23:44:20 +01:00
Sylvestre Ledru
7090685fb6
fix syntax
2023-01-10 23:32:54 +01:00
Sylvestre Ledru
8df7ca8d3c
try another way
2023-01-10 23:26:27 +01:00
Sylvestre Ledru
fa973158c6
rebase of the patches
2023-01-10 23:19:53 +01:00
Sylvestre Ledru
2e851b2647
fix var name
2023-01-10 22:13:52 +01:00
Sylvestre Ledru
e1e0815e41
LIBCXX_WASM_ENABLE=no
2023-01-10 21:54:45 +01:00
Sylvestre Ledru
1ef175bbde
apply upstream
2023-01-10 21:02:50 +01:00
Sylvestre Ledru
1de0263379
also disable libc++abi-14-dev-wasm32
2023-01-10 20:56:28 +01:00
Sylvestre Ledru
41c7732ff3
try a different technic to check
2023-01-10 20:21:11 +01:00
Sylvestre Ledru
dc2648a7f6
also disable the libcxx-wasm32-wasi install
2023-01-10 13:36:52 +01:00
Sylvestre Ledru
39f4464e90
Disable libc++-$(LLVM_VERSION)-dev-wasm32 on old Debian & Ubuntu
2023-01-09 23:47:22 +01:00
Sylvestre Ledru
adb269148d
prepare the upload to unstable
2023-01-08 12:32:44 +01:00
Sylvestre Ledru
6160325dbf
Merge remote-tracking branch 'origin/15.flang' into 15
2023-01-08 12:31:29 +01:00
Sylvestre Ledru
1cf321ddb6
only keep https://reviews.llvm.org/D141208
2023-01-08 12:29:22 +01:00
Sylvestre Ledru
5d138a991e
Merge remote-tracking branch 'origin/15' into 15.flang
2023-01-08 12:24:14 +01:00
Sylvestre Ledru
dd7f80195f
Fix riscv64 build by adding spirv again (from @paravoid)
2023-01-08 12:23:04 +01:00
Sylvestre Ledru
2fb192b11a
bring back space
2023-01-08 12:20:59 +01:00
Sylvestre Ledru
170aa163cd
remove space
2023-01-08 12:20:59 +01:00
Sylvestre Ledru
164a1f0e66
also apply a followup patch
2023-01-08 00:41:39 +01:00
Sylvestre Ledru
55b9f5aaa7
don't always build flang
2023-01-07 23:47:06 +01:00
Sylvestre Ledru
d19dc49b99
don't always build flang
2023-01-07 21:18:02 +01:00
Gianfranco Costamagna
9aad80c056
Fix build again by re-adding spirv again on riscv64
2023-01-07 21:15:52 +01:00
Sylvestre Ledru
a61d745a54
fix a typo
2023-01-06 13:55:41 +01:00
Sylvestre Ledru
8aef1419e3
fix a typo
2023-01-06 13:55:26 +01:00
Sylvestre Ledru
01af55a065
backport D124227-wasm.patch
2023-01-06 13:54:37 +01:00
Sylvestre Ledru
a4f8b6cf9b
refresh the control file
2023-01-06 13:39:41 +01:00
Sylvestre Ledru
4a5a2b0c31
improve the bolt setup
2023-01-06 13:23:47 +01:00
Sylvestre Ledru
25f7f7a906
Restrict flang on 64bits archs: (amd64 arm64 mips64el ppc64el kfreebsd-amd64 s390x ppc64 sparc64 riscv64) See: https://github.com/llvm/llvm-project/issues/59845
2023-01-06 13:23:37 +01:00
Sylvestre Ledru
6a50f40617
absl_synchronization isn't req
2023-01-04 23:42:00 +01:00
Sylvestre Ledru
b892162cc7
rebase of the patches
2023-01-04 11:42:43 +01:00
Sylvestre Ledru
ce3ab313ea
fix lintian warnings
2023-01-03 16:45:38 +01:00
Sylvestre Ledru
8efc870c16
remove libflang1 - not useful
2023-01-03 11:27:13 +01:00
Sylvestre Ledru
8f9b415b96
fix syntax
2023-01-03 09:24:21 +01:00
Sylvestre Ledru
98805e5910
Add flang-15 and libraries support
2023-01-03 00:40:33 +01:00
Sylvestre Ledru
a5a28bb9d5
update flang desc
2023-01-03 00:37:46 +01:00
Sylvestre Ledru
8f960a5e69
Merge remote-tracking branch 'origin/15' into 15.flang
2023-01-03 00:30:32 +01:00
Sylvestre Ledru
04bb918fc7
flang has been renamed to flang-to-external-fc
2023-01-03 00:27:59 +01:00
Sylvestre Ledru
6c0063b66e
add more debug info
2023-01-03 00:27:31 +01:00
Sylvestre Ledru
7dd853be3d
add more fortran test
2023-01-03 00:27:16 +01:00
Sylvestre Ledru
b4d3a20011
fix the nocheck
2023-01-02 21:40:11 +01:00
Sylvestre Ledru
b9dec36ce6
also install usr/lib/llvm-15/lib/clang/15.0.6/include/orc/c_api.h
2023-01-02 15:04:19 +01:00
Sylvestre Ledru
8f10d45e23
also install usr/lib/llvm-15/lib/wasm32-wasi/libc++experimental.a
2023-01-02 15:04:02 +01:00
Sylvestre Ledru
53827082de
Prepare flang package (from 15)
2023-01-02 14:23:10 +01:00
Sylvestre Ledru
f5404ca22c
Merge remote-tracking branch 'origin/14' into 15
2023-01-02 13:58:04 +01:00
Sylvestre Ledru
899e7862c5
Update SV to 4.6.2
2023-01-02 13:55:10 +01:00
Sylvestre Ledru
8ff18ad2d2
document the upload
2023-01-02 13:53:27 +01:00
Sylvestre Ledru
744da63da3
fix typos
2023-01-02 13:33:57 +01:00
Sylvestre Ledru
5f5f8aa048
fix the NEWS
2023-01-02 11:42:41 +01:00
Sylvestre Ledru
7863400b1b
hardcode the generator
2023-01-02 11:41:21 +01:00
Sylvestre Ledru
d69df2979c
fix syntax
2023-01-02 11:11:16 +01:00
Sylvestre Ledru
9e3e1db362
fix njobs
2023-01-02 10:38:53 +01:00
Sylvestre Ledru
d1276c6ef9
do not make ABSL_SYNCHRONIZATION_LIBRARY mandatory
2023-01-02 10:29:04 +01:00
Sylvestre Ledru
535562981f
add missing epoch
2023-01-02 10:08:15 +01:00
Sylvestre Ledru
1f08ba4f19
add missing epoch
2023-01-02 10:07:40 +01:00
Sylvestre Ledru
95e292f19b
add missing epoch
2023-01-02 10:06:41 +01:00
Sylvestre Ledru
c2a7f40246
Add misisng epoch ( Closes : #1027699 )
2023-01-02 10:00:51 +01:00
Sylvestre Ledru
e3613cf507
Upload to unstable
2023-01-02 10:00:33 +01:00
Sylvestre Ledru
2102d2f5f6
add missing epoch
2023-01-02 10:00:23 +01:00
Sylvestre Ledru
e1a0b63388
adjust the version for the NEWS
2023-01-02 09:52:15 +01:00
Sylvestre Ledru
3cf67921f5
adjust the break/depends
2023-01-02 09:51:34 +01:00
Sylvestre Ledru
12089d1b27
add bolt
2023-01-02 09:48:50 +01:00
Sylvestre Ledru
c62b2619ac
Merge remote-tracking branch 'origin/14' into 15
2023-01-02 09:48:32 +01:00
Sylvestre Ledru
ab536f6e8c
rebase of the patches
2023-01-01 15:53:13 +01:00
Sylvestre Ledru
476280f766
link-grpc.diff: add the detection of other libs necessary for grpc ( Closes : #1025530 )
2023-01-01 15:47:05 +01:00
Sylvestre Ledru
f2231f3342
Move libPolly in libpolly-X.Y-dev for real
2023-01-01 12:10:14 +01:00
Sylvestre Ledru
ca1e03b5ca
improve the libgrpc++ patch for backports
2023-01-01 12:09:07 +01:00
Sylvestre Ledru
e3bd2b1876
improve the libgrpc++ add
2022-12-29 10:35:29 +01:00
Sylvestre Ledru
56d03668ef
fix the grpc++ detection - do not make absl_sync mandatory
2022-12-29 10:07:53 +01:00
Sylvestre Ledru
3401ecc9bc
fix the grpc++ detection - do not make absl_sync mandatory
2022-12-29 09:45:16 +01:00
Sylvestre Ledru
8292b8455b
fix the grpc++ detection
2022-12-29 09:39:38 +01:00
Sylvestre Ledru
0fafb7f1a7
fix the version
2022-12-28 16:59:26 +01:00
Sylvestre Ledru
362074812c
prepare upload
2022-12-28 15:05:20 +01:00
Sylvestre Ledru
4848352769
update of the comment
2022-12-28 14:01:50 +01:00
Sylvestre Ledru
aa868d6086
also list polly
2022-12-28 13:59:34 +01:00
Sylvestre Ledru
519cbc611b
Create a libpolly-X.Y-dev package
2022-12-28 13:20:23 +01:00
Sylvestre Ledru
a3209cea00
document the change
2022-12-28 13:10:26 +01:00
Sylvestre Ledru
7f77dcfd66
remove old content from NEWS
2022-12-28 13:10:26 +01:00
Sylvestre Ledru
3e3e3fe1b7
Fix the libclang-rt-14-dev-wasm64 description
2022-12-28 13:10:26 +01:00
Sylvestre Ledru
060f11df25
fix the link issue on grpc
2022-12-27 12:44:25 +01:00
Sylvestre Ledru
f5d0923c6d
fix the dep to address
...
https://lintian.debian.org/tags/not-binnmuable-all-depends-any
2022-12-27 11:16:45 +01:00
Sylvestre Ledru
3d813bd71a
rebase of the patches
2022-12-27 10:46:03 +01:00
Sylvestre Ledru
d86636d8bc
then ${binary:Version} => ${source:Version}
...
to avoid not-binnmuable-any-depends-all
2022-12-27 00:29:58 +01:00
Sylvestre Ledru
1782ae9af3
add a warning is was-libc isn't installed
2022-12-26 22:17:35 +01:00
Sylvestre Ledru
de2e93731c
add missing package
2022-12-26 22:17:23 +01:00
Sylvestre Ledru
dcf126ba32
link-grpc.diff: add the detection of other libs necessary for grpc ( Closes : #1025529 )
2022-12-26 17:56:24 +01:00
Sylvestre Ledru
d98af97b4b
also install them
2022-12-24 12:16:38 +01:00
Sylvestre Ledru
d24f4d88f1
* Move the compiler-rt content into a new package called
...
libclang-rt-X.Y-dev (including polly)
* the wasm targets are shipped into libclang-rt-14-dev-wasm32
and libclang-rt-14-dev-wasm64
* libclang-common-X.Y-dev arch moved to all
2022-12-24 12:14:20 +01:00
Sylvestre Ledru
9078322ffa
fix changelog
2022-12-23 15:17:09 +01:00
Sylvestre Ledru
fc4ed6ad41
rebase of the patches
2022-12-22 19:53:09 +01:00
Gianfranco Costamagna
b096b9b85b
Drop lldb path patch, not working anymore
2022-12-22 10:49:01 +01:00
Sylvestre Ledru
b5c015fbdf
rebase of the patches
2022-12-20 13:49:52 +01:00
Sylvestre Ledru
882ec835f6
prepare upload
2022-12-19 17:07:17 +01:00
Sylvestre Ledru
fabb4d2349
Do not install wasm-libc if doesn't exist
2022-12-19 17:06:53 +01:00
Sylvestre Ledru
2c450a09ec
fix the clean
2022-12-19 16:13:44 +01:00
Sylvestre Ledru
7eed507f83
Remove old removals
2022-12-19 16:13:44 +01:00
Sylvestre Ledru
0e2e9334ef
do not delete control.in
2022-12-19 11:20:13 +01:00
Sylvestre Ledru
3b5da5d9fd
* Transform debian/control into debian/control.in (preparation for
...
flang support)
* Try to unbreak the builds with wasm
2022-12-19 11:10:19 +01:00
Sylvestre Ledru
544d92a425
fix the link -- second?
2022-12-18 00:33:50 +01:00
Sylvestre Ledru
1f393c41e5
fix symlink
2022-12-16 17:18:47 +01:00
Sylvestre Ledru
8a82564d22
rebase of the patch
2022-12-16 10:27:13 +01:00
Sylvestre Ledru
1c50fa5c78
Add a symlink /usr/lib/x86_64-linux-gnu/{libclang-16.so.16.0.0 => libclang-16.so.1} Expected by program like the firefox build system
2022-12-16 10:24:57 +01:00
Sylvestre Ledru
5f172213ae
rebase of the patches
2022-12-15 14:21:21 +01:00
Sylvestre Ledru
41b0d4b785
rebase of the patches
2022-12-13 20:00:17 +01:00
Sylvestre Ledru
dc4ced61a8
fix the link
2022-12-11 22:36:58 +01:00
Sylvestre Ledru
f3bbd79e79
unbreak a symlink to fix to libclang
2022-12-11 11:55:30 +01:00
Sylvestre Ledru
6fb0595863
transform debian/control into debian/control.in
2022-12-10 16:45:18 +01:00
Sylvestre Ledru
e5225028af
touch the target to simplify multiple runs
2022-12-10 16:45:18 +01:00
Sylvestre Ledru
a997fd97e5
rebase of the patches
2022-12-07 09:37:57 +01:00
Sylvestre Ledru
f1bb9e118a
rebase of the patches
2022-12-07 09:34:29 +01:00
Gianfranco Costamagna
78fcc5f7bb
Merge with experimental upload 1:14.0.6-10~exp1
2022-12-04 09:13:31 +01:00
Gianfranco Costamagna
ba4fb0b8e5
Upload 1:14.0.6-9 to sid, fixing the various RC bugs
2022-12-04 09:08:45 +01:00
Sylvestre Ledru
7bcbe441e1
Bring back -DBUILTINS_CMAKE_ARGS & -DRUNTIMES_CMAKE_ARGS options https://github.com/llvm/llvm-project/issues/59097
2022-12-03 10:11:53 +01:00
Sylvestre Ledru
59c423885a
rebase of the patches
2022-12-01 23:39:56 +01:00
Gianfranco Costamagna
bf56f934f1
Riscv64 is now bootstrapped
2022-11-30 16:29:02 +01:00
Gianfranco Costamagna
9c051a37c9
Disable WASM on riscv64 to let it build there.
2022-11-30 15:32:20 +01:00
Sylvestre Ledru
b401ead6ed
* experimental New snapshot release
2022-11-29 16:00:35 +01:00
Sylvestre Ledru
c828437b31
reorder patches
2022-11-27 21:18:21 +01:00
Sylvestre Ledru
e3000cf2ca
enable the protobuf patch
2022-11-27 17:36:09 +01:00
Sylvestre Ledru
f41081df5b
rebase of the patches
2022-11-26 16:16:58 +01:00
Sylvestre Ledru
7729b52cdd
unbreak the libclc build
2022-11-26 16:02:07 +01:00
Sylvestre Ledru
f884c9906e
Revert "Revert "fix the path""
...
This reverts commit e8d4c2afaa .
2022-11-25 19:32:55 +01:00
Sylvestre Ledru
051aef8c59
Revert "Revert "Replace LLVM_CONFIG by LLVM_CMAKE_DIR""
...
This reverts commit 3a129e657c .
2022-11-25 12:15:50 +01:00
Sylvestre Ledru
e436189caa
help libclc to find llvm headers
2022-11-25 09:21:46 +01:00
Sylvestre Ledru
3a129e657c
Revert "Replace LLVM_CONFIG by LLVM_CMAKE_DIR"
...
This reverts commit 6b546fd4c6 .
2022-11-25 08:25:51 +01:00
Sylvestre Ledru
e8d4c2afaa
Revert "fix the path"
...
This reverts commit c7dd8f78fe .
2022-11-25 08:25:42 +01:00
Sylvestre Ledru
c7dd8f78fe
fix the path
2022-11-24 18:35:24 +01:00
Sylvestre Ledru
6b546fd4c6
Replace LLVM_CONFIG by LLVM_CMAKE_DIR
2022-11-24 17:01:00 +01:00
Sylvestre Ledru
a0ddbba8fe
rebase of the patches
2022-11-23 08:23:06 +01:00
Sylvestre Ledru
b3de4711ef
rebase of the patches
2022-11-22 22:53:38 +01:00
Gianfranco Costamagna
d3cdf73c57
Finish the bootstrap and upload again to sid with riscv64 architecture too
2022-11-22 12:42:00 +01:00
Gianfranco Costamagna
258c5837bb
Bootstrap riscv64 too
2022-11-22 12:39:50 +01:00
Sylvestre Ledru
998f20ed5f
Revert "Replace '|| true' by '-'"
...
This reverts commit 1edb50d91c .
2022-11-20 18:19:12 +01:00
Sylvestre Ledru
f445b2b0bc
try to do the workaround later
2022-11-20 17:46:57 +01:00
Sylvestre Ledru
1edb50d91c
Replace '|| true' by '-'
2022-11-20 13:10:48 +01:00
Sylvestre Ledru
82d26c045d
temp: cat the log in case of error
2022-11-20 13:08:22 +01:00
Sylvestre Ledru
6494c346f8
create an empty file as workaround
2022-11-20 10:18:30 +01:00
Sylvestre Ledru
8fa5c4781d
fix the workaround
2022-11-20 09:08:50 +01:00
Gianfranco Costamagna
0cccf8a8f8
Reupload to sid now that mips64el is fixed
2022-11-20 06:55:23 +01:00
Gianfranco Costamagna
2381d41548
Revert the change, hopefully mips64el is bootstrapped now
2022-11-20 00:01:07 +01:00
Gianfranco Costamagna
17e904c4d9
Upload to sid
2022-11-19 23:56:46 +01:00
Gianfranco Costamagna
16b3160196
Update changelog
2022-11-19 23:53:38 +01:00
Gianfranco Costamagna
cc6c9b9776
Add two patches to unblock mesa build on arm* ( Closes : #1022577 )
2022-11-19 23:53:01 +01:00
Gianfranco Costamagna
8b4e09e299
Add spirv-14 to alternate dependencies for mips64el, to be reverted once a build of spirv-15 is available
2022-11-19 23:43:29 +01:00
Gianfranco Costamagna
09418e83d7
Update changelog
2022-11-19 23:25:23 +01:00
Gianfranco Costamagna
5a1ae8cca4
Add libomptarget to mips64el ( Closes : #1023101 )
2022-11-19 23:24:44 +01:00
Sylvestre Ledru
b938a0de44
Workaround some missing files on buster
2022-11-19 23:08:57 +01:00
Sylvestre Ledru
4134347b72
add the override
2022-11-19 19:06:05 +01:00
Sylvestre Ledru
2b5443eadb
prepare upload
2022-11-19 10:23:25 +01:00
Sylvestre Ledru
5a8e878733
Adjust some path since upstream changed the path from /usr/lib/llvm-16/lib/clang/16.0.0/ to /usr/lib/llvm-16/lib/clang/16/
...
See https://reviews.llvm.org/D125860
2022-11-19 10:17:35 +01:00
Faidon Liambotis
c0beef7a9c
Add changelog entries for recent WebAssembly changes
...
* More WebAssembly (wasm32/wasm64) work:
- Update patch wasm-sysroot-usr to stop including /usr/include when
building for the non-OS (unknown) wasm targets, to avoid inadvertently
including the host's (glibc) headers.
- Re-enable builds on all architectures, previously disabled for
arm64 armel mips64el mipsel ppc64el armhf in 1:14.0.6-4, due to an FTBFS
related to the /usr/include issue above.
- Update patch wasm-sysroot-usr to adjust system include paths for C++
headers as well.
- Build libc++ and libc++abi for wasm32-wasi, generating two new binary
packages, and introducing a build dependency on wasi-libc.
- Misc code organization fixes to debian/rules.
2022-11-18 11:43:50 +02:00
Faidon Liambotis
97d60707ed
Build libc++/libc++abi for wasm32-wasi
...
Do a standalone build of libcxx/libcxxabi, for wasm32-wasi. libcxx
requires a libc, and thus this requires a new build dependency on
wasi-libc. wasi-libc is not currently available for wasm64, so limit the
build to wasm32.
This introduces two new binary packages:
- libc++-${LLVM_VERSION}-dev-wasm32
- libc++abi-${LLVM_VERSION}-dev-wasm32
There isn't currently a naming convention in Debian for WebAssembly. Use
a "-dev-wasm32" suffix, which makes it consistent with packages such as
"libc6-dev-i386" and "libstd-rust-dev-wasm32".
Given these builds are specific to WASI, it can be argued that the names
should be something like "-dev-wasm32-wasi", or simplified to
"-dev-wasi" (not very future proof) or "-dev-wasi32" (not something
upstream uses). Something to think through later on.
WebAssembly only supports shared linking, hence why we -dev packages are
provided, shipping development headers and static archives.
2022-11-18 11:43:50 +02:00
Sylvestre Ledru
225b522d55
rebase of the patches
2022-11-17 21:09:47 +01:00
Faidon Liambotis
9459395c21
d/rules: Makeify compiler-rt wasm target
...
Iterate on wasm32/wasm64 using make targets rather than shell, and place
build artifacts under a common "build-wasm" directory.
2022-11-17 21:05:07 +02:00
Faidon Liambotis
bbfc6cca07
d/rules: split override_dh_auto_build into multiple lines
2022-11-17 21:05:07 +02:00
Faidon Liambotis
6923a432bf
d/rules: remove targets from .PHONY
...
We actually touch $@ at the end of these targets, so they are not phony.
2022-11-17 21:05:07 +02:00
Faidon Liambotis
ecbebd0a8f
Patch the WebAssembly include paths for C++ as well
...
In wasm-sysroot-usr.diff we have changes to support compilation without
a sysroot and with system paths. These so far have applied to the C
include paths (among other things), i.e. /usr/include/<triple>. This was
mainly because that's what I had at hand to test and wanted to keep
things limited as a first iteration.
Now that we're iterated on it and cleared out some issues, make the
exact same changes for the C++ include paths as well, i.e.
/usr/include/<triple>/c++/v1. Nothing installs anything on those paths
there yet, so this is mostly preparatory for subsequent changes.
2022-11-17 21:04:52 +02:00
Faidon Liambotis
b91115bd58
Fix wasm include paths, unbreaking compiler-rt builds on !x86
...
compiler-rt WebAssembly builds were failing, and as a workaround commit
ca9dbba introduced COMPILER_RT_WASM_ENABLE, disabling its compilation on
several architectures (arm64 armel mips64el mipsel ppc64el armhf).
This was ultimately caused by the WebAssembly driver including paths in
bare /usr/include, when compiling for wasnNN-unknown-unknown targets.
This in turn resulted in this chain of include paths when building
compiler-rt, as one example out of many:
1. compiler-rt/lib/builtins/divtf3.c:15 #include "fp_lib.h"
2. compiler-rt/lib/builtins/fp_lib.h:23 #include "int_lib.h"
3. compiler-rt/lib/builtins/int_lib.h:93 #include <limits.h>
4. /usr/lib/llvm-14/lib/clang/14.0.6/include/limits.h:20 #if __has_include_next(<limits.h>) #include_next <limits.h>
5. /usr/include/limits.h:26 #include <bits/libc-header-start.h>
6. fatal error: 'bits/libc-header-start.h' file not found
/usr/include/stdint.h is the host's glibc header, and
bits/libc-header-start.h doesn't exist for the wasm targets. This is the
case with or without wasi-libc, as wasi-libc is musl-based and doesn't
have these paths at all.
The only reason builds worked on amd64 is accident:lly the B-D chain
brings in libc6-dev-i386 (through g++-multilib), which creates this
symlink:
/usr/include/bits -> x86_64-linux-gnu/bits
This effectively meant that on amd64 builds, compiler-rt for wasm
targets was compiled with glibc x86_64 headers.
Ultimately this was rooted on the sysroot-based assumptions that the
upstream driver makes and that we are patching (evidently incompletely)
with our wasm-sysroot-usr.diff patch.
Update our patch to explicitly NOT include the bare /usr/include path on
non-OS targets (wasm32-unknown-unknown etc.), while keeping existing
behavior for backwards compatibility when --sysroot is passed.
Given this should (fingers crossed) address this invariance between
amd64 and other architectures, and unbreak those builds, revert commit
ca9dbba and the COMPILER_RT_WASM_ENABLE flag.
2022-11-17 21:00:23 +02:00
Sylvestre Ledru
b813bd5130
* New upstream release
...
* Remove the swig patches (applied upstream)
* Disable the MLIR testsuite run because of a freeze
(Closes : #1024154 )
See https://github.com/llvm/llvm-project/issues/58357
* Adjust to protobuf 3.21 (Closes : #1023533 )
2022-11-16 22:39:26 +01:00
Sylvestre Ledru
4692b2aa3d
Merge remote-tracking branch 'origin/14' into 15
2022-11-16 22:38:42 +01:00
Sylvestre Ledru
bde3d49c95
store the sccache results in /tmp/buildd/source/sccache-stats.json
2022-11-16 20:51:28 +01:00
Sylvestre Ledru
77a5b1824f
Remove the swig patches (applied upstream)
2022-11-16 17:51:53 +01:00
Sylvestre Ledru
3fa813e92c
fix the path
2022-11-16 17:35:19 +01:00
Sylvestre Ledru
386696d0a0
New upstream release
2022-11-16 09:11:25 +01:00
Sylvestre Ledru
8ee2b70653
Merge remote-tracking branch 'origin/14' into 15
2022-11-16 09:08:58 +01:00
Sylvestre Ledru
eb4bb9e7a4
remove artifact
2022-11-15 18:25:04 +01:00
Sylvestre Ledru
e9f28b298e
Disable the MLIR testsuite run because of a freeze ( Closes : #1024154 ) See https://github.com/llvm/llvm-project/issues/58357
2022-11-15 18:24:02 +01:00
Sylvestre Ledru
6806d9a982
rebase of the patches
2022-11-15 10:47:16 +01:00
Sylvestre Ledru
19f47cc924
Adjust to protobuf 3.21 ( Closes : #1023533 )
2022-11-14 11:16:01 +01:00
Sylvestre Ledru
5e129ea18e
pass sccache arg everywhere
2022-11-14 11:16:01 +01:00
Sylvestre Ledru
ada0fc6bb3
sccache: generate stats and publish them
2022-11-12 23:53:09 +01:00
Sylvestre Ledru
fd2dd270a3
remove disable-openmpd.diff - disable upstream
2022-11-12 08:58:27 +01:00
Sylvestre Ledru
1d4ed6ed4d
Merge remote-tracking branch 'origin/15' into snapshot
2022-11-11 23:30:35 +01:00
Sylvestre Ledru
69277d9671
Merge remote-tracking branch 'origin/14' into 15
2022-11-11 23:30:14 +01:00
Sylvestre Ledru
2757a45bf7
bring back the packages
2022-11-11 23:29:02 +01:00
Sylvestre Ledru
2abbbcccdd
disable the llvm spir
2022-11-11 23:28:18 +01:00
Sylvestre Ledru
5f299ff3c1
disable libclc
2022-11-11 19:34:12 +01:00
Sylvestre Ledru
325336b38f
* New snapshot release
...
* mlir: Disable test on i386 because of
See https://github.com/llvm/llvm-project/issues/58219
* disable-openmpd.diff: Disable the test of openmpd
because of https://github.com/llvm/llvm-project/issues/58941
2022-11-11 17:46:24 +01:00
Sylvestre Ledru
160ea57318
Enable LLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO to help with caching
2022-11-11 16:26:28 +01:00
Sylvestre Ledru
92684f54f5
Merge remote-tracking branch 'origin/15' into snapshot
2022-11-11 15:00:11 +01:00
Sylvestre Ledru
98697f3cf1
remove the sccache log dump
2022-11-11 08:45:08 +01:00
Sylvestre Ledru
aa0b5d6492
fix path with 16 instead of 16.0.0 as version
2022-11-11 01:06:31 +01:00
Sylvestre Ledru
0125c0be4d
Merge remote-tracking branch 'origin/14' into 15
2022-11-10 23:12:57 +01:00
Sylvestre Ledru
9db77ce328
do not dump the content of sccache.log. we are good
2022-11-10 23:05:02 +01:00
Sylvestre Ledru
e9022e33bc
remove old an old and useless patch
2022-11-10 16:17:50 +01:00
Sylvestre Ledru
9ea3878d01
use the upstream option to set the option
2022-11-10 15:21:22 +01:00
Sylvestre Ledru
3270880abd
We want to set the clang extra version ONLY in stage 2
...
because we want the clang stage 1 to be as reproducible as possible
when building with sccache (because this tool do a hash using the
compiler binary and other things)
2022-11-10 15:19:49 +01:00
Sylvestre Ledru
63341e11a5
remove an old gcc 4.9 workaround
2022-11-10 13:54:02 +01:00
Sylvestre Ledru
ef8fc80088
remove non applied patch
2022-11-10 13:54:02 +01:00
Sylvestre Ledru
622dbcbd40
rebase of the patches
2022-11-09 14:28:45 +01:00
Sylvestre Ledru
1e3332f2bf
fix version
2022-11-04 19:44:02 +01:00
Sylvestre Ledru
875efbd5ba
Fix the lldb swig issues ( closes : #1023444 )
2022-11-04 19:37:32 +01:00
Sylvestre Ledru
cb901ad961
add lldb swig patches
2022-11-04 19:36:47 +01:00
Sylvestre Ledru
2d8ec664ce
move the lldb patches into a lldb dir
2022-11-04 19:36:34 +01:00
Sylvestre Ledru
e3106b14e1
add back lldb pacthes
2022-11-04 19:34:41 +01:00
Sylvestre Ledru
8409076b8f
move all lldb patches into the same dir
2022-11-04 19:33:17 +01:00
Sylvestre Ledru
cdbc33a6e0
* New upstream release ( Closes : #1023455 )
...
* Cherry-pick patches to fix the FTBFS with swig + lldb (Closes : #1023444 )
2022-11-04 19:23:33 +01:00
Sylvestre Ledru
5bc303255e
-compiler-rt/compilerrt-fix-warn-xray-testing.diff removed as it seems to be applied upstream
2022-11-02 23:53:16 +01:00
Sylvestre Ledru
32a70e59af
just skip the mlir tests on i386
2022-10-31 08:38:33 +01:00
Jordan Justen
b7f42769ed
d/control: Add llvm-spirv-14 as an alternative to llvm-spirv-15
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 22:07:58 -07:00
Jordan Justen
5befbff174
d/rules: Check for previous version of llvm-spirv as well
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 22:07:54 -07:00
Jordan Justen
0336f15cfe
d/rules: Build libclc .bc files even when .spv files can't be built
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 00:42:48 -07:00
Jordan Justen
8e05666356
d/patches: Drop libclc-llvm-spirv.diff now that we are setting LLVM_SPIRV
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 00:29:08 -07:00
Jordan Justen
41a4a741ff
d/rules: Set LLVM_SPIRV with cmake for libclc
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 00:29:07 -07:00
Jordan Justen
5c8a71515a
debian: Bump llvm-spirv to 15 to match the llvm version
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 00:29:07 -07:00
Jordan Justen
277362b9a8
d/rules: Call bash to use 'command -v' to locate llvm-spirv executable
...
I needed this for sbuild to find the executable.
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 00:29:06 -07:00
Jordan Justen
45ef20d146
d/rules: Rename LLVM_SPIR_VERSION to LLVM_SPIRV_VERSION
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 00:29:03 -07:00
Jordan Justen
df549cc1e1
d/changelog: Start 1:15.0.3-3 changelog
...
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-30 00:27:16 -07:00
Sylvestre Ledru
7ebec9d7f9
fix changelog
2022-10-29 22:28:35 +02:00
Sylvestre Ledru
da023c8939
remove tests
2022-10-29 22:27:47 +02:00
Sylvestre Ledru
e76d81c1b6
* experimental New snapshot release
...
* mlir: Disable test because of
https://github.com/llvm/llvm-project/issues/58357
2022-10-29 22:25:24 +02:00
Sylvestre Ledru
eca12ecd2d
Merge remote-tracking branch 'origin/13' into 14
2022-10-29 22:17:48 +02:00
Sylvestre Ledru
47f6ef82d6
remove the failed bionic sccache stuff
2022-10-29 09:09:02 +02:00