Skip to content

Commit

Permalink
Merge pull request #626 from nathanchance/loongarch-clang-17
Browse files Browse the repository at this point in the history
Add LoongArch clang-17 builds
  • Loading branch information
nathanchance authored Sep 6, 2023
2 parents 21b5c27 + 9e033ef commit 27e1393
Show file tree
Hide file tree
Showing 7 changed files with 459 additions and 0 deletions.
96 changes: 96 additions & 0 deletions .github/workflows/mainline-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,54 @@ jobs:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_fe27947e3c9dc4bbbefbfe70b86b6e43:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
name: ARCH=loongarch LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 1
CONFIG: defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_defconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_4d0e66a3eda489124a6b93a6763f95db:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
name: ARCH=loongarch LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 1
CONFIG: defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_LTO_CLANG_THIN=y
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_defconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_31c8bcfe68e731d6236ca25af17bb0bd:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
Expand Down Expand Up @@ -1507,6 +1555,54 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_0f188cdec94cf485dea1acbe9e6fe2da:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 0
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_allconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_dc607225b4a7c8aaaf2c353ef699d987:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 0
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_allconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_fba586c9a687192e653123eeeab7d2e3:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
Expand Down
96 changes: 96 additions & 0 deletions .github/workflows/next-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,54 @@ jobs:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_fe27947e3c9dc4bbbefbfe70b86b6e43:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
name: ARCH=loongarch LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 1
CONFIG: defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_defconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_4d0e66a3eda489124a6b93a6763f95db:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
name: ARCH=loongarch LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 1
CONFIG: defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_LTO_CLANG_THIN=y
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_defconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_31c8bcfe68e731d6236ca25af17bb0bd:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
Expand Down Expand Up @@ -1531,6 +1579,54 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_0f188cdec94cf485dea1acbe9e6fe2da:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 0
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_allconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_dc607225b4a7c8aaaf2c353ef699d987:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 0
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_allconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_fba586c9a687192e653123eeeab7d2e3:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
Expand Down
96 changes: 96 additions & 0 deletions .github/workflows/stable-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,54 @@ jobs:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_fe27947e3c9dc4bbbefbfe70b86b6e43:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
name: ARCH=loongarch LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 1
CONFIG: defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_defconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_4d0e66a3eda489124a6b93a6763f95db:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
name: ARCH=loongarch LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 1
CONFIG: defconfig+CONFIG_CRASH_DUMP=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_LTO_CLANG_THIN=y
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_defconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_31c8bcfe68e731d6236ca25af17bb0bd:
runs-on: ubuntu-latest
needs: kick_tuxsuite_defconfigs
Expand Down Expand Up @@ -1507,6 +1555,54 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_0f188cdec94cf485dea1acbe9e6fe2da:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 0
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_allconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_dc607225b4a7c8aaaf2c353ef699d987:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 17
BOOT: 0
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
container:
image: ghcr.io/clangbuiltlinux/qemu
options: --ipc=host
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/download-artifact@v3
with:
name: output_artifact_allconfigs
- uses: actions/download-artifact@v3
with:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_fba586c9a687192e653123eeeab7d2e3:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
Expand Down
12 changes: 12 additions & 0 deletions generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,10 @@ builds:
- {<< : *hexagon_allmod, << : *mainline, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *i386, << : *mainline, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *i386_suse, << : *mainline, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *loong, << : *mainline, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *loong_lto_thin, << : *mainline, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *loong_allyes, << : *mainline, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *loong_allyes_lto, << : *mainline, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *mips, << : *mainline, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *mipsel, << : *mainline, << : *llvm_full, boot: true, << : *llvm_latest}
# ppc32: Boot disabled (https://github.com/ClangBuiltLinux/linux/issues/1814)
Expand Down Expand Up @@ -969,6 +973,10 @@ builds:
- {<< : *hexagon_allmod, << : *next, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *i386, << : *next, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *i386_suse, << : *next, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *loong, << : *next, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *loong_lto_thin, << : *next, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *loong_allyes, << : *next, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *loong_allyes_lto, << : *next, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *mips, << : *next, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *mipsel, << : *next, << : *llvm_full, boot: true, << : *llvm_latest}
# ppc32: Boot disabled (https://github.com/ClangBuiltLinux/linux/issues/1814)
Expand Down Expand Up @@ -1039,6 +1047,10 @@ builds:
- {<< : *hexagon_allmod, << : *stable, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *i386, << : *stable, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *i386_suse, << : *stable, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *loong, << : *stable, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *loong_lto_thin, << : *stable, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *loong_allyes, << : *stable, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *loong_allyes_lto, << : *stable, << : *llvm_full, boot: false, << : *llvm_latest}
- {<< : *mips, << : *stable, << : *llvm_full, boot: true, << : *llvm_latest}
- {<< : *mipsel, << : *stable, << : *llvm_full, boot: true, << : *llvm_latest}
# ppc32: Boot disabled (https://github.com/ClangBuiltLinux/linux/issues/1814)
Expand Down
Loading

0 comments on commit 27e1393

Please sign in to comment.