summaryrefslogtreecommitdiff
path: root/.apkfoundry/master/abuild.ppc64.conf
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2021-10-28 22:44:41 -0500
committerZach van Rijn <me@zv.io>2022-11-02 13:21:59 -0500
commit71b1953d5f0ffe8ca41537eb5c84b6d641f1180e (patch)
tree1c194b6932bf16358c8cc3e842421e600087ee36 /.apkfoundry/master/abuild.ppc64.conf
parentf501eba1775d96f4438e2086e4b66966f2ec06a8 (diff)
downloadpackages-add-apkf-config.tar.gz
packages-add-apkf-config.tar.bz2
packages-add-apkf-config.tar.xz
packages-add-apkf-config.zip
Add APK Foundry configuration for PPC64add-apkf-config
Diffstat (limited to '.apkfoundry/master/abuild.ppc64.conf')
-rw-r--r--.apkfoundry/master/abuild.ppc64.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/.apkfoundry/master/abuild.ppc64.conf b/.apkfoundry/master/abuild.ppc64.conf
new file mode 100644
index 000000000..f042e46be
--- /dev/null
+++ b/.apkfoundry/master/abuild.ppc64.conf
@@ -0,0 +1,16 @@
+# -O2 -> Perform second-level optimisations.
+# Not -Os because PPC64 machines aren't starved for space.
+# -ggdb -> Generate GDB debugging information.
+# This is used with splitdebug to make -dbg split packages.
+# -mcpu=970 -> Require a Power4+ "970" or higher CPU.
+# -mtune=power9 -> Tune for Power9 machines.
+# -maltivec -> Always enable AltiVec.
+# AltiVec extensions are available on every CPU we target.
+# -mlong-dou... -> Ensure musl ABI is followed.
+export CFLAGS="-O2 -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64"
+export CXXFLAGS="$CFLAGS"
+export LDFLAGS="-Wl,--as-needed"
+export JOBS=64
+export MAKEFLAGS=-j$JOBS
+
+export DEFAULT_DBG="YesPlease"