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

Issue 3891042: code review 3891042: goinstall: Initial support for cgo packages (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by niemeyer
Modified:
14 years, 2 months ago
Reviewers:
CC:
adg, rsc, golang-dev
Visibility:
Public.

Description

goinstall: Initial support for cgo packages This will modify goinstall so that it is able to build and install simple cgo-based pacakges as well. As a follow up change, a way to tweak CGO_LDFLAGS and CGO_CFLAGS should be introduced. I'm considering extracting those out of the existing Makefile, if available, but that's still up for discussion and independent of this first branch.

Patch Set 1 #

Patch Set 2 : code review 3891042: goinstall: Initial support for cgo packages #

Total comments: 4

Patch Set 3 : code review 3891042: goinstall: Initial support for cgo packages #

Patch Set 4 : code review 3891042: goinstall: Initial support for cgo packages #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -33 lines) Patch
M src/cmd/goinstall/main.go View 1 2 1 chunk +6 lines, -9 lines 0 comments Download
M src/cmd/goinstall/make.go View 1 2 3 2 chunks +50 lines, -5 lines 0 comments Download
M src/cmd/goinstall/parse.go View 1 2 3 chunks +50 lines, -19 lines 0 comments Download

Messages

Total messages: 7
niemeyer
Hello adg, rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 2 months ago (2011-01-11 13:20:58 UTC) #1
rsc
Looks reasonable. I had started this at http://codereview.appspot.com/1853050 but this looks a little cleaner. As ...
14 years, 2 months ago (2011-01-11 16:20:57 UTC) #2
niemeyer
> As you note, it's not useful without being able > to set CGO_LDFLAGS, etc. ...
14 years, 2 months ago (2011-01-11 17:14:07 UTC) #3
rsc
> Here are a few alternatives I can think of: > > - Using a ...
14 years, 2 months ago (2011-01-11 17:31:31 UTC) #4
niemeyer
> It's a delicate position, but I don't want to tie anything to make. > ...
14 years, 2 months ago (2011-01-11 18:01:24 UTC) #5
rsc
LGTM
14 years, 2 months ago (2011-01-11 18:13:42 UTC) #6
rsc
14 years, 2 months ago (2011-01-11 18:14:54 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=25ba6c81420c ***

goinstall: preliminary support for cgo packages

Can handle cgo packages now but only if they
do not need to set CGO_LDFLAGS and CGO_CFLAGS.

R=adg, rsc
CC=golang-dev
http://codereview.appspot.com/3891042

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