v3 o3 lto

This commit is contained in:
Ward from fusion-voyager-3 2024-07-22 23:25:11 +03:00
parent 337de0b5aa
commit 73e607a803
5 changed files with 21 additions and 12 deletions

View File

@ -1,4 +1,4 @@
name: PikaOS Package Build Only
name: PikaOS Package Build Only (Canary) (amd64-v3)
on:
workflow_dispatch
@ -7,7 +7,7 @@ jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pikaos-builder:nest
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
volumes:
- /proc:/proc
options: --privileged -it
@ -31,4 +31,4 @@ jobs:
if_key_exists: replace
- name: Build Package
run: ./main.sh
run: ./mainv3.sh

View File

@ -1,4 +1,4 @@
name: PikaOS Package Build Only (Canary)
name: PikaOS Package Build Only (amd64-v3)
on:
workflow_dispatch
@ -7,7 +7,7 @@ jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pikaos-builder:canary
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes:
- /proc:/proc
options: --privileged -it
@ -31,4 +31,4 @@ jobs:
if_key_exists: replace
- name: Build Package
run: ./main.sh
run: ./mainv3.sh

View File

@ -1,4 +1,4 @@
name: PikaOS Package Build & Release
name: PikaOS Package Build & Release (Canary) (amd64-v3)
on:
workflow_dispatch
@ -7,7 +7,7 @@ jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pikaos-builder:nest
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
volumes:
- /proc:/proc
options: --privileged -it
@ -31,7 +31,7 @@ jobs:
if_key_exists: replace
- name: Build Package
run: ./main.sh
run: ./mainv3.sh
- name: Release Package
run: ./release.sh

View File

@ -1,4 +1,4 @@
name: PikaOS Package Build & Release (Canary)
name: PikaOS Package Build & Release (amd64-v3)
on:
workflow_dispatch
@ -7,7 +7,7 @@ jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pikaos-builder:canary
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes:
- /proc:/proc
options: --privileged -it
@ -31,7 +31,7 @@ jobs:
if_key_exists: replace
- name: Build Package
run: ./main.sh
run: ./mainv3.sh
- name: Release Package
run: ./release.sh

View File

@ -1,6 +1,15 @@
#! /bin/bash
VERSION=$(date '+%Y%m%d')
d
export DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_BUILD_OPTIONS="nocheck notest terse"
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
# Clone Upstream
#git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/