You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed this last week, the ./hack/build-go.sh is taking a bit more than it was before. I wonder if there were some changes in the way we build or something I can turn off to make it build faster.
With 'make clean':
~/go/src/github.com/openshift/origin → time make
hack/build-go.sh
++ Building go targets for linux/amd64: cmd/openshift
++ Placing binaries
real 0m12.931s
user 0m27.710s
sys 0m3.890s
I've noticed this last week, the ./hack/build-go.sh is taking a bit more
than it was before. I wonder if there were some changes in the way we build
or something I can turn off to make it build faster.
With 'make clean':
~/go/src/github.com/openshift/origin → time make
hack/build-go.sh
++ Building go targets for linux/amd64: cmd/openshift
++ Placing binaries
real 0m12.931s
user 0m27.710s
sys 0m3.890s
I haven't noticed a significant reversion - we should still be doing a single go install to build the binary, so either it's something changed related to that, or the size of the binary / things we compile dramatically increased.
----- Original Message -----
Couldn't reproduce yet on OSX.
Reply to this email directly or view it on GitHub: #1044 (comment)
Why is this closed? Building the latest master now takes about half a minute...
$ time make build
hack/build-go.sh
++ Building go targets for linux/amd64: cmd/openshift
++ Placing binaries
real 0m33.458s
user 0m57.875s
sys 0m11.161s
@Kargakis At the time, performance was sufficiently improved and so the issue was closed. Can you open a new issue with this info and also machine/environment specifics?
Activity
smarterclayton commentedon Feb 17, 2015
ask dan mace
----- Original Message -----
mfojtik commentedon Feb 19, 2015
@ironcladlou ^^
ironcladlou commentedon Feb 19, 2015
Couldn't reproduce yet on OSX.
smarterclayton commentedon Feb 19, 2015
I haven't noticed a significant reversion - we should still be doing a single go install to build the binary, so either it's something changed related to that, or the size of the binary / things we compile dramatically increased.
----- Original Message -----
smarterclayton commentedon Feb 20, 2015
@ironcladlou this is why:
ironcladlou commentedon Feb 20, 2015
Clean build is 19s for me, incremental is 5s. Makes sense that adding more targets as we have increases the time.
Two things we could do:
hack/build-go.sh cmd/openshiftif you only want to build the openshift binary.Thoughts?
mfojtik commentedon Feb 20, 2015
@ironcladlou 2) is ~ 12s for me which is reasonable :-) thank for this hint
smarterclayton commentedon Feb 20, 2015
----- Original Message -----
No one ever changes those. I'd prefer you make this change.
ironcladlou commentedon Mar 4, 2015
@smarterclayton Please assign this one to me.
Only build images during build-cross
Only build images during build-cross
0xmichalis commentedon May 4, 2015
Why is this closed? Building the latest master now takes about half a minute...
ironcladlou commentedon May 4, 2015
@Kargakis At the time, performance was sufficiently improved and so the issue was closed. Can you open a new issue with this info and also machine/environment specifics?