Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for goGcflags (0.14 sec)

  1. hack/lib/golang.sh

      if [[ "${DBG:-}" == 1 ]]; then
          # Debugging - disable optimizations and inlining and trimPath
          gogcflags="${gogcflags} all=-N -l"
      else
          # Not debugging - disable symbols and DWARF, trim embedded paths
          goldflags="${goldflags} -s -w"
          goflags+=("-trimpath")
      fi
    
      # Extract tags if any specified in GOFLAGS
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. build/root/Makefile

    .EXPORT_ALL_VARIABLES:
    OUT_DIR ?= _output
    BIN_DIR := $(OUT_DIR)/bin
    
    ifdef KUBE_GOFLAGS
    $(info KUBE_GOFLAGS is now deprecated. Please use GOFLAGS instead.)
    ifndef GOFLAGS
    GOFLAGS := $(KUBE_GOFLAGS)
    unexport KUBE_GOFLAGS
    else
    $(error Both KUBE_GOFLAGS and GOFLAGS are set. Please use just GOFLAGS)
    endif
    endif
    
    # This controls the verbosity of the build.  Higher numbers mean more output.
    KUBE_VERBOSE ?= 1
    
    define ALL_HELP_INFO
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug_test.go

    var debugger = "dlv" // For naming files, etc.
    
    var gogcflags = os.Getenv("GO_GCFLAGS")
    
    // optimizedLibs usually means "not running in a noopt test builder".
    var optimizedLibs = (!strings.Contains(gogcflags, "-N") && !strings.Contains(gogcflags, "-l"))
    
    // TestNexting go-builds a file, then uses a debugger (default delve, optionally gdb)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. build/common.sh

        --env "GO_VERSION=${GO_VERSION:-}"
        --env "GOTOOLCHAIN=${GOTOOLCHAIN:-}"
        --env "GOFLAGS=${GOFLAGS:-}"
        --env "GOGCFLAGS=${GOGCFLAGS:-}"
        --env "SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH:-}"
      )
    
      # use GOLDFLAGS only if it is set explicitly.
      if [[ -v GOLDFLAGS ]]; then
        docker_run_opts+=(
          --env "GOLDFLAGS=${GOLDFLAGS:-}"
        )
      fi
    
      if [[ -n "${DOCKER_CGROUP_PARENT:-}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/cc_test.go

    		ldFlags:   []string{"-fsanitize=" + sanitizer},
    	}
    
    	if testing.Verbose() {
    		c.goFlags = append(c.goFlags, "-x")
    	}
    
    	switch sanitizer {
    	case "memory":
    		c.goFlags = append(c.goFlags, "-msan")
    
    	case "thread":
    		c.goFlags = append(c.goFlags, "--installsuffix=tsan")
    		compiler, _ := compilerVersion()
    		if compiler.name == "gcc" {
    			c.cFlags = append(c.cFlags, "-fPIC")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/envcmd/env.go

    		switch ev.Name {
    		case "GOGCCFLAGS": // GOGCCFLAGS cannot be modified
    		case "CGO_CPPFLAGS":
    			ev.Changed = ev.Value != ""
    		case "PKG_CONFIG":
    			ev.Changed = ev.Value != cfg.DefaultPkgConfig
    		case "CGO_CXXFLAGS", "CGO_CFLAGS", "CGO_FFLAGS", "GGO_LDFLAGS":
    			ev.Changed = ev.Value != work.DefaultCFlags
    		}
    	}
    
    	return ret
    }
    
    // argKey returns the KEY part of the arg KEY=VAL, or else arg itself.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcshared/cshared_test.go

    	cgoCflags := os.Getenv("CGO_CFLAGS")
    	if cgoCflags != "" {
    		cgoCflags += " "
    	}
    	cgoCflags += "-I" + tmpdir
    
    	cgoLdflags := os.Getenv("CGO_LDFLAGS")
    	if cgoLdflags != "" {
    		cgoLdflags += " "
    	}
    	cgoLdflags += "-L" + tmpdir + " -ltestgo2c2go"
    
    	goenv := []string{"CGO_CFLAGS=" + cgoCflags, "CGO_LDFLAGS=" + cgoLdflags}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testplugin/plugin_test.go

    	"internal/platform"
    	"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/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. 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)
  10. hack/make-rules/test.sh

    testargs=()
    eval "testargs=(${KUBE_TEST_ARGS:-})"
    
    # Used to filter verbose test output.
    go_test_grep_pattern=".*"
    
    goflags=()
    # The junit report tool needs full test case information to produce a
    # meaningful report.
    if [[ -n "${KUBE_JUNIT_REPORT_DIR}" ]] ; then
      goflags+=(-v)
      goflags+=(-json)
      # Show only summary lines by matching lines like "status package/test"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top