Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for GO_GCFLAGS (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/go_test.go

    	}
    	os.Setenv("CMDGO_TEST_RUN_MAIN", "true")
    
    	// $GO_GCFLAGS a compiler debug flag known to cmd/dist, make.bash, etc.
    	// It is not a standard go command flag; use os.Getenv, not cfg.Getenv.
    	if os.Getenv("GO_GCFLAGS") != "" {
    		fmt.Fprintf(os.Stderr, "testing: warning: no tests to run\n") // magic string for cmd/go
    		fmt.Printf("cmd/go test is not compatible with $GO_GCFLAGS being set\n")
    		fmt.Printf("SKIP\n")
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  7. src/cmd/dist/test.go

    	"flag"
    	"fmt"
    	"io"
    	"io/fs"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"reflect"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"time"
    )
    
    func cmdtest() {
    	gogcflags = os.Getenv("GO_GCFLAGS")
    	setNoOpt()
    
    	var t tester
    
    	var noRebuild bool
    	flag.BoolVar(&t.listMode, "list", false, "list available tests")
    	flag.BoolVar(&t.rebuild, "rebuild", false, "rebuild everything first")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. src/cmd/dist/build.go

    	install("time/tzdata") // no dependency in sources; creates generated file
    	install("cmd/go")
    	if vflag > 0 {
    		xprintf("\n")
    	}
    
    	gogcflags = os.Getenv("GO_GCFLAGS") // we were using $BOOT_GO_GCFLAGS until now
    	setNoOpt()
    	goldflags = os.Getenv("GO_LDFLAGS") // we were using $BOOT_GO_LDFLAGS until now
    	goBootstrap := pathf("%s/go_bootstrap", tooldir)
    	if debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top