Skip to content

Commit

Permalink
added arm64 linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Dec 13, 2024
1 parent 68309ff commit 79b5649
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build_linux/chromium-gost-build-release-arm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

cd $(dirname $0)
. ./chromium-gost-env.sh

cd $CHROMIUM_PATH
#bash build/install-build-deps.sh
#build/linux/sysroot_scripts/install-sysroot.py --arch=arm64
gn gen out/RELEASEARM --args="is_debug=false symbol_level=0 strip_debug_info=true is_official_build=true enable_linux_installer=true target_cpu=\"arm64\" $CHROMIUM_FLAGS $CHROMIUM_PRIVATE_ARGS"
ninja -C out/RELEASEARM "chrome/installer/linux:stable_deb" -k 0
ninja -C out/RELEASEARM "chrome/installer/linux:stable_rpm" -k 0

cd $CHROMIUM_GOST_REPO/build_linux/
mv -f $CHROMIUM_PATH/out/RELEASEARM/chromium-gost-stable_${CHROMIUM_TAG}-1_arm64.deb chromium-gost-${CHROMIUM_TAG}-linux-arm64.deb
mv -f $CHROMIUM_PATH/out/RELEASEARM/chromium-gost-stable-${CHROMIUM_TAG}-1.aarch64.rpm chromium-gost-${CHROMIUM_TAG}-linux-arm64.rpm
8 changes: 8 additions & 0 deletions build_linux/chromium-gost-publish-release-arm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

cd $(dirname $0)
. ./chromium-gost-env.sh

#github-release release --user deemru --repo chromium-gost --tag $CHROMIUM_TAG --draft
github-release upload --user deemru --repo chromium-gost --tag $CHROMIUM_TAG --name chromium-gost-${CHROMIUM_TAG}-linux-arm64.deb --file chromium-gost-${CHROMIUM_TAG}-linux-arm64.deb
github-release upload --user deemru --repo chromium-gost --tag $CHROMIUM_TAG --name chromium-gost-${CHROMIUM_TAG}-linux-arm64.rpm --file chromium-gost-${CHROMIUM_TAG}-linux-arm64.rpm

0 comments on commit 79b5649

Please sign in to comment.