[arch-commits] Commit in go/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed Oct 1 08:36:58 UTC 2014


    Date: Wednesday, October 1, 2014 @ 10:36:57
  Author: arodseth
Revision: 119931

upgpkg: go 2:1.3.2-1

Modified:
  go/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-01 08:29:24 UTC (rev 119930)
+++ PKGBUILD	2014-10-01 08:36:57 UTC (rev 119931)
@@ -11,8 +11,8 @@
 
 pkgname=go
 epoch=2
-pkgver=1.3.1
-pkgrel=2
+pkgver=1.3.2
+pkgrel=1
 pkgdesc='Compiler and tools for the Go programming language from Google'
 arch=('x86_64' 'i686')
 url='http://golang.org/'
@@ -37,11 +37,19 @@
   export GOROOT_FINAL=/usr/lib/go
 
   #
-  # Arch Linux doesn't support SSE2 for i686 (because of older i686 CPUs)
-  # The SSE2 version is _a lot_ faster for i686.
+  # Arch Linux normally does not enable SSE2 for i686 because of older CPUs.
   #
-  # This line selects the slow and compatible version.
-  export GO386=387
+  # However, exceptions are made for:
+  #  * Chromium, which is not expected to be used on older i686 CPUs
+  #  * Julia, which requires SSE2
+  #
+  # Go is so slow that it is unusable on i686 when SSE2 is not enabled, so I am
+  # also making an exception for Go.
+  #
+  # If you really want to build Go without SSE2 support, just uncomment the
+  # following export and rebuild:
+  #
+  # export GO386=387
 
   # Enable ARM crosscompilation for linux
   export GOOS=linux



More information about the arch-commits mailing list