mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Revert "Update build-all.sh to fix and add some platforms"
This commit is contained in:
13
build-all.sh
13
build-all.sh
@@ -4,7 +4,6 @@ PLATFORMS=(
|
|||||||
'linux/amd64'
|
'linux/amd64'
|
||||||
'linux/arm64'
|
'linux/arm64'
|
||||||
'linux/arm7'
|
'linux/arm7'
|
||||||
'linux/arm7h'
|
|
||||||
'linux/arm5'
|
'linux/arm5'
|
||||||
'linux/386'
|
'linux/386'
|
||||||
'windows/amd64'
|
'windows/amd64'
|
||||||
@@ -13,7 +12,6 @@ PLATFORMS=(
|
|||||||
'darwin/arm64'
|
'darwin/arm64'
|
||||||
'freebsd/amd64'
|
'freebsd/amd64'
|
||||||
'freebsd/arm7'
|
'freebsd/arm7'
|
||||||
'netbsd/arm7'
|
|
||||||
'linux/mips'
|
'linux/mips'
|
||||||
'linux/mipsle'
|
'linux/mipsle'
|
||||||
'linux/mips64'
|
'linux/mips64'
|
||||||
@@ -23,14 +21,9 @@ PLATFORMS=(
|
|||||||
type setopt >/dev/null 2>&1
|
type setopt >/dev/null 2>&1
|
||||||
|
|
||||||
set_goarm() {
|
set_goarm() {
|
||||||
if [[ "$1" =~ arm([5-7])(h)? ]]; then
|
if [[ "$1" =~ arm([5,7]) ]]; then
|
||||||
if [[ "${BASH_REMATCH[2]}" == "h" ]]; then
|
|
||||||
GOARM="hardfloat"
|
|
||||||
else
|
|
||||||
GOARM="softfloat"
|
|
||||||
fi
|
|
||||||
GOARCH="arm"
|
GOARCH="arm"
|
||||||
GOARM="${BASH_REMATCH[1]},$GOARM"
|
GOARM="${BASH_REMATCH[1]}"
|
||||||
GO_ARM="GOARM=${GOARM}"
|
GO_ARM="GOARM=${GOARM}"
|
||||||
else
|
else
|
||||||
GOARM=""
|
GOARM=""
|
||||||
@@ -125,4 +118,4 @@ if [[ "${FAILURES}" != "" ]]; then
|
|||||||
echo ""
|
echo ""
|
||||||
echo "failed on: ${FAILURES}"
|
echo "failed on: ${FAILURES}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user