X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx12.valuehost.ru (mx12.valuehost.ru [217.112.42.215]) by lists.alpinelinux.org (Postfix) with ESMTP id 0F7BFF8575F for ; Tue, 15 Jan 2019 06:11:39 +0000 (UTC) Received: from mx7.valuehost.ru (unknown [127.0.0.255]) by mx12.valuehost.ru (Postfix) with ESMTP id 4FEEE5FBA6 for ; Tue, 15 Jan 2019 09:11:38 +0300 (MSK) From: alpine-mips-patches Date: Tue, 15 Jan 2019 05:17:12 +0000 Subject: [alpine-aports] [PATCH 1/2] community/go-bootstrap: remove unsupported archs To: alpine-aports@lists.alpinelinux.org Message-Id: <20190115061138.4FEEE5FBA6@mx12.valuehost.ru> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: go-1.4.3 supports only 386, amd64, arm (32-bit) so: - remove mips*, the specs are incomplete even for later mips-aware versions of go; - pass correct option for 386 FPU, otherwise it is autodetected at build time (to sse2); - pass ARM architecture version explicitly for arm*; This change affects the x86 package so bump pkgrel. --- community/go-bootstrap/APKBUILD | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/community/go-bootstrap/APKBUILD b/community/go-bootstrap/APKBUILD index 9b46f0783c..54b36f0ace 100644 --- a/community/go-bootstrap/APKBUILD +++ b/community/go-bootstrap/APKBUILD @@ -4,10 +4,10 @@ pkgname=go-bootstrap _realname="${pkgname%-*}" pkgver=1.4.3 -pkgrel=2 +pkgrel=3 pkgdesc="Go programming language compiler used for bootstraping" url="http://www.golang.org/" -arch="all !aarch64 !ppc64le !s390x" +arch="armel armhf armv7 x86 x86_64" license="BSD" depends="" depends_dev="" @@ -39,13 +39,11 @@ build() { export CGO_ENABLED=0 case "$CARCH" in - x86) export GOARCH="386" ;; + armel) export GOARCH="arm" GOARM="5" ;; + armhf) export GOARCH="arm" GOARM="6" ;; + armv7) export GOARCH="arm" GOARM="7" ;; + x86) export GOARCH="386" GO386="387" ;; x86_64) export GOARCH="amd64" ;; - arm*) export GOARCH="arm" ;; - mips) export GOARCH="mips" ;; - mips64) export GOARCH="mips64" ;; - mips64el) export GOARCH="mips64le" ;; - mipsel) export GOARCH="mipsle" ;; *) return 1 ;; esac -- 2.20.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---