- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for GOBIN (0.08 sec)
-
src/cmd/dist/buildtool.go
defer os.Setenv("GOROOT", os.Getenv("GOROOT")) os.Setenv("GOROOT", goroot_bootstrap) defer os.Setenv("GOPATH", os.Getenv("GOPATH")) os.Setenv("GOPATH", workspace) defer os.Setenv("GOBIN", os.Getenv("GOBIN")) os.Setenv("GOBIN", "") os.Setenv("GOOS", "") os.Setenv("GOHOSTOS", "") os.Setenv("GOARCH", "") os.Setenv("GOHOSTARCH", "") // Run Go bootstrap to build binaries.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 23:29:41 UTC 2024 - 11.5K bytes - Viewed (0) -
src/cmd/internal/moddeps/moddeps_test.go
// GO_TEST_SHORT=0 causes it to run this portion of the test.) var modcacheEnv []string { out, err := testenv.Command(t, goBin, "env", "GOMODCACHE").Output() if err != nil { t.Fatalf("%s env GOMODCACHE: %v", goBin, err) } modcacheOk := false if gomodcache := string(bytes.TrimSpace(out)); gomodcache != "" { if _, err := os.Stat(gomodcache); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/go/internal/work/build.go
ctx, span := trace.StartSpan(ctx, "InstallPackages "+strings.Join(patterns, " ")) defer span.Done() if cfg.GOBIN != "" && !filepath.IsAbs(cfg.GOBIN) { base.Fatalf("cannot install, GOBIN must be an absolute path") } pkgs = omitTestOnly(pkgsFilter(pkgs)) for _, p := range pkgs { if p.Target == "" { switch {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 17:22:59 UTC 2024 - 33.2K bytes - Viewed (0) -
src/crypto/ecdh/ecdh_test.go
} return string(out) } goBin := testenv.GoToolPath(t) run(goBin, "build", "-o", "hello.exe", "hello.go") if out := run("./hello.exe"); out != "OK\n" { t.Error("unexpected output:", out) } // List all text symbols under crypto/... and make sure there are some for // P384, but none for the other curves. var consistent bool nm := run(goBin, "tool", "nm", "hello.exe")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 18K bytes - Viewed (0) -
hack/lib/golang.sh
# env-var GOPATH points to our local output dir # env-var GOBIN is unset (we want binaries in a predictable place) # env-var PATH includes the local GOPATH kube::golang::setup_env() { # Even in module mode, we need to set GOPATH for `go build` and `go install` # to work. We build various tools (usually via `go install`) from a lot of # scripts. # * We can't just set GOBIN because that does not work on cross-compiles.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 32.8K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
envFile, envFileChanged, _ := cfg.EnvFile() env := []cfg.EnvVar{ {Name: "GO111MODULE", Value: cfg.Getenv("GO111MODULE")}, {Name: "GOARCH", Value: cfg.Goarch, Changed: cfg.Goarch != runtime.GOARCH}, {Name: "GOBIN", Value: cfg.GOBIN}, {Name: "GOCACHE"}, {Name: "GOENV", Value: envFile, Changed: envFileChanged}, {Name: "GOEXE", Value: cfg.ExeSuffix}, // List the raw value of GOEXPERIMENT, not the cleaned one.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
} var ( GOROOT string // Either empty or produced by filepath.Join(GOROOT, …). GOROOTbin string GOROOTpkg string GOROOTsrc string GOBIN = Getenv("GOBIN") GOMODCACHE, GOMODCACHEChanged = EnvOrAndChanged("GOMODCACHE", gopathDir("pkg/mod")) // Used in envcmd.MkEnv and build ID computations.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/go/internal/help/helpdoc.go
DIR/bin/quux, not DIR/bin/foo/quux. The "foo/" prefix is stripped so that you can add DIR/bin to your PATH to get at the installed commands. If the GOBIN environment variable is set, commands are installed to the directory it names instead of DIR/bin. GOBIN must be an absolute path. Here's an example directory layout: GOPATH=/home/user/go /home/user/go/ src/ foo/
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 36.3K bytes - Viewed (0) -
Makefile.core.mk
-include .istiorc.mk # Environment for tests, the directory containing istio and deps binaries. # Typically same as GOPATH/bin, so tests work seamlessly with IDEs. export ISTIO_BIN=$(GOBIN) # If we are running in the Linux build container on non Linux hosts, we add the # linux binaries to the build dependencies, BUILD_DEPS, which can be added to other targets # that would need the Linux binaries (ex. tests).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Jun 02 19:53:04 UTC 2024 - 23.2K bytes - Viewed (0)