- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for GO_GCFLAGS (0.13 sec)
-
src/cmp.bash
echo echo echo "1a) clean build using $FLAGS1" (export GO_GCFLAGS="$FLAGS1"; sh make.bash) echo echo echo "1b) save go build output for all packages" for pkg in `go list std`; do echo $pkg DIR=$GOROOT/src/$pkg go build -gcflags "$FLAGS1 -S" -o /dev/null $pkg &> $DIR/old.txt done echo echo echo "2a) clean build using $FLAGS2" (export GO_GCFLAGS="$FLAGS2"; sh make.bash) echo echo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:03:31 UTC 2023 - 1.5K bytes - Viewed (0) -
src/internal/testenv/testenv.go
// and then run them with os.StartProcess or exec.Command. func HasGoBuild() bool { if os.Getenv("GO_GCFLAGS") != "" { // It's too much work to require every caller of the go command // to pass along "-gcflags="+os.Getenv("GO_GCFLAGS"). // For now, if $GO_GCFLAGS is set, report that we simply can't // run go build. return false } goBuildOnce.Do(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
src/make.rc
# GOHOSTARCH=386 on an amd64 machine. # # GOARCH: The target architecture for installed packages and tools. # # GOOS: The target operating system for installed packages and tools. # # GO_GCFLAGS: Additional go tool compile arguments to use when # building the packages and commands. # # GO_LDFLAGS: Additional go tool link arguments to use when # building the commands. #
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 3.7K bytes - Viewed (0) -
src/internal/testenv/testenv_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 23:12:44 UTC 2024 - 6.1K bytes - Viewed (0) -
src/make.bat
:: CGO_ENABLED: Controls cgo usage...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
// - ssa/all/time enables time reporting for all phases // // See gc/lex.go for dissection of the option string. // Example uses: // // GO_GCFLAGS=-d=ssa/generic_cse/time,ssa/generic_cse/stats,ssa/generic_cse/debug=3 ./make.bash // // BOOT_GO_GCFLAGS=-d='ssa/~^.*scc$/off' GO_GCFLAGS='-d=ssa/~^.*scc$/off' ./make.bash func PhaseOption(phase, flag string, val int, valString string) string { switch phase { case "", "help":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/internal/archive/archive_test.go
} if err != nil { return err } cmd := testenv.Command(t, gotool, "build", "-buildmode=archive", "-o", cgoarchive, "-gcflags=all="+os.Getenv("GO_GCFLAGS"), "mycgo") cmd.Dir = filepath.Join(gopath, "src", "mycgo") cmd.Env = append(os.Environ(), "GOPATH="+gopath) out, err = cmd.CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 19:27:33 UTC 2023 - 7.9K bytes - Viewed (0) -
src/make.bash
# GOHOSTARCH=386 on an amd64 machine. # # GOARCH: The target architecture for installed packages and tools. # # GOOS: The target operating system for installed packages and tools. # # GO_GCFLAGS: Additional go tool compile arguments to use when # building the packages and commands. # # GO_LDFLAGS: Additional go tool link arguments to use when # building the commands. #
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/plugin_test.go
"internal/testenv" "log" "os" "os/exec" "path/filepath" "runtime" "strings" "testing" "time" ) var globalSkip = func(t *testing.T) {} var gcflags string = os.Getenv("GO_GCFLAGS") var goroot string func TestMain(m *testing.M) { flag.Parse() log.SetFlags(log.Lshortfile) os.Exit(testMain(m)) } // tmpDir is used to cleanup logged commands -- s/tmpDir/$TMPDIR/ var tmpDir string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
// or else the commands will rebuild any needed packages (like runtime) // over and over. func (test) goGcflags() string { return "-gcflags=all=" + os.Getenv("GO_GCFLAGS") } func (test) goGcflagsIsEmpty() bool { return "" == os.Getenv("GO_GCFLAGS") } var errTimeout = errors.New("command exceeded time limit") // run runs the test case. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0)