From bbfe6325a5f07549c2a5f1655d7a2348015da352 Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Wed, 31 Jul 2024 10:25:06 +0200 Subject: [PATCH] Use LLVM for creating image --- .github/workflows/ax3200.yaml | 1 + .github/workflows/ax3600.yaml | 3 +++ .github/workflows/bpi-r4.yaml | 1 + configs/common/snapshot-short | 4 ++++ 4 files changed, 9 insertions(+) create mode 100644 configs/common/snapshot-short diff --git a/.github/workflows/ax3200.yaml b/.github/workflows/ax3200.yaml index fa19132..c47578a 100644 --- a/.github/workflows/ax3200.yaml +++ b/.github/workflows/ax3200.yaml @@ -60,6 +60,7 @@ jobs: run: | curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7622/ax3200 > .config curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/dumb_ap >> .config + curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot-short >> .config make defconfig - name: Remove packages that are marked as modules diff --git a/.github/workflows/ax3600.yaml b/.github/workflows/ax3600.yaml index 15899ff..67cad02 100644 --- a/.github/workflows/ax3600.yaml +++ b/.github/workflows/ax3600.yaml @@ -70,6 +70,9 @@ jobs: ./scripts/feeds update -a ./scripts/feeds install -a +# NOTE: Temporary do not use LLVM +# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot-short >> .config +# - name: Configure firmware image run: | curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/qualcommax/ax3600 > .config diff --git a/.github/workflows/bpi-r4.yaml b/.github/workflows/bpi-r4.yaml index 074ae18..a244158 100644 --- a/.github/workflows/bpi-r4.yaml +++ b/.github/workflows/bpi-r4.yaml @@ -71,6 +71,7 @@ jobs: run: | curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7988a/bpi-r4 > .config curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/main-router >> .config + curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot-short >> .config make defconfig - name: Remove packages that are marked as modules diff --git a/configs/common/snapshot-short b/configs/common/snapshot-short new file mode 100644 index 0000000..00e2aef --- /dev/null +++ b/configs/common/snapshot-short @@ -0,0 +1,4 @@ +CONFIG_BPF_TOOLCHAIN_BUILD_LLVM=y +# CONFIG_BPF_TOOLCHAIN_NONE is not set +CONFIG_SDK_LLVM_BPF=y +CONFIG_USE_LLVM_BUILD=y