Skip to content

Commit

Permalink
x86_64: build kernel with clang lto
Browse files Browse the repository at this point in the history
  • Loading branch information
pmkol authored May 8, 2024
1 parent d33950c commit b7940d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
run: |
export GITHUB_REPO=${{ github.repository }}
export PATH="/opt/clang/bin:$PATH"
export KERNEL_CLANG_LTO=y
BUILD_FAST=y ENABLE_UHTTPD=y ENABLE_LTO=y ENABLE_LRNG=y ENABLE_BPF=y USE_GCC15=y USE_MOLD=y bash <(curl -sS https://raw.githubusercontent.com/${{ github.repository }}/x86_64/openwrt/build.sh) ${{ matrix.tag.type }} ${{ matrix.model }}
export KERNEL_CLANG_LTO=y BUILD_FAST=y ENABLE_UHTTPD=y ENABLE_LTO=y ENABLE_LRNG=y ENABLE_BPF=y USE_GCC15=y USE_MOLD=y
bash <(curl -sS https://raw.githubusercontent.com/${{ github.repository }}/x86_64/openwrt/build.sh) ${{ matrix.tag.type }} ${{ matrix.model }}
cd openwrt
tags=$(git describe --abbrev=0 --tags)
echo "latest_release=$tags" >>$GITHUB_ENV
Expand Down

0 comments on commit b7940d2

Please sign in to comment.