Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for gohostos (0.13 sec)

  1. src/cmd/dist/main.go

    		case strings.Contains(out, "s390x"):
    			gohostarch = "s390x"
    		case gohostos == "darwin", gohostos == "ios":
    			if strings.Contains(run("", CheckExit, "uname", "-v"), "RELEASE_ARM64_") {
    				gohostarch = "arm64"
    			}
    		case gohostos == "freebsd":
    			if strings.Contains(run("", CheckExit, "uname", "-p"), "riscv64") {
    				gohostarch = "riscv64"
    			}
    		case gohostos == "openbsd" && strings.Contains(out, "powerpc64"):
    			gohostarch = "ppc64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    // $CC, if set, applies to all goos/goarch but is overridden by the following.
    // $CC_FOR_TARGET, if set, applies to all goos/goarch except gohostos/gohostarch,
    // but is overridden by the following.
    // If gohostos=goos and gohostarch=goarch, then $CC_FOR_TARGET applies even for gohostos/gohostarch.
    // $CC_FOR_goos_goarch, if set, applies only to goos/goarch.
    func compilerEnv(envName, def string) map[string]string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. src/cmd/dist/buildtool.go

    	// GOBIN is empty, so that binaries are installed to GOPATH/bin,
    	// and GOOS, GOHOSTOS, GOARCH, and GOHOSTOS are empty,
    	// so that Go bootstrap toolchain builds whatever kind of binary it knows how to build.
    	// Restore GOROOT, GOPATH, and GOBIN when done.
    	// Don't bother with GOOS, GOHOSTOS, GOARCH, and GOHOSTARCH,
    	// because setup will take care of those when bootstrapBuildTools returns.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/cmd/go/scriptconds_test.go

    	add("cgo", script.BoolCondition("host CGO_ENABLED", testenv.HasCGO()))
    	add("cgolinkext", script.Condition("platform requires external linking for cgo", cgoLinkExt))
    	add("cross", script.BoolCondition("cmd/go GOOS/GOARCH != GOHOSTOS/GOHOSTARCH", goHostOS != runtime.GOOS || goHostArch != runtime.GOARCH))
    	add("fuzz", sysCondition("-fuzz", platform.FuzzSupported, false))
    	add("fuzz-instrumented", sysCondition("-fuzz with instrumentation", platform.FuzzInstrumented, false))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/internal/cfg/cfg.go

    	CXX
    	FC
    	GCCGO
    	GO111MODULE
    	GO386
    	GOAMD64
    	GOARCH
    	GOARM
    	GOARM64
    	GOBIN
    	GOCACHE
    	GOCACHEPROG
    	GOENV
    	GOEXE
    	GOEXPERIMENT
    	GOFLAGS
    	GOGCCFLAGS
    	GOHOSTARCH
    	GOHOSTOS
    	GOINSECURE
    	GOMIPS
    	GOMIPS64
    	GOMODCACHE
    	GONOPROXY
    	GONOSUMDB
    	GOOS
    	GOPATH
    	GOPPC64
    	GOPRIVATE
    	GOPROXY
    	GORISCV64
    	GOROOT
    	GOSUMDB
    	GOTMPDIR
    	GOTOOLCHAIN
    	GOTOOLDIR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/distpack/pack.go

    	if flag.NArg() != 0 {
    		usage()
    	}
    
    	// Load context.
    	goroot = runtime.GOROOT()
    	if goroot == "" {
    		log.Fatalf("missing $GOROOT")
    	}
    	gohostos = runtime.GOOS
    	gohostarch = runtime.GOARCH
    	goos = os.Getenv("GOOS")
    	if goos == "" {
    		goos = gohostos
    	}
    	goarch = os.Getenv("GOARCH")
    	if goarch == "" {
    		goarch = gohostarch
    	}
    	goosUnderGoarch := goos + "_" + goarch
    	goosDashGoarch := goos + "-" + goarch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/00-bug.yml

            GOCACHE="/Users/gopher/go/cache"
            GOENV="/Users/gopher/Library/Application Support/go/env"
            GOEXE=""
            GOEXPERIMENT=""
            GOFLAGS=""
            GOHOSTARCH="arm64"
            GOHOSTOS="darwin"
            GOINSECURE=""
            GOMODCACHE="/Users/gopher/go/pkg/mod"
            GONOPROXY=""
            GONOSUMDB=""
            GOOS="darwin"
            GOPATH="/Users/gopher/go"
            GOPRIVATE=""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/run.bash

    	echo 'run.bash must be run from $GOROOT/src after installing cmd/go' 1>&2
    	exit 1
    fi
    
    export GOENV=off
    eval $(../bin/go tool dist env)
    
    unset CDPATH	# in case user has it set
    
    export GOHOSTOS
    export CC
    
    # no core files, please
    ulimit -c 0
    
    # Raise soft limits to hard limits for NetBSD/OpenBSD.
    # We need at least ~300 MB of bss.
    [ "$(ulimit -H -d)" = "unlimited" ] || ulimit -S -d $(ulimit -H -d)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:02:23 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/goroot_executable_trimpath.txt

    # Regression test for https://go.dev/issue/62119:
    # A 'go' command cross-compiled with a different GOHOSTOS
    # should be able to locate its GOROOT using os.Executable.
    #
    # (This also tests a 'go' command built with -trimpath
    # that is not cross-compiled, since we need to build that
    # configuration for the test anyway.)
    
    [short] skip 'builds and links another cmd/go'
    
    mkdir $WORK/new/bin
    mkdir $WORK/new/bin/${GOOS}_${GOARCH}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/cmd/go/script_test.go

    		"GOCOVERDIR=" + os.Getenv("GOCOVERDIR"),
    		"GODEBUG=" + os.Getenv("GODEBUG"),
    		"GOEXE=" + cfg.ExeSuffix,
    		"GOEXPERIMENT=" + os.Getenv("GOEXPERIMENT"),
    		"GOOS=" + runtime.GOOS,
    		"TESTGO_GOHOSTOS=" + goHostOS,
    		"GOPROXY=" + proxyURL,
    		"GOPRIVATE=",
    		"GOROOT=" + testGOROOT,
    		"GOTRACEBACK=system",
    		"TESTGONETWORK=panic", // allow only local connections by default; the [net] condition resets this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top