| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
They are making the build die. I want to be able to see that everything else is okay.
R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7546049
|
|
|
|
|
|
|
|
| |
Fixes issue 4878.
R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7420052
|
|
|
|
|
|
|
|
| |
Let's just see what breaks.
R=golang-dev, bradfitz, adg
CC=golang-dev
https://codereview.appspot.com/7693043
|
|
|
|
|
|
| |
R=ken2
CC=golang-dev
https://codereview.appspot.com/7626045
|
|
|
|
|
|
|
|
| |
Fixes issue 4961.
R=golang-dev, r, minux.ma
CC=golang-dev
https://codereview.appspot.com/7443048
|
|
|
|
|
|
|
|
| |
Update issue 4961.
R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7451044
|
|
|
|
|
|
|
|
| |
Update issue 4878.
R=golang-dev
CC=golang-dev
https://codereview.appspot.com/7450048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Workaround the smart clang diagnostics with -Qunused-arguments:
clang: error: argument unused during compilation: '-XXX'
2. if "clang -print-libgcc-file-name" returns non-absolute path, don't
provide that on linker command line.
3. Fix dwarf.PtrType.Size() in cmd/cgo as clang doesn't generate
DW_AT_byte_size for pointer types.
4. Workaround warnings for -Wno-unneeded-internal-declaration with
-Wno-unknown-warning-option.
5. Add -Wno-unused-function.
6. enable race detector test on darwin with clang
(at least Apple clang version 1.7 (tags/Apple/clang-77) works).
Requires CL 7354043.
Update issue 4829
This should fix most parts of the problem, but one glitch still remains.
DWARF generated by newer clang doesn't differentiate these
two function types:
void *malloc(size_t);
void *malloc(unsigned long int);
so you might need to do this to make make.bash pass:
sed -i -e 's/C.malloc(C.size_t/C.malloc(C.ulong/' pkg/os/user/lookup_unix.go
R=golang-dev, dave, iant, rsc
CC=golang-dev
https://codereview.appspot.com/7351044
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This works with at least one version of clang
that existed at one moment in time.
No guarantees about clangs past or future.
To try:
CC=clang all.bash
It does not work with the Xcode clang,
because that clang fails at printing a useful answer
to:
clang -print-libgcc-file-name
The clang that works prints a full path name for
that command, not just "libgcc.a".
Fixes issue 4713.
R=iant, minux.ma
CC=golang-dev
https://codereview.appspot.com/7323068
|
|
|
|
|
|
|
|
| |
Revert to the shell builtin to avoid hosts that do not have /usr/bin/time.
R=golang-dev, iant
CC=golang-dev
http://codereview.appspot.com/6848054
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test/run.go already executes tests in parallel where
possible. An unknown GOMAXPROCS value during the tests
is known to cause failures with tests that measure
allocations.
ref: https://groups.google.com/d/topic/golang-nuts/tgMhFJ3F5WY/discussion
R=fullung, minux.ma, r
CC=golang-dev
http://codereview.appspot.com/6847050
|
|
|
|
|
|
| |
R=dvyukov
CC=golang-dev
http://codereview.appspot.com/6810067
|
|
|
|
|
|
| |
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/6612064
|
|
|
|
|
|
|
|
| |
Fixes build.
R=golang-dev, adg, bradfitz, dsymonds, dave
CC=golang-dev
http://codereview.appspot.com/6586074
|
|
|
|
|
|
| |
R=golang-dev
CC=golang-dev
http://codereview.appspot.com/6506121
|
|
|
|
|
|
|
|
| |
mainly for NetBSD/OpenBSD.
R=bradfitz, r, rsc
CC=golang-dev
http://codereview.appspot.com/6453154
|
|
|
|
|
|
|
|
|
| |
Enhances test/run.go to support testing other directories
Will enable stdio tests on Windows in a follow-up CL.
R=golang-dev, alex.brainman, rsc
CC=golang-dev
http://codereview.appspot.com/6220049
|
|
|
|
|
|
|
|
| |
Some tests currently fail with GOMAXPROCS>1
R=golang-dev
CC=golang-dev
http://codereview.appspot.com/6398044
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some class of bugs (data races, runtime bugs) can be found
only with real parallelism.
Note that GOMAXPROCS=32 is somewhat different from go test -cpu=32,
this intentionally uses GOMAXPROCS to stress program bootstrap,
testing code, garbage collections, etc.
Package selection is mostly random.
R=golang-dev, dave, r
CC=golang-dev
http://codereview.appspot.com/6346070
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This quiets all.bash noise for upcoming features we know about.
The all.bash warnings will now only print for things not in next.txt
(or in next.txt but not in the API).
Once an API is frozen, we rename next.txt to a new frozen file
(like go1.txt)
Fixes issue 3651
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6218069
|
|
|
|
|
|
|
|
| |
Fix the builders.
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5976068
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise we won't fail if something goes wrong.
This shell programming stuff is tricky.
R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5905062
Committer: David Symonds <dsymonds@golang.org>
|
|
|
|
|
|
|
|
|
|
| |
They could be tested but that requires more than seems wise right now.
Update issue 2648.
R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5908054
|
|
|
|
|
|
|
|
| |
To fix build on (overheated) Linux/ARM builder.
R=golang-dev, dave
CC=golang-dev
http://codereview.appspot.com/5865051
|
|
|
|
|
|
|
|
|
|
|
| |
This is because we disallow local import for non-local packages, if
GOROOT happens to be under one of GOPATH, then some tests will fail
to build.
Fixes issue 3337.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5852043
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds new file api/go1.txt, locking down the current API.
Any changes to the API will need to update that file.
run.bash (but not make.bash, or Windows) will check for
accidental API changes.
R=golang-dev, dsymonds, rsc
CC=golang-dev
http://codereview.appspot.com/5820070
|
|
|
|
|
|
|
|
|
|
| |
So that we don't duplicate knowledge about which OS/ARCH combination
supports cgo.
Also updated src/run.bash and src/sudo.bash to use 'go env'.
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5792055
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test.bash file generates .so file using gcc, builds the executable
using the go tool and then run it with the $LD_LIBRARY_PATH variable
pointing to the directory where the .so file lives.
Fixes issue 2982.
R=rsc, remyoudompheng
CC=golang-dev
http://codereview.appspot.com/5788043
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
|
|
|
|
| |
Also rename it to test.bash, for naming consistency.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5784045
Committer: Mikio Hara <mikioh.mikioh@gmail.com>
|
|
|
|
|
|
|
|
| |
Updates issue 2982.
R=rsc, rsc
CC=golang-dev
http://codereview.appspot.com/5759064
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Does not actually test so files.
??? original CL description
misc/cgo: re-enable testso
Also enabled it for darwin.
R=rsc
CC=golang-dev
http://codereview.appspot.com/5754063
Committer: Russ Cox <rsc@golang.org>
???
R=golang-dev, minux.ma, r, f
CC=golang-dev
http://codereview.appspot.com/5756075
|
|
|
|
|
|
|
|
|
|
| |
Also enabled it for darwin.
R=rsc
CC=golang-dev
http://codereview.appspot.com/5754063
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
|
|
| |
The testso directory still needs to be enabled.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5731048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, tweak run.go to use no more than 2x the
number of CPUs, and only one on ARM.
53.85u 13.33s 53.69r ./run
50.68u 12.13s 18.85r go run run.go
Fixes issue 2833.
R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5754047
|
|
|
|
|
|
|
|
|
|
| |
Fixes issue 3182.
R=golang-dev, dvyukov, rsc
CC=golang-dev, remy
http://codereview.appspot.com/5732057
Committer: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
|
|
| |
Fixes issue 3076.
R=golang-dev, dsymonds, r
CC=golang-dev
http://codereview.appspot.com/5727056
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL makes it possible to run make.bash with
GOOS and GOARCH set to something other than
the native host GOOS and GOARCH.
As part of the CL, the tool directory moves from bin/tool/
to pkg/tool/goos_goarch where goos and goarch are
the values for the host system (running the build), not
the target. pkg/ is not technically appropriate, but C objects
are there now tool (pkg/obj/) so this puts all the generated
binaries in one place (rm -rf $GOROOT/pkg cleans everything).
Including goos_goarch in the name allows different systems
to share a single $GOROOT on a shared file system.
Fixes issue 2920.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5645093
|
|
|
|
|
|
| |
R=bradfitz, ality, r, r, iant, mikioh.mikioh
CC=golang-dev
http://codereview.appspot.com/5615058
|
|
|
|
|
|
| |
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5604051
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Consequently, remove many package Makefiles,
and shorten the few that remain.
gomake becomes 'go tool make'.
Turn off test phases of run.bash that do not work,
flagged with $BROKEN. Future CLs will restore these,
but this seemed like a big enough CL already.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5601057
|
|
|
|
|
|
|
|
|
| |
attempt to fix freebsd build
TBR=rsc
R=rsc
CC=golang-dev
http://codereview.appspot.com/5576077
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also delete gotest, since it's messy to fix and slated for deletion anyway.
A couple of things outside src can't be tested any more. "go test" will be
fixed and these tests will be re-enabled. They're noisy for now.
Fixes issue 284.
R=rsc
CC=golang-dev
http://codereview.appspot.com/5598049
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use proper Win64 gcc calling convention when
calling initcgo on amd64
- increase g0 stack size to 64K on amd64 to make
it the same as 386
- implement C.sleep
- do not use C.stat, since it is renamed to C._stat by mingw
- use fopen to implement TestErrno, since C.strtol
always succeeds on windows
- skip TestSetEnv on windows, because os.Setenv
sets windows process environment, while C.getenv
inspects internal C runtime variable instead
R=golang-dev, vcc.163, rsc
CC=golang-dev
http://codereview.appspot.com/5500094
|
|
|
|
|
|
|
|
|
|
|
| |
The -v flag prints the names of packages as they are built/installed.
Use -v in make.bash/run.bash to avoid a silent pause during
the build while Go code is being compiled.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5532055
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* correct dependency calculations
* comment meaning of action fields
* new alias "std" like "all" but standard packages only
* add -o flag to 'go build'
* set up for parallel build (still serial)
* understand that import "C" depends on cgo, runtime/cgo
R=golang-dev, mikioh.mikioh
CC=golang-dev
http://codereview.appspot.com/5502055
|
|
|
|
|
|
|
|
| |
Should help windows/amd64
R=adg
CC=golang-dev
http://codereview.appspot.com/5500058
|
|
|
|
|
|
| |
R=golang-dev, r, rsc
CC=golang-dev
http://codereview.appspot.com/5502051
|
|
|
|
|
|
|
|
|
|
| |
If something goes wrong, it should suffice to set
USE_GO_TOOL=false in env.bash to fall back to the
makefiles. I will delete the makefiles in January.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5502047
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I have included a few important microbenchmarks,
but the overall intent is to have mostly end-to-end
benchmarks timing real world operations.
The jsondata.go file is a summary of agl's
activity in various open source repositories.
It gets used as test data for many of the benchmarks.
Everything links into one binary (even the test data)
so that it is easy to run the benchmarks on many
computers: there is just one file to copy around.
R=golang-dev, r, bradfitz, adg, r
CC=golang-dev
http://codereview.appspot.com/5484071
|
|
|
|
|
|
| |
R=golang-dev, r, gri, bradfitz
CC=golang-dev
http://codereview.appspot.com/5487067
|