Commit Graph

5337 Commits

Author SHA1 Message Date
Sylvestre Ledru
98697f3cf1 remove the sccache log dump 2022-11-11 08:45:08 +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
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
5c0ae55f0f Merge branch 'libclc-15-spv-15-or-14' into '15'
Use llvm-spirv-15, but add a fall-back to use llvm-spirv-14

See merge request pkg-llvm-team/llvm-toolchain!101
2022-10-31 07:04:04 +00: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
Sylvestre Ledru
c01c35efe8 Merge branch 'libclc-15-spv' into '15'
Bring llvm-spirv changes from 13/14 branch, and restore building .bc without .spv when llvm-spirv is not found

See merge request pkg-llvm-team/llvm-toolchain!100
2022-10-30 07:53:07 +00: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
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
Sylvestre Ledru
2ae5beca4f remove the failed bionic sccache stuff 2022-10-29 09:08:20 +02:00
Sylvestre Ledru
1bc018374e Merge branch 'libclc-13-spv-no-empty-param' into '13'
Fix empty "" parameter for libclc cmake if llvm-spirv is not found

See merge request pkg-llvm-team/llvm-toolchain!99
2022-10-29 06:53:29 +00:00
Jordan Justen
37a8a75e86
d/rules: Don't send an empty string to cmake when llvm-spirv is not found
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-28 10:23:03 -07:00
Jordan Justen
0e6da0b356
d/changelog: Start 1:13.0.1-9 changelog
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-28 10:19:42 -07:00
Sylvestre Ledru
a997e8f40b * disable sccache on bionic
* d/rules: Call bash to use 'command -v' to location llvm-spirv executable
* d/rules: Set LLVM_SPIRV with cmake for libclc
* d/patches: Drop libclc-llvm-spirv.diff now that we are setting LLVM_SPIRV
* d/rules: Check for llvm-spirv with version suffix
2022-10-27 13:20:14 +02:00
Sylvestre Ledru
e10ac5c55f Disable the cmake search for all binaries (cmake_import_check_files_for.*/bin/). Dunno why it regressed but we wasted too much time on this. 2022-10-27 12:47:30 +02:00
Sylvestre Ledru
53ad179624 prepare upload 2022-10-27 11:50:50 +02:00
Sylvestre Ledru
e0510d0e62 Merge branch 'libclc-13-spv' into '13'
Make spir-v output more likely for libclc on llvm-13

See merge request pkg-llvm-team/llvm-toolchain!98
2022-10-27 07:21:11 +00:00
Jordan Justen
a3165e69a2
d/rules: Check for llvm-spirv with version suffix
Since llvm-spirv-13, the '-13' suffix has been added to the
executable.

Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 13:34:13 -07:00
Jordan Justen
91091e3de5
d/patches: Drop libclc-llvm-spirv.diff now that we are setting LLVM_SPIRV
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 13:33:41 -07:00
Jordan Justen
966bddda9d
d/rules: Set LLVM_SPIRV with cmake for libclc
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 13:33:41 -07:00
Jordan Justen
0951f69405
d/rules: Call bash to use 'command -v' to location llvm-spirv executable
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 13:33:40 -07:00
Sylvestre Ledru
34a7ac73ed
fix the version check 2022-10-26 13:33:40 -07:00
Sylvestre Ledru
265a70d7d0
Disable the build of libclc on old Ubuntu (Groovy & focal) as llvm-spir is too old on these version. See bug #52200 2022-10-26 13:29:43 -07:00
Jordan Justen
29308f4310
d/changelog: Start 1:13.0.1-8 changelog
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 12:49:25 -07:00
Jordan Justen
d03015ee7c
d/rules: Check for llvm-spirv with version suffix
Since llvm-spirv-13, the '-13' suffix has been added to the
executable.

Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 10:25:13 -07:00
Jordan Justen
d214584519
d/patches: Drop libclc-llvm-spirv.diff now that we are setting LLVM_SPIRV
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 10:25:13 -07:00
Jordan Justen
a57d00a036
d/rules: Set LLVM_SPIRV with cmake for libclc
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 10:25:12 -07:00
Jordan Justen
3606129645
d/rules: Call bash to use 'command -v' to location llvm-spirv executable
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 10:25:10 -07:00
Jordan Justen
0209958cde
d/changelog: Start 1:14.0.6-7 changelog
Signed-off-by: Jordan Justen <jljusten@debian.org>
2022-10-26 10:24:29 -07:00
Sylvestre Ledru
6dcaabaaa0 disable sccache on bionic 2022-10-26 09:24:47 +02:00
Sylvestre Ledru
62db712de0 disable sccache on bionic 2022-10-26 09:23:31 +02:00