Skip to content

Commit

Permalink
Merge pull request #627 from nathanchance/fix-loongarch-allyes-lto
Browse files Browse the repository at this point in the history
Fix LoongArch LTO builds
  • Loading branch information
nathanchance authored Sep 7, 2023
2 parents e5a9ccb + 7d02626 commit 2ac7c4e
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mainline-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1579,15 +1579,15 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_dc607225b4a7c8aaaf2c353ef699d987:
_ce867994d17bf4dafa58594a2be17d37:
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
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mainline-clang-18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1579,15 +1579,15 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_546e6efa66be3ef5a4bdd296a5df4abb:
_673d987b5a25dadd0583fed890ffd15d:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 18
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
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/next-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1603,15 +1603,15 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_dc607225b4a7c8aaaf2c353ef699d987:
_ce867994d17bf4dafa58594a2be17d37:
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
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/next-clang-18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1603,15 +1603,15 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_546e6efa66be3ef5a4bdd296a5df4abb:
_673d987b5a25dadd0583fed890ffd15d:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 18
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
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1579,15 +1579,15 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_dc607225b4a7c8aaaf2c353ef699d987:
_ce867994d17bf4dafa58594a2be17d37:
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
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stable-clang-18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1579,15 +1579,15 @@ jobs:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
_546e6efa66be3ef5a4bdd296a5df4abb:
_673d987b5a25dadd0583fed890ffd15d:
runs-on: ubuntu-latest
needs: kick_tuxsuite_allconfigs
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
name: ARCH=loongarch BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=n+CONFIG_KCOV=n+CONFIG_MODULES=n+CONFIG_RELOCATABLE=n+CONFIG_GCOV_KERNEL=n+CONFIG_LTO_CLANG_THIN=y
env:
ARCH: loongarch
LLVM_VERSION: 18
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
CONFIG: allyesconfig+CONFIG_CRASH_DUMP=n+CONFIG_FTRACE=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
Expand Down
2 changes: 1 addition & 1 deletion generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ loongarch_configs:
- &loongarch-defconfigs {config: [defconfig, CONFIG_CRASH_DUMP=n, CONFIG_MODULES=n, CONFIG_RELOCATABLE=n]}
- &loongarch-defconfigs-lto-thin {config: [defconfig, CONFIG_CRASH_DUMP=n, CONFIG_MODULES=n, CONFIG_RELOCATABLE=n, CONFIG_LTO_CLANG_THIN=y]}
- &loongarch-allyesconfigs {config: [allyesconfig, CONFIG_CRASH_DUMP=n, CONFIG_KCOV=n, CONFIG_MODULES=n, CONFIG_RELOCATABLE=n]}
- &loongarch-allyesconfigs-lto-thin {config: [allyesconfig, CONFIG_CRASH_DUMP=n, CONFIG_KCOV=n, CONFIG_MODULES=n, CONFIG_RELOCATABLE=n, CONFIG_GCOV_KERNEL=n, CONFIG_LTO_CLANG_THIN=y]}
- &loongarch-allyesconfigs-lto-thin {config: [allyesconfig, CONFIG_CRASH_DUMP=n, CONFIG_FTRACE=n, CONFIG_KCOV=n, CONFIG_MODULES=n, CONFIG_RELOCATABLE=n, CONFIG_GCOV_KERNEL=n, CONFIG_LTO_CLANG_THIN=y]}
configs:
# config: image target (optional) [ARCH:] (Optional: x86) targets to build
- &arm32_v5 {config: multi_v5_defconfig, ARCH: *arm-arch, << : *kernel_dtbs}
Expand Down
1 change: 1 addition & 0 deletions tuxsuite/mainline-clang-17.tux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ jobs:
kconfig:
- allyesconfig
- CONFIG_CRASH_DUMP=n
- CONFIG_FTRACE=n
- CONFIG_KCOV=n
- CONFIG_MODULES=n
- CONFIG_RELOCATABLE=n
Expand Down
1 change: 1 addition & 0 deletions tuxsuite/mainline-clang-18.tux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ jobs:
kconfig:
- allyesconfig
- CONFIG_CRASH_DUMP=n
- CONFIG_FTRACE=n
- CONFIG_KCOV=n
- CONFIG_MODULES=n
- CONFIG_RELOCATABLE=n
Expand Down
1 change: 1 addition & 0 deletions tuxsuite/next-clang-17.tux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ jobs:
kconfig:
- allyesconfig
- CONFIG_CRASH_DUMP=n
- CONFIG_FTRACE=n
- CONFIG_KCOV=n
- CONFIG_MODULES=n
- CONFIG_RELOCATABLE=n
Expand Down
1 change: 1 addition & 0 deletions tuxsuite/next-clang-18.tux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ jobs:
kconfig:
- allyesconfig
- CONFIG_CRASH_DUMP=n
- CONFIG_FTRACE=n
- CONFIG_KCOV=n
- CONFIG_MODULES=n
- CONFIG_RELOCATABLE=n
Expand Down
1 change: 1 addition & 0 deletions tuxsuite/stable-clang-17.tux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ jobs:
kconfig:
- allyesconfig
- CONFIG_CRASH_DUMP=n
- CONFIG_FTRACE=n
- CONFIG_KCOV=n
- CONFIG_MODULES=n
- CONFIG_RELOCATABLE=n
Expand Down
1 change: 1 addition & 0 deletions tuxsuite/stable-clang-18.tux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ jobs:
kconfig:
- allyesconfig
- CONFIG_CRASH_DUMP=n
- CONFIG_FTRACE=n
- CONFIG_KCOV=n
- CONFIG_MODULES=n
- CONFIG_RELOCATABLE=n
Expand Down

0 comments on commit 2ac7c4e

Please sign in to comment.