Skip to content

Commit

Permalink
Update Go version requirement for building 21.1 from source
Browse files Browse the repository at this point in the history
Technically, the minimum required is 1.15.3:
https://github.com/cockroachdb/cockroach/blob/release-21.1/build/go-version-check.sh#L10

However, 1.15.11 avoids these Go bugs:
golang/go#45076
golang/go#45187
golang/go#42884

So to prevent users from running into those, we listing
1.15.11 as the minimum required version, followed by
a note that you can use IGNORE_GOVERS=1 to try building
with older versions.

Fixes #10468
Fixes #9081
  • Loading branch information
Jesse Seldess committed May 4, 2021
1 parent 177c73f commit 094d7cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions v21.1/install-cockroachdb-linux.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h3>Build from Source</h3>
</tr>
<tr>
<td>Go</td>
<td>Version 1.13.9+ is required, but 1.14 and above is not recommended. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.</td>
<td>Version 1.15.11+ is required. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.</td>
</tr>
<tr>
<td>Bash</td>
Expand All @@ -186,7 +186,7 @@ <h3>Build from Source</h3>
</tr>
<tr>
<td>Autoconf</td>
<td>Version 2.68 or higher is required.</td>
<td>Version 2.68+ is required.</td>
</tr>
</table>
<p>A 64-bit system is strongly recommended. Building or running CockroachDB on 32-bit systems has not been tested. You'll also need at least 2GB of RAM. If you plan to run our test suite, you'll need closer to 4GB of RAM.</p>
Expand Down
4 changes: 2 additions & 2 deletions v21.1/install-cockroachdb-mac.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ <h3>Build from source</h3>
</tr>
<tr>
<td>Go</td>
<td>Version 1.13.9+ is required, but 1.14 and above is not recommended. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.</td>
<td>Version 1.15.11+ is required. Older versions might work via <code>make build IGNORE_GOVERS=1</code>.</td>
</tr>
<tr>
<td>Bash</td>
Expand All @@ -201,7 +201,7 @@ <h3>Build from source</h3>
</tr>
<tr>
<td>Autoconf</td>
<td>Version 2.68 or higher is required.</td>
<td>Version 2.68+ is required.</td>
</tr>
</table>
<p>A 64-bit system is strongly recommended. Building or running CockroachDB on 32-bit systems has not been tested. You'll also need at least 2GB of RAM. If you plan to run our test suite, you'll need closer to 4GB of RAM.</p>
Expand Down

0 comments on commit 094d7cd

Please sign in to comment.