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

Issue 13139044: code review 13139044: cmd/api: ignore GOARCH when building cmd/api. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by bradfitz
Modified:
11 years, 8 months ago
Reviewers:
r, khr
CC:
golang-dev, r, khr
Visibility:
Public.

Description

cmd/api: ignore GOARCH when building cmd/api. This was breaking people setting GOARCH=386 before running all.bash on amd64 machines. cmd/go puts different architecture binaries where "go tool" can't find them.

Patch Set 1 #

Patch Set 2 : diff -r 19c167c161d3 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 19c167c161d3 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 19c167c161d3 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 5 : diff -r 471bd507de3c https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M src/cmd/api/run.go View 1 2 3 4 3 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 7
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 9 months ago (2013-08-20 23:18:00 UTC) #1
r
shouldn't we fix go tool instead?
11 years, 9 months ago (2013-08-20 23:41:58 UTC) #2
bradfitz
Or additionally. But I want to get this in because Keith and Carl keep hitting ...
11 years, 9 months ago (2013-08-20 23:43:51 UTC) #3
r
LGTM https://codereview.appspot.com/13139044/diff/6002/src/cmd/api/run.go File src/cmd/api/run.go (right): https://codereview.appspot.com/13139044/diff/6002/src/cmd/api/run.go#newcode66 src/cmd/api/run.go:66: // variables from remove. // TODO: delete when ...
11 years, 9 months ago (2013-08-20 23:49:40 UTC) #4
r
I'd rather just see 6201 fixed; I doubt it's hard. But OK. On Wed, Aug ...
11 years, 9 months ago (2013-08-20 23:50:32 UTC) #5
khr
LGTM https://codereview.appspot.com/13139044/diff/6002/src/cmd/api/run.go File src/cmd/api/run.go (right): https://codereview.appspot.com/13139044/diff/6002/src/cmd/api/run.go#newcode71 src/cmd/api/run.go:71: if strings.HasPrefix(s, r) && strings.HasPrefix(s, r+"=") { Why ...
11 years, 9 months ago (2013-08-21 03:14:34 UTC) #6
bradfitz
11 years, 8 months ago (2013-08-24 14:51:51 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=d85aa04112a1 ***

cmd/api: ignore GOARCH when building cmd/api.

This was breaking people setting GOARCH=386 before running
all.bash on amd64 machines.

cmd/go puts different architecture binaries where "go tool"
can't find them.

R=golang-dev, r, khr
CC=golang-dev
https://codereview.appspot.com/13139044
Sign in to reply to this message.

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