aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
AgeCommit message (Collapse)Author
2011-10-14build: stop on failed deps.bashRuss Cox
Apparently some versions of bash do the ||exit implicitly when in set -e mode, but others do not. ??? R=gri CC=golang-dev https://golang.org/cl/5285043
2011-10-13make.bash: more robustly detect gold 2.20Christopher Wedgwood
On recent Debian systems the gold 2.20 check triggers though Debian doesn't have version 2.20 but rather has: GNU gold (GNU Binutils for Debian 2.21.52.20110606) 1.11 ^^^^ R=rsc, iant CC=golang-dev https://golang.org/cl/5252055
2011-05-04make.bash: remove old bash version of gotest on WindowsAlex Brainman
The file is called gotest.exe now. R=golang-dev, r CC=golang-dev https://golang.org/cl/4444090
2011-03-18build: diagnose Ubuntu's buggy copy of goldRuss Cox
R=iant, dsymonds CC=golang-dev https://golang.org/cl/4300041
2011-03-01build: convert src/cmd to use make directly and simplify src/make.bashDave Cheney
R=adg, bsiegert, rsc CC=golang-dev https://golang.org/cl/4221047
2011-02-24build: remove unused nacl conditional from make.bashDave Cheney
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4217042
2011-01-25make.bash: stricter selinux testRuss Cox
SELinux can be installed but not turned on. Don't complain unless it is actually turned on. https://bugzilla.redhat.com/show_bug.cgi?id=652987#c20 R=agl CC=golang-dev https://golang.org/cl/3979044
2010-12-13build: add a few missing --no-print-directoryRuss Cox
Reported by W. Michael Petullo <mike@flyn.org> Fixes #1269. R=r, r2 CC=golang-dev https://golang.org/cl/3618041
2010-12-08fix build: more libcgo referencesRuss Cox
R=r CC=golang-dev https://golang.org/cl/3448043
2010-10-25build: only print "You need to add foo to PATH" when neededAndrew Gerrand
Fixes #1223. R=bradfitz CC=golang-dev https://golang.org/cl/2701041
2010-09-02build: create bin and pkg directories as needed; drop from hgRuss Cox
R=dsymonds, r CC=golang-dev https://golang.org/cl/2050043
2010-08-30build: remove unnecessary references to GOBIN and GOROOTChristian Himpel
All scripts and makefiles assume that GOBIN is correctly set in PATH. R=rsc CC=golang-dev https://golang.org/cl/2043041
2010-08-25build: let pkg/Makefile coordinate building of Go commandsRuss Cox
Commands written in Go depend on Go packages, so they cannot be built by src/cmd/make.bash. They have been built by src/make.bash after all the packages are done, but we want to be able to use cgo (written in Go) during the build of package net. To make this possible, build the commands from src/pkg/Makefile instead of src/make.bash, so that they are included in the package dependency analysis. R=r CC=golang-dev https://golang.org/cl/1972046
2010-08-24build: fix build again - not sure where the " went. sigh.Russ Cox
R=r CC=golang-dev https://golang.org/cl/2024043
2010-08-24build: $GOBIN defaults to $GOROOT/binRuss Cox
R=r CC=golang-dev https://golang.org/cl/1982049
2010-08-18build: no required environment variablesRuss Cox
R=adg, r, PeterGo CC=golang-dev https://golang.org/cl/1942044
2010-07-15Build libcgo.so with $(CC), not the gcc on PATH.Ian Lance Taylor
Change make.bash to make sure that $(CC) is defined to match the compiler used to build the tools. R=rsc CC=golang-dev https://golang.org/cl/1853041
2010-05-15build; allow MAKEFLAGS to be set outside the build scriptsChristopher Wedgwood
R=rsc, r CC=golang-dev https://golang.org/cl/1231041
2010-03-31build script tweaksRuss Cox
factor out environment variable checks. infer $GOROOT etc during build if not set. it's still necessary to set them for yourself to use the standard Makefiles. when running all.bash, don't recompile all the go packages in run.bash, since make.bash already did. R=r CC=golang-dev https://golang.org/cl/609042
2010-03-04goinstall: an experiment in (external) package installationRuss Cox
R=adg, r CC=cw, golang-dev https://golang.org/cl/224043
2010-02-03arm: toss make-arm.bashRuss Cox
R=kaib CC=golang-dev https://golang.org/cl/199094
2009-12-11Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/srcDevon H. O'Dell
This change removes the necessity to have GOBIN in $PATH, and also doesn't assume that the build is being run from $GOROOT/src. This is a minimal set of necessary changes to get Go to build happily from the FreeBSD ports collection. R=rsc CC=golang-dev https://golang.org/cl/171044
2009-12-04make Native Client support build again,Russ Cox
add README explaining how to try the web demos. Fixes #339. R=r CC=barry.d.silverman, bss, vadim https://golang.org/cl/165057
2009-11-30Ports of lib9, libbio and libmach to Windows.Hector Chu
R=rsc https://golang.org/cl/157159
2009-11-24fix weird all.bash failures by running deps.bash before make clean runs in ↵Rob Pike
pkg directory. before this change, if pkg/Make.deps is missing or broken, clean.bash fails and the build dies but not until much later. add freebsd to error message about valid values of $GOOS TODO: would be nice if this process exited when an error occurred. subshells make it hard R=rsc CC=golang-dev https://golang.org/cl/160065
2009-11-24make.bash: clear CDPATH to avoid output from cdRuss Cox
Fixes #306. R=r, r1 https://golang.org/cl/160060
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes #115. R=rsc, dsymonds1 https://golang.org/cl/157067
2009-11-19build Make.deps during make.bash insteadRuss Cox
of keeping a checked-in copy. doesn't slow down make.bash appreciably. R=r https://golang.org/cl/156099
2009-11-14Build changes to support work on the BSDs.Devon H. O'Dell
This does still contain some FreeBSD-specific bits, but it's a pain to do partial diffs. R=rsc https://golang.org/cl/152138
2009-11-11make.bash: detect and warn about SELinux policy that crashes us.Adam Langley
The default SELinux policy on Fedora 12 (at least) disallows stack pages to be +x. This causes all binaries written by 6g/6l to segfault immedately. The 'true' way to fix this issue is to mark binaries with the correct type. However, that assumes that 6l is going to detect SELinux, figure out the correct type for the current distribution and set the type (without libselinux). For now we'll warn users and point them towards the way to enable execstack for the whole system. http://code.google.com/p/go/issues/detail?id=47 R=rsc CC=golang-dev http://codereview.prom.corp.google.com/1026041
2009-11-11Revert make.bash which slipped into the previous revision.Adam Langley
R=rsc http://codereview.prom.corp.google.com/1024051
2009-11-11Reland a112249da741, this time with missing file.Adam Langley
2009-11-10make.bash: check $PATH indirectly via which quietgccRuss Cox
R=agl1 CC=golang-dev https://golang.org/cl/152056
2009-11-10sanity check environment variables better.Russ Cox
Fixes #12. R=agl1 CC=golang-dev https://golang.org/cl/152055
2009-11-10test for invalid $GOBIN setting before trying to buildRuss Cox
R=r CC=golang-dev https://golang.org/cl/153049
2009-11-05new command hgpatch, for use by codereview extensionRuss Cox
R=r http://go/go-review/1018059
2009-11-03add goyacc to the buildRob Pike
R=rsc CC=go-dev http://go/go-review/1018034
2009-11-01Use the environment variable CC as the bootstrap compiler usedIan Lance Taylor
to build 6g, 6l, etc. R=rsc CC=go-dev http://go/go-review/1018015
2009-10-22fix build after Mercurial move.Russ Cox
various missing or incorrect files. R=r CC=go-dev http://go/go-review/1014004
2009-10-09fix nacl buildRuss Cox
R=r DELTA=23 (5 added, 0 deleted, 18 changed) OCL=35510 CL=35518
2009-10-038c, 8l dynamic loading support.Russ Cox
better mach binaries. cgo working on darwin+linux amd64+386. eliminated context switches - pi is 30x faster. add libcgo to build. on snow leopard: - non-cgo binaries work; all tests pass. - cgo binaries work on amd64 but not 386. R=r DELTA=2031 (1316 added, 626 deleted, 89 changed) OCL=35264 CL=35304
2009-08-14rename libmach_amd64 libmachRob Pike
R=rsc OCL=33273 CL=33276
2009-08-12new included Make.pkg for handwritten package makefiles.Russ Cox
gobuild is obsolete; don't build it (will delete eventually). revised gotest for whole-package compilation. R=r DELTA=102 (68 added, 6 deleted, 28 changed) OCL=33067 CL=33098
2009-07-28Support use of $GOBINDIR to override $HOME/binPhil Pennock
R=r,gri,rsc APPROVED=rsc DELTA=53 (12 added, 6 deleted, 35 changed) OCL=31822 CL=32282
2009-07-13ebnflint commandRobert Griesemer
- basic verification of EBNF grammars - tested with (and has testcase for) go_spec.html R=rsc DELTA=150 (148 added, 0 deleted, 2 changed) OCL=31481 CL=31517
2009-06-22set -e does not apply to ( ) blocks,Russ Cox
so implement the check manually. sigh. R=r DELTA=17 (6 added, 0 deleted, 11 changed) OCL=30606 CL=30612
2009-06-16- install gofmt in src/cmd/gofmtRobert Griesemer
- remove some left-over files R=rsc DELTA=1465 (281 added, 1181 deleted, 3 changed) OCL=30350 CL=30353
2009-06-16fix buildRobert Griesemer
R=rsc DELTA=5 (0 added, 1 deleted, 4 changed) OCL=30343 CL=30343
2009-06-09mv src/lib to src/pkgRob Pike
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-06move src/runtime -> src/lib/runtime;Russ Cox
hand-edited files. R=r DELTA=125 (77 added, 16 deleted, 32 changed) OCL=30001 CL=30008