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

Issue 5847063: code review 5847063: build: do more during windows build (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by brainman
Modified:
13 years ago
Reviewers:
frichter
CC:
golang-dev, r, kardia, bradfitz
Visibility:
Public.

Description

build: do more during windows build - use GO_GCFLAGS and GO_LDFLAGS if supplied - build misc\dashboard\builder and misc\goplay - run tests in test\bench\go1 - check api compatibility

Patch Set 1 #

Patch Set 2 : diff -r 087c6e15702e https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 087c6e15702e https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 4 : diff -r 8824dae9afdc https://go.googlecode.com/hg/ #

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -7 lines) Patch
M src/make.bash View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M src/make.bat View 1 2 3 4 chunks +30 lines, -5 lines 0 comments Download
A src/pkg/log/syslog/syslog_windows.go View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/run.bat View 1 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 14
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years ago (2012-03-19 05:34:31 UTC) #1
r
can a Windows user please take a look at this? http://codereview.appspot.com/5847063/diff/3004/src/make.bat File src/make.bat (right): http://codereview.appspot.com/5847063/diff/3004/src/make.bat#newcode26 ...
13 years ago (2012-03-19 20:47:01 UTC) #2
kardia
Changes seem fine to me. However, checking the go tool api will fail the build, ...
13 years ago (2012-03-19 21:24:42 UTC) #3
brainman
Hello golang-dev@googlegroups.com, r@golang.org, kardianos@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years ago (2012-03-19 23:33:17 UTC) #4
brainman
http://codereview.appspot.com/5847063/diff/3004/src/make.bat File src/make.bat (right): http://codereview.appspot.com/5847063/diff/3004/src/make.bat#newcode26 src/make.bat:26: :: in the built and installed packages and tools. ...
13 years ago (2012-03-19 23:33:22 UTC) #5
brainman
On 2012/03/19 21:24:42, kardia wrote: > ... However, checking the go tool api will fail ...
13 years ago (2012-03-19 23:34:11 UTC) #6
kardia
> It does not fail for me. Can you tell me how to reproduce the ...
13 years ago (2012-03-20 01:20:20 UTC) #7
r
Brad: opinion about running the api checker on Windows? http://codereview.appspot.com/5847063/diff/4004/src/run.bat File src/run.bat (right): http://codereview.appspot.com/5847063/diff/4004/src/run.bat#newcode60 src/run.bat:60: ...
13 years ago (2012-03-20 02:09:15 UTC) #8
brainman
http://codereview.appspot.com/5847063/diff/4004/src/run.bat File src/run.bat (right): http://codereview.appspot.com/5847063/diff/4004/src/run.bat#newcode60 src/run.bat:60: echo # Checking API compatibility. On 2012/03/20 02:09:15, r ...
13 years ago (2012-03-20 02:13:31 UTC) #9
bradfitz
It's supposed to produce the same output on all platforms. It never uses its own ...
13 years ago (2012-03-20 02:14:20 UTC) #10
r
LGTM
13 years ago (2012-03-20 02:34:59 UTC) #11
brainman
*** Submitted as http://code.google.com/p/go/source/detail?r=48d9395a3b95 *** build: do more during windows build - use GO_GCFLAGS and ...
13 years ago (2012-03-20 03:04:26 UTC) #12
frichter
On Monday, March 19, 2012 10:14:18 PM UTC-4, Brad Fitzpatrick wrote: > > It's supposed ...
13 years ago (2012-03-20 05:14:44 UTC) #13
brainman
13 years ago (2012-03-20 05:52:39 UTC) #14
On Tuesday, March 20, 2012 4:14:43 PM UTC+11, Fred Richter wrote:
>
>
> Not sure why, but ..
>
> Changing it to 
>    // +build !windows !plan9
> (removing the ,)
> seems to make it "see" the syslog pkg when api.exe is run on windows.
> (and I didn't have the new  _windows stub version present either)
>
>
See "Build Constraints" in http://tip.golang.org/pkg/go/build/ for 
explanation..

Alex 
Sign in to reply to this message.

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