-
Notifications
You must be signed in to change notification settings - Fork 0
Update Go from gccgo 1.4.2 to upstream Go 1.9.2 #528
Conversation
convert to versionless bee-file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GCC change should have been two commits. (Leave it like this now.)
How did you fix the delay when running go?
go.be0
Outdated
mee_build() { | ||
export GOROOT_BOOTSTRAP=${PREFIX} \ | ||
GOROOT_FINAL=${LIBDIR}/go-${PKGVERSION} | ||
cd ${S} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be removed, if you enable build_in_sourcedir
at the top?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das build script erwartet, dass du in dem src dir sitzt. dadurch muss man das cd machen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo ${S}
returns /dev/shm/bee-pmenzel/go/go-1.9.2-0/source/src
, so Bee takes care of everything, if you enable build_in_sourcedir
(and append src
, as you already did).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but when you start the build script, your working directory must be ${S}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok is fixed
go.be0
Outdated
export GOROOT_BOOTSTRAP=${PREFIX} \ | ||
GOROOT_FINAL=${LIBDIR}/go-${PKGVERSION} | ||
cd ${S} | ||
start_cmd ./make.bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this run in parallel?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't test it, because the build is very fast
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I takes over three minutes on orpheus.
go.be0
Outdated
|
||
start_cmd mkdir -p ${D}${LIBDIR}/go-${PKGVERSION}/src | ||
for i in $LIBS; do | ||
start_cmd cp -r ${S}/${i} ${D}${LIBDIR}/go-${PKGVERSION}/src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indent with four spaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
go needs his packages as source and compiled. |
a4f29ef
to
350355a
Compare
request from niclas helpdesk Go Update 08.11.17
tested on machmal
bee update gcc-5.3.0-1.x86_64 # remove /usr/bin/go{,fmt}
bee install go