mirror of
https://github.com/golang/go
synced 2024-11-19 04:44:41 -07:00
cced8d21dd
This change adds a 32-bit builder for gccgo and fixes some specific configuration problems with the docker image/coordinator to speed up builds. The go builder running on the linux-x86-gccgo image has been modified to run `make -j16` when building to reduce build times from ~60 minutes to ~10 minutes and the coordinator has been modified to run the command `make check-go -j16` to reduce testsuite run times from ~30 minutes to ~10 minutes. LGTM=bradfitz R=bradfitz CC=adg, golang-codereviews https://golang.org/cl/151530043
16 lines
837 B
Makefile
16 lines
837 B
Makefile
# Copyright 2014 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
docker: Dockerfile
|
|
docker build -t gobuilders/linux-x86-gccgo .
|
|
|
|
docker-linux.gccgo.tar.gz: docker
|
|
docker save gobuilders/linux-x86-gccgo | gzip | (cd ../../coordinator/buildongce && go run create.go --write_object=go-builder-data/docker-linux.gccgo.tar.gz)
|
|
|
|
check: docker
|
|
docker run gobuilders/linux-x86-gccgo /usr/local/bin/builder -tool="gccgo" -rev=b9151e911a54 -v -cmd='make RUNTESTFLAGS="--target_board=unix/-m64" check-go' -report=false linux-amd64-gccgo-temp
|
|
|
|
check32: docker
|
|
docker run gobuilders/linux-x86-gccgo /usr/local/bin/builder -tool="gccgo" -rev=b9151e911a54 -v -cmd='make RUNTESTFLAGS="--target_board=unix/-m32" check-go' -report=false linux-386-gccgo-temp
|