Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(232)

Issue 171044: Remove GOBIN in PATH dependency; don't assume cwd is $G... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 3 months ago by dho
Modified:
15 years, 3 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src 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.

Patch Set 1 #

Total comments: 3

Patch Set 2 : code review 171044: Remove GOBIN in PATH dependency; don't assume cwd is $G... #

Total comments: 2

Patch Set 3 : code review 171044: Remove GOBIN in PATH dependency; don't assume cwd is $G... #

Total comments: 20

Patch Set 4 : code review 171044: Remove GOBIN in PATH dependency; don't assume cwd is $G... #

Patch Set 5 : code review 171044: Remove GOBIN in PATH dependency; don't assume cwd is $G... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -111 lines) Patch
M doc/install.html View 3 2 chunks +4 lines, -7 lines 0 comments Download
M doc/progs/run View 3 4 chunks +6 lines, -4 lines 0 comments Download
M misc/cgo/stdio/Makefile View 1 chunk +2 lines, -2 lines 0 comments Download
M misc/cgo/stdio/test.bash View 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M src/Make.cmd View 1 chunk +2 lines, -2 lines 0 comments Download
M src/Make.conf View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
M src/Make.pkg View 1 2 3 4 7 chunks +24 lines, -12 lines 0 comments Download
M src/Makefile View 1 1 chunk +8 lines, -3 lines 0 comments Download
M src/clean.bash View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/cmd/clean.bash View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/cmd/ebnflint/Makefile View 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/gc/mkbuiltin View 2 chunks +3 lines, -1 line 0 comments Download
M src/cmd/gotest/gotest View 1 2 3 4 4 chunks +10 lines, -8 lines 0 comments Download
M src/cmd/make.bash View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/make.bash View 1 2 3 4 6 chunks +21 lines, -19 lines 0 comments Download
M src/make-arm.bash View 1 2 3 4 3 chunks +21 lines, -13 lines 0 comments Download
M src/pkg/exp/eval/test.bash View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M src/pkg/exp/ogle/Makefile View 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/Makefile View 2 1 chunk +7 lines, -7 lines 0 comments Download
M src/run.bash View 1 3 chunks +19 lines, -17 lines 0 comments Download
M test/bench/timing.sh View 3 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 8
rsc
I don't set $GOBIN. Please don't break me. http://codereview.appspot.com/171044/diff/1/4 File src/Make.arm (right): http://codereview.appspot.com/171044/diff/1/4#newcode6 src/Make.arm:6: AS="${GOBIN}"/${O}a ...
15 years, 3 months ago (2009-12-09 22:00:36 UTC) #1
dho
On 2009/12/09 22:00:36, rsc wrote: > I don't set $GOBIN. > Please don't break me. ...
15 years, 3 months ago (2009-12-09 23:34:52 UTC) #2
rsc
i'd like you to update the docs for this change too, but wait until the ...
15 years, 3 months ago (2009-12-11 19:07:20 UTC) #3
dho
2009/12/11 <rsc@golang.org>: > i'd like you to update the docs for this change too, > ...
15 years, 3 months ago (2009-12-11 21:28:56 UTC) #4
rsc
http://codereview.appspot.com/171044/diff/2003/3002 File doc/install.html (right): http://codereview.appspot.com/171044/diff/2003/3002#newcode84 doc/install.html:84: <code>$GOBIN</code> is a path to a directory under which ...
15 years, 3 months ago (2009-12-11 21:51:17 UTC) #5
dho
2009/12/11 <rsc@golang.org>: > > http://codereview.appspot.com/171044/diff/2003/3002 > File doc/install.html (right): > > http://codereview.appspot.com/171044/diff/2003/3002#newcode84 > doc/install.html:84: <code>$GOBIN</code> ...
15 years, 3 months ago (2009-12-11 22:15:36 UTC) #6
dho
Just tested this latest patchset with: GOBIN=/home/dho/go\ bin GOROOT=/home/dho/go\ lang/ Looks like it works; also ...
15 years, 3 months ago (2009-12-11 22:44:54 UTC) #7
rsc
15 years, 3 months ago (2009-12-11 23:14:11 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=3676e592ac06 ***

Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src

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
http://codereview.appspot.com/171044

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b