mirror of
https://github.com/golang/go
synced 2024-11-18 18:04:46 -07:00
dashboard: update Linux clang, nacl, and sid builders
Change-Id: I69cda2fb7b0047201999781cdb27f4a9013920c6 Reviewed-on: https://go-review.googlesource.com/1367 Reviewed-by: David Symonds <dsymonds@golang.org>
This commit is contained in:
parent
802ec582a3
commit
d5854b7d67
2
dashboard/env/linux-x86-clang/Dockerfile
vendored
2
dashboard/env/linux-x86-clang/Dockerfile
vendored
@ -15,6 +15,6 @@ ADD /scripts/install-apt-deps.sh /scripts/
|
||||
RUN /scripts/install-apt-deps.sh
|
||||
|
||||
ADD /scripts/build-go-builder.sh /scripts/
|
||||
RUN GO_REV=8c27884843c3 BUILDER_REV=ced78bfefcb3 /scripts/build-go-builder.sh && test -f /usr/local/bin/builder
|
||||
RUN GO_REV=go1.4 BUILDER_REV=6735829f /scripts/build-go-builder.sh && test -f /usr/local/bin/builder
|
||||
|
||||
ENV CC /usr/bin/clang
|
||||
|
4
dashboard/env/linux-x86-clang/Makefile
vendored
4
dashboard/env/linux-x86-clang/Makefile
vendored
@ -9,7 +9,7 @@ docker-linux.clang.tar.gz: docker
|
||||
docker save gobuilders/linux-x86-clang | gzip | (cd ../../coordinator/buildongce && go run create.go --write_object=go-builder-data/docker-linux.clang.tar.gz)
|
||||
|
||||
check: docker
|
||||
docker run gobuilders/linux-x86-clang /usr/local/bin/builder -rev=8c27884843c3 -buildroot=/ -v -report=false linux-amd64-temp
|
||||
docker run gobuilders/linux-x86-clang /usr/local/bin/builder -rev=77e96c9208d0 -buildroot=/ -v -report=false linux-amd64-temp
|
||||
|
||||
check32: docker
|
||||
docker run gobuilders/linux-x86-clang /usr/local/bin/builder -rev=8c27884843c3 -buildroot=/ -v -report=false linux-386-temp
|
||||
docker run gobuilders/linux-x86-clang /usr/local/bin/builder -rev=77e96c9208d0 -buildroot=/ -v -report=false linux-386-temp
|
||||
|
@ -7,14 +7,18 @@ PREFIX=/usr/local
|
||||
: ${BUILDER_REV:?"need to be set to the go.tools repo revision for the builder."}
|
||||
|
||||
mkdir -p $GOROOT
|
||||
curl -s https://storage.googleapis.com/gobuilder/go-snap.tar.gz | tar x --no-same-owner -zv -C $GOROOT
|
||||
(cd $GOROOT/src && hg pull -r $GO_REV -u && find && ./make.bash)
|
||||
git clone https://go.googlesource.com/go $GOROOT
|
||||
(cd $GOROOT/src && git checkout $GO_REV && find && ./make.bash)
|
||||
|
||||
GO_TOOLS=$GOPATH/src/golang.org/x/tools
|
||||
mkdir -p $GO_TOOLS
|
||||
curl -s https://storage.googleapis.com/gobuilder/go.tools-snap.tar.gz | tar x --no-same-owner -zv -C $GO_TOOLS
|
||||
git clone https://go.googlesource.com/tools $GO_TOOLS
|
||||
|
||||
mkdir -p $PREFIX/bin
|
||||
(cd $GO_TOOLS && hg pull -r $BUILDER_REV -u && GOBIN=$PREFIX/bin /goroot/bin/go install golang.org/x/tools/dashboard/builder)
|
||||
(cd $GO_TOOLS && git reset --hard $BUILDER_REV && GOBIN=$PREFIX/bin /goroot/bin/go install golang.org/x/tools/dashboard/builder)
|
||||
|
||||
rm -fR $GOROOT/bin $GOROOT/pkg $GOPATH
|
||||
|
||||
cd $GOROOT
|
||||
git clean -f -d -x
|
||||
git checkout master
|
||||
|
@ -15,7 +15,7 @@ apt-get install -y --no-install-recommends libc6-dev-i386 gcc-multilib
|
||||
# Remove gcc binary so it doesn't interfere with clang
|
||||
rm -f /usr/bin/gcc
|
||||
# For interacting with the Go source & subrepos:
|
||||
apt-get install -y --no-install-recommends mercurial git-core
|
||||
apt-get install -y --no-install-recommends git-core
|
||||
|
||||
apt-get clean
|
||||
rm -fr /var/lib/apt/lists
|
||||
|
2
dashboard/env/linux-x86-nacl/Dockerfile
vendored
2
dashboard/env/linux-x86-nacl/Dockerfile
vendored
@ -20,7 +20,7 @@ ADD /scripts/install-apt-deps.sh /scripts/
|
||||
RUN /scripts/install-apt-deps.sh
|
||||
|
||||
ADD /scripts/build-go-builder.sh /scripts/
|
||||
RUN GO_REV=8c27884843c3 BUILDER_REV=ced78bfefcb3 /scripts/build-go-builder.sh && test -f /usr/local/bin/builder
|
||||
RUN GO_REV=go1.4 BUILDER_REV=6735829f /scripts/build-go-builder.sh && test -f /usr/local/bin/builder
|
||||
|
||||
ADD build-command.pl /usr/local/bin/
|
||||
|
||||
|
2
dashboard/env/linux-x86-nacl/Makefile
vendored
2
dashboard/env/linux-x86-nacl/Makefile
vendored
@ -9,4 +9,4 @@ upload: docker
|
||||
docker save gobuilders/linux-x86-nacl | gzip | (cd ../../coordinator/buildongce && go run create.go --write_object=go-builder-data/docker-linux.nacl.tar.gz)
|
||||
|
||||
check: docker
|
||||
docker run gobuilders/linux-x86-nacl /usr/local/bin/builder -rev=8c27884843c3 -buildroot=/ -v -cmd=/usr/local/bin/build-command.pl -report=false nacl-amd64p32-temp
|
||||
docker run gobuilders/linux-x86-nacl /usr/local/bin/builder -rev=77e96c9208d0 -buildroot=/ -v -cmd=/usr/local/bin/build-command.pl -report=false nacl-amd64p32
|
||||
|
@ -7,15 +7,15 @@ PREFIX=/usr/local
|
||||
: ${BUILDER_REV:?"need to be set to the go.tools repo revision for the builder."}
|
||||
|
||||
mkdir -p $GOROOT
|
||||
curl -s https://storage.googleapis.com/gobuilder/go-snap.tar.gz | tar x --no-same-owner -zv -C $GOROOT
|
||||
(cd $GOROOT/src && hg pull -r $GO_REV -u && find && ./make.bash)
|
||||
git clone https://go.googlesource.com/go $GOROOT
|
||||
(cd $GOROOT/src && git checkout $GO_REV && find && ./make.bash)
|
||||
|
||||
GO_TOOLS=$GOPATH/src/golang.org/x/tools
|
||||
mkdir -p $GO_TOOLS
|
||||
curl -s https://storage.googleapis.com/gobuilder/go.tools-snap.tar.gz | tar x --no-same-owner -zv -C $GO_TOOLS
|
||||
git clone https://go.googlesource.com/tools $GO_TOOLS
|
||||
|
||||
mkdir -p $PREFIX/bin
|
||||
(cd $GO_TOOLS && hg pull -r $BUILDER_REV -u && GOBIN=$PREFIX/bin /goroot/bin/go install golang.org/x/tools/dashboard/builder)
|
||||
(cd $GO_TOOLS && git reset --hard $BUILDER_REV && GOBIN=$PREFIX/bin /goroot/bin/go install golang.org/x/tools/dashboard/builder)
|
||||
|
||||
rm -fR $GOROOT/bin $GOROOT/pkg $GOPATH
|
||||
|
||||
@ -24,3 +24,7 @@ rm -fR $GOROOT/bin $GOROOT/pkg $GOPATH
|
||||
|
||||
ln -s $GOROOT/misc/nacl/go_nacl_386_exec /usr/local/bin/
|
||||
ln -s $GOROOT/misc/nacl/go_nacl_amd64p32_exec /usr/local/bin/
|
||||
|
||||
cd $GOROOT
|
||||
git clean -f -d -x
|
||||
git checkout master
|
||||
|
@ -6,7 +6,7 @@ apt-get install -y --no-install-recommends curl ca-certificates
|
||||
# For building Go's bootstrap 'dist' prog
|
||||
apt-get install -y --no-install-recommends gcc libc6-dev
|
||||
# For interacting with the Go source & subrepos:
|
||||
apt-get install -y --no-install-recommends mercurial git-core
|
||||
apt-get install -y --no-install-recommends git-core
|
||||
# For 32-bit nacl:
|
||||
apt-get install -y --no-install-recommends libc6-i386 libc6-dev-i386 lib32stdc++6 gcc-multilib
|
||||
|
||||
|
2
dashboard/env/linux-x86-sid/Dockerfile
vendored
2
dashboard/env/linux-x86-sid/Dockerfile
vendored
@ -11,4 +11,4 @@ ADD /scripts/install-apt-deps.sh /scripts/
|
||||
RUN /scripts/install-apt-deps.sh
|
||||
|
||||
ADD /scripts/build-go-builder.sh /scripts/
|
||||
RUN GO_REV=8c27884843c3 BUILDER_REV=ced78bfefcb3 /scripts/build-go-builder.sh && test -f /usr/local/bin/builder
|
||||
RUN GO_REV=go1.4 BUILDER_REV=6735829fe0 /scripts/build-go-builder.sh && test -f /usr/local/bin/builder
|
||||
|
@ -7,14 +7,18 @@ PREFIX=/usr/local
|
||||
: ${BUILDER_REV:?"need to be set to the go.tools repo revision for the builder."}
|
||||
|
||||
mkdir -p $GOROOT
|
||||
curl -s https://storage.googleapis.com/gobuilder/go-snap.tar.gz | tar x --no-same-owner -zv -C $GOROOT
|
||||
(cd $GOROOT/src && hg pull -r $GO_REV -u && find && ./make.bash)
|
||||
git clone https://go.googlesource.com/go $GOROOT
|
||||
(cd $GOROOT/src && git checkout $GO_REV && find && ./make.bash)
|
||||
|
||||
GO_TOOLS=$GOPATH/src/golang.org/x/tools
|
||||
mkdir -p $GO_TOOLS
|
||||
curl -s https://storage.googleapis.com/gobuilder/go.tools-snap.tar.gz | tar x --no-same-owner -zv -C $GO_TOOLS
|
||||
git clone https://go.googlesource.com/tools $GO_TOOLS
|
||||
|
||||
mkdir -p $PREFIX/bin
|
||||
(cd $GO_TOOLS && hg pull -r $BUILDER_REV -u && GOBIN=$PREFIX/bin /goroot/bin/go install golang.org/x/tools/dashboard/builder)
|
||||
|
||||
rm -fR $GOROOT/bin $GOROOT/pkg $GOPATH
|
||||
|
||||
cd $GOROOT
|
||||
git clean -f -d -x
|
||||
git checkout master
|
||||
|
@ -11,7 +11,7 @@ apt-get install -y --no-install-recommends gcc libc6-dev
|
||||
# TODO(bradfitz): move these into a 386 image that derives from this one.
|
||||
apt-get install -y --no-install-recommends libc6-dev-i386 gcc-multilib
|
||||
# For interacting with the Go source & subrepos:
|
||||
apt-get install -y --no-install-recommends mercurial git-core
|
||||
apt-get install -y --no-install-recommends git-core
|
||||
|
||||
apt-get clean
|
||||
rm -fr /var/lib/apt/lists
|
||||
|
Loading…
Reference in New Issue
Block a user