]> Cypherpunks repositories - gostls13.git/commit
build: stop early if commands are missing
authorRuss Cox <rsc@golang.org>
Mon, 13 Jun 2011 19:28:54 +0000 (15:28 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 13 Jun 2011 19:28:54 +0000 (15:28 -0400)
commit8d8ac637eee69aac0c4037661d7f53c5430cd2ca
tree7b0d2140e937fa107831f5b44c09e43a52ea51a7
parent9968090dddb74e7b5cd1352d791b7cf8cb7a6045
build: stop early if commands are missing

If we fail due to a missing command (always bison)
during the build, it is running many things in parallel
and the error message gets lost in the noise.
Also diagnose bison++.

$ ./make.bash
Your system's bison is bison++, a buggy copy of the original bison.
Go needs the original bison instead.
See http://golang.org/doc/install.html#ctools
$ sudo apt-get remove bison++
... ridiculous amount of output ...
$ ./make.bash
Cannot find 'bison' on search path.
See http://golang.org/doc/install.html#ctools
$ sudo apt-get install bison
... ridiculous amount of output ...
$ ./make.bash
... works

Fixes #1938.
Fixes #1946.

R=bradfitz
CC=golang-dev
https://golang.org/cl/4528137
src/env.bash