Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back older clang versions: 15, 16 and 17 (master) #990

Closed
wants to merge 26 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
081ea1b
clang15, et al: Forward port CLANG 15.0.7 from mickledore
zboszor Aug 1, 2024
c120bba
spirv-llvm-translator-llvm15: Forward port version 15.0.7 from mickle…
zboszor Aug 1, 2024
08ed431
libclc15: Use spirv-llvm-translator-llvm15
zboszor Aug 3, 2024
0a57255
classes/clang15{,-native}.bbclass: Add modified classes to use clang15
zboszor Aug 1, 2024
cb01f34
conf/layer.conf: Announce LLVM15VERSION for recipes
zboszor Aug 1, 2024
280a439
clang15: Drop crosssdk suffix from virtual binutils provides to match…
zboszor Aug 3, 2024
d9eeb06
clang15: Apply libunwind.pc.in and llvm-config via a patch
zboszor Aug 1, 2024
8d07587
clang15.bbclass: Stage along with gcc toolchain
zboszor Aug 4, 2024
5f6d599
clang15.bbclass: Use +nocrypto with -mcpu for rpi3/rpi4
zboszor Aug 4, 2024
37b9975
clang15.bbclass: Do not lose TUNE_CCARGS_MARCH_OPTS when rewriting bi…
zboszor Aug 4, 2024
6615e68
clang15.bbclass: remove mcpu option with qualifiers for the octeontx2…
zboszor Aug 4, 2024
a59fe1e
clang16, et al: Revive CLANG 16 recipe
zboszor Aug 3, 2024
639b355
conf/layer.conf: Announce LLVM16VERSION for recipes
zboszor Aug 3, 2024
3e7bb6b
spirv-llvm-translator-llvm16: Revive spirv-llvm-translator 16.x
zboszor Aug 3, 2024
d55e47d
libclc16: Use spirv-llvm-translator-llvm16
zboszor Aug 3, 2024
afc1c9b
classes/clang16{,-native}.bbclass: Add modified classes to use clang16
zboszor Aug 4, 2024
2d0668c
clang16.bbclass: Use +nocrypto with -mcpu for rpi3/rpi4
zboszor Aug 4, 2024
6dd151a
clang16.bbclass: Do not lose TUNE_CCARGS_MARCH_OPTS when rewriting bi…
zboszor Aug 4, 2024
3f1c321
clang16.bbclass: remove mcpu option with qualifiers for the octeontx2…
zboszor Aug 4, 2024
4a17ae5
clang16: Apply libunwind.pc.in and llvm-config via a patch
zboszor Aug 5, 2024
2c2a1ef
clang15: Replace RUNTIME with TC_CXX_RUNTIME
zboszor Aug 12, 2024
a966a22
clang16: Replace RUNTIME with TC_CXX_RUNTIME
zboszor Aug 12, 2024
7263a41
clang17, et al: Revive CLANG 17.0.6
zboszor Aug 12, 2024
bfc8267
conf/layer.conf: Announce LLVM17VERSION for recipes
zboszor Aug 12, 2024
509e45e
clang17[-native].bbclass: Add new classes
zboszor Aug 12, 2024
3321ec7
spirv-llvm-translator-llvm17: New recipe variant to build with CLANG 17
zboszor Aug 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clang15.bbclass: remove mcpu option with qualifiers for the octeontx2…
… core

Currently, only the '-mcpu=octeontx2' option is removed, and any
-mcpu parameters with qualifiers (such as +crc+crypto) are not
removed, e.g., '-mcpu=octeontx2+crypto'. Remove these mcpu parameters
with qualifiers by using '-mcpu=octeontx2${TUNE_CCARGS_MARCH_OPTS}'.

Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
zboszor committed Aug 12, 2024
commit 6615e6857433b0d17e3a27ee3fae150b857f9a31
2 changes: 1 addition & 1 deletion classes/clang15.bbclass
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ TUNE_CCARGS:append:toolchain-clang15 = "${@bb.utils.contains_any("TUNE_FEATURES"
TUNE_CCARGS_MARCH_OPTS:append:toolchain-clang15 = "${@bb.utils.contains_any("DEFAULTTUNE", "cortexa72 cortexa53", "+nocrypto", "", d)}"

# Clang does not support octeontx2 processor
TUNE_CCARGS:remove:toolchain-clang15 = "-mcpu=octeontx2"
TUNE_CCARGS:remove:toolchain-clang15 = "-mcpu=octeontx2${TUNE_CCARGS_MARCH_OPTS}"

# Reconcile some ppc anamolies
TUNE_CCARGS:remove:toolchain-clang15:powerpc = "-mhard-float -mno-spe"