aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
AgeCommit message (Collapse)Author
2011-12-21build: fixes for WindowsRuss Cox
* work around a linker/cgo bug * do not run deps.bash on Windows unless we need it (cuts a full minute off the build time) * add windows to the list of cgo-enabled targets The gopack problem is issue 2601. R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/5504062
2011-12-21cmd/go: many improvementsRuss Cox
* correct dependency calculations * comment meaning of action fields * new alias "std" like "all" but standard packages only * add -o flag to 'go build' * set up for parallel build (still serial) * understand that import "C" depends on cgo, runtime/cgo R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5502055
2011-12-20build: fix for freebsd, openbsdRuss Cox
TBR=r CC=golang-dev https://golang.org/cl/5505052
2011-12-20build: use go command during buildRuss Cox
If something goes wrong, it should suffice to set USE_GO_TOOL=false in env.bash to fall back to the makefiles. I will delete the makefiles in January. R=golang-dev, r CC=golang-dev https://golang.org/cl/5502047
2011-12-19runtime: separate out auto-generated files, take 2Russ Cox
This is like the ill-fated CL 5493063 except that I have written a shell script (autogen.sh) instead of thinking I could possibly write a correct Makefile. R=golang-dev, r CC=golang-dev https://golang.org/cl/5496075
2011-12-16runtime: hg revert -r 6ec0a5c12d75Russ Cox
That was the last build that was close to working. I will try that change again next week. Make is being very subtle today. At the reverted-to CL, the ARM traceback appears to be broken. I'll look into that next week too. R=golang-dev, r CC=golang-dev https://golang.org/cl/5492063
2011-12-16runtime: separate out auto-generated filesRuss Cox
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5493063
2011-11-11build: fix check for selinux's allow_execstack on Fedora 16Bobby Powers
Fedora 16 mounts selinux at /sys/fs/selinux, instead of the traditional /selinux. Check both locations for the selinux filesystem in make.bash Fixes #2448. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5373077
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