Use my new toolchain, fix a bug on mac/freebsd
This commit is contained in:
20
build-for-ppc.sh
Normal file
20
build-for-ppc.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
mkdir -p build
|
||||
pushd build
|
||||
cmake-cross -S .. -B . -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release
|
||||
make -j`nproc`
|
||||
mkdir -p /home/build/tf
|
||||
chown build:build -R /home/build
|
||||
make install DESTDIR=/home/build/tf/src
|
||||
cp ppc-pkgbuild /home/build/tf/PKGBUILD
|
||||
chmod 644 /home/build/tf/PKGBUILD
|
||||
chown build:build -R /home/build/tf
|
||||
pushd /home/build/tf
|
||||
su build -c 'CARCH=powerpc makepkg -d'
|
||||
curl --user tesses50:$PACKAGE_AND_BREW \
|
||||
--upload-file *.pkg.tar.zst \
|
||||
https://git.tesses.org/api/packages/tesses50/arch/core
|
||||
popd
|
||||
popd
|
||||
mkdir -p artifacts
|
||||
tar czf artifacts/tessesframework-$VERSION\-powerpc.tar.gz -C /home/build/tf/src/usr .
|
||||
Reference in New Issue
Block a user