blob: 15e6240cc0250decd6aae0a97378154329c23567 [file] [log] [blame] [view]
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -07001# Minimum Requirements
2
3## Operating Systems
4
5### Linux
6
Minux Ma89f819f2017-01-17 19:36:37 -05007Kernel version 2.6.23 or later. [_This depends on architecture though, we need to have specific builder for this._] Linux/ARMv5 requires much newer kernels, at least v3.1 (for `__kuser_cmpxchg64`).
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -07008
Minux Mafb7b3982016-09-23 18:47:37 -04009We don't support CentOS 5. Kernel is too old (2.6.18).
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070010
Russ Coxdcc77a42016-10-20 22:08:59 -040011For little-endian MIPS64, kernel version [4.1 is known to fail, and 4.8 works](https://golang.org/issue/16848).
Russ Coxc5f56d42016-10-20 22:08:39 -040012
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070013### Windows
14
Brad Fitzpatrick9d0ae1c2016-11-17 14:01:27 -050015Windows XP (w/ Service Pack 2) or higher. But we don't currently (2016-09-23) have a Windows XP running. That is https://github.com/golang/go/issues/10267
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070016
17We run builders testing Go on Windows Server 2008 R2 Datacenter Edition. That is basically Windows 7 or above.
18
19### macOS (née OS X, aka Darwin)
20
Mikio Hara91129522016-10-20 16:35:55 +090021macOS Sierra (10.12) requires Go 1.7.1. We have not yet (as of 2016-09-23) backported the time system call fixes to any earlier Go versions. See https://github.com/golang/go/issues/16352.
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070022
Mikio Hara07d84ae2016-09-29 15:34:34 +090023Go only supports OS X 10.8 (Mountain Lion) or newer. We only have builders for 10.8, 10.10, and 10.11 as of 2016-09-23.
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070024
Brad Fitzpatrickc9526082016-11-16 15:03:16 -050025Go tip doesn't compile on OS X 10.7 (Lion) but binaries MAY work there. Maybe. No builders, no promises. We don't recommend it.
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070026
Mikio Hara07d84ae2016-09-29 15:34:34 +090027OS X 10.6 (Snow Leopard) is explicitly unsupported. See https://github.com/golang/go/issues/9511
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070028
29### OpenBSD
30
Brad Fitzpatrick70eb0a42016-12-07 16:56:00 -080031The current officially supported -stable versions only. See https://golang.org/wiki/OpenBSD for details.
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070032
33### DragonFly
34
35Generally only the latest release version only. We have a builder, but it's not the most stable of our ports.
36
37### FreeBSD
38
Brad Fitzpatrickdc8d47f2016-09-28 10:24:49 -070039FreeBSD 8 and up according to https://golang.org/doc/install, but I suspect we might need something newer than 8. We only run builders testing FreeBSD 9.3 and 10.1.
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070040
Minux Ma3cbcb222016-09-23 18:57:08 -040041### Native Client
42
43pepper_39 or newer.
44
Minux Maf8fd5682016-09-23 18:45:02 -040045### Solaris
46
47illumos (former OpenSolaris 10) based distributions or Oracle Solaris 11+.
48
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070049## Architectures
50
51### x86
52
53See https://golang.org/doc/install/source#environment
54
55Set GO386=387 or GO386=sse2 for older processors.
56
57### arm
58
59See https://golang.org/doc/install/source#environment
60
61* GOARM=5: use software floating point; when CPU doesn't have VFP co-processor
62* GOARM=6: use VFPv1 only; default if cross compiling; usually ARM11 or better cores (VFPv2 or better is also supported)
63* GOARM=7: use VFPv3; usually Cortex-A cores
64
65### arm64
66
Minux Maa6332e82016-09-23 18:49:20 -040067All ARMv8-A processors.
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070068
69### ppc64 (big endian)
70
Brad Fitzpatrick6f138aa2016-09-26 07:34:26 -070071"Big-endian 64-bit PowerPC (linux/ppc64) only requires the POWER5 architecture." (from
72https://golang.org/doc/go1.7#ports)
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070073
billotosyr7bf2b032016-09-23 18:22:58 -040074### ppc64le (little endian)
75
Brad Fitzpatrick6f138aa2016-09-26 07:34:26 -070076"The experimental port to Linux on little-endian 64-bit PowerPC (linux/ppc64le) now requires the POWER8 architecture or later." (from
77https://golang.org/doc/go1.7#ports)
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070078
Minux Maad0af362016-09-23 18:55:19 -040079### mips64 (big endian)
80
81MIPS III or higher. Builder is using MIPS64r2.
82
83### mips64le (little endian)
84
85MIPS III or higher in little endian mode. Builders are using Loongson 2E/2F.
86
Brad Fitzpatrick58593ec2016-09-23 15:15:50 -070087### s390x
88
89z196+
Minux Ma65a2c7d2016-12-01 23:00:08 -050090
91### mips (big endian) and mipsle (little endian)
92
93MIPS32r1, with FPU or kernel FPU emulation