Skip to content
Snippets Groups Projects
Commit 83c721eb authored by omni's avatar omni
Browse files

testing/fbp: rebuild with -Dcpu=baseline

parent d738b6f3
No related branches found
No related tags found
1 merge request!27367rebuild river, mepo and fbp aports with -Dcpu=baseline
......@@ -3,7 +3,8 @@
pkgname=fbp
pkgver=0.5
pkgrel=0
arch="aarch64 x86_64" # Limited by zig's supported arches in alpine
pkgrel=1
arch="aarch64 x86_64" # Limited by zig aport
url="https://git.sr.ht/~mil/fbp"
pkgdesc="Framebuffer linux phone UI environment, supported best on the Pinephone"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~mil/fbp/archive/$pkgver.tar.gz"
......@@ -11,8 +12,13 @@ license="GPL-3.0-or-later"
makedepends="zig>=0.9.1 freetype-dev linux-headers"
options="!check" # Has no tests
# We may want other than "baseline" for other targets, when enabled by zig
case "$CARCH" in
aarch64|x86_64) cputarget=baseline ;;
esac
build() {
zig build
zig build -Drelease-safe ${cputarget:+-Dcpu="$cputarget"}
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment