Skip to content

Commit 2b9d13b

Browse files
authored
Merge pull request #791 from nathanchance/sparc64-mainline
Enable sparc64 build on mainline
2 parents 7210e8f + c7e54c9 commit 2b9d13b

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

.github/workflows/mainline-clang-20.yml

+28
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,34 @@ jobs:
974974
name: boot_utils_json_defconfigs
975975
- name: Check Build and Boot Logs
976976
run: scripts/check-logs.py
977+
_c1f95a5d10da4358dc9fbc0075f7a8ca:
978+
runs-on: ubuntu-latest
979+
needs:
980+
- kick_tuxsuite_defconfigs
981+
- check_cache
982+
name: ARCH=sparc CC=clang LLVM_IAS=0 LLVM_VERSION=20 sparc64_defconfig
983+
if: ${{ needs.check_cache.outputs.status != 'pass' }}
984+
env:
985+
ARCH: sparc
986+
LLVM_VERSION: 20
987+
BOOT: 1
988+
CONFIG: sparc64_defconfig
989+
REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }}
990+
container:
991+
image: ghcr.io/clangbuiltlinux/qemu
992+
options: --ipc=host
993+
steps:
994+
- uses: actions/checkout@v4
995+
with:
996+
submodules: true
997+
- uses: actions/download-artifact@v4
998+
with:
999+
name: output_artifact_defconfigs
1000+
- uses: actions/download-artifact@v4
1001+
with:
1002+
name: boot_utils_json_defconfigs
1003+
- name: Check Build and Boot Logs
1004+
run: scripts/check-logs.py
9771005
_d549f06de3b0361d62337ef98fc167b9:
9781006
runs-on: ubuntu-latest
9791007
needs:

generator/yml/0009-llvm-tot.yml

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
- {<< : *s390_kasan, << : *mainline, << : *llvm_full, boot: true, << : *llvm_tot}
6666
- {<< : *s390_fedora, << : *mainline, << : *llvm_full, boot: true, << : *llvm_tot}
6767
- {<< : *s390_suse, << : *mainline, << : *llvm_full, boot: true, << : *llvm_tot}
68+
- {<< : *sparc64, << : *mainline, << : *clang, boot: true, << : *llvm_tot}
6869
- {<< : *um, << : *mainline, << : *llvm_full, boot: true, << : *llvm_tot}
6970
- {<< : *x86_64, << : *mainline, << : *llvm_full, boot: true, << : *llvm_tot}
7071
- {<< : *x86_64_lto_full, << : *mainline, << : *llvm_full, boot: true, << : *llvm_tot}

tuxsuite/mainline-clang-20.tux.yml

+8
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,14 @@ jobs:
329329
make_variables:
330330
LLVM: 1
331331
LLVM_IAS: 1
332+
- target_arch: sparc
333+
toolchain: clang-nightly
334+
kconfig: sparc64_defconfig
335+
targets:
336+
- kernel
337+
kernel_image: image
338+
make_variables:
339+
LLVM_IAS: 0
332340
- target_arch: um
333341
toolchain: clang-nightly
334342
kconfig: defconfig

0 commit comments

Comments
 (0)