Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 488 for goroot (0.1 sec)

  1. src/buildall.bash

    if [ ! -f run.bash ]; then
    	echo 'buildall.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    sete=false
    if [ "$1" = "-e" ]; then
    	sete=true
    	shift
    fi
    
    if [ "$sete" = true ]; then
    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    	../bin/go tool dist list | sed -e 's|/|-|' |
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Apr 23 17:45:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/clean.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    set -e
    
    if [ ! -f run.bash ]; then
    	echo 'clean.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    export GOROOT="$(cd .. && pwd)"
    
    gobin="${GOROOT}"/bin
    if ! "$gobin"/go help >/dev/null 2>&1; then
    	echo 'cannot find go command; nothing to clean' >&2
    	exit 1
    fi
    
    "$gobin/go" clean -i std
    "$gobin/go" tool dist clean
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Feb 26 21:54:09 UTC 2020
    - 518 bytes
    - Viewed (0)
  3. misc/go_android_exec/README

    To run tests on the Android device, add the bin directory to PATH so the
    go tool can find the go_android_$GOARCH_exec wrapper generated by
    make.bash. For example, to run the go1 benchmarks
    
    	export PATH=$GOROOT/bin:$PATH
    	cd $GOROOT/test/bench/go1/
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 01 14:45:55 UTC 2023
    - 732 bytes
    - Viewed (0)
  4. cmd/build-constants.go

    // DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
    // set through ‘buildscripts/gen-ldflags.go’.
    var (
    	// GOPATH - GOPATH value at the time of build.
    	GOPATH = ""
    
    	// GOROOT - GOROOT value at the time of build.
    	GOROOT = ""
    
    	// Version - version time.RFC3339.
    	Version = "DEVELOPMENT.GOGET"
    
    	// ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
    	ReleaseTag = "DEVELOPMENT.GOGET"
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    		gorootPath = runtime.GOROOT()
    		if gorootPath != "" {
    			return
    		}
    
    		// runtime.GOROOT is empty — perhaps go_android_exec was built with
    		// -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback,
    		// assuming that the 'go' command in $PATH is the correct one.
    
    		cmd := exec.Command("go", "env", "GOROOT")
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. src/all.rc

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    rfork n
    
    if(! test -f make.rc){
    	echo 'all.rc must be run from $GOROOT/src' >[1=2]
    	exit wrongdir
    }
    
    . ./make.rc --no-banner $*
    bind -b $GOROOT/bin /bin
    ./run.rc --no-rebuild
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jun 10 13:00:41 UTC 2025
    - 391 bytes
    - Viewed (0)
  7. misc/chrome/gophertool/README.txt

    To install:
    
    1) chrome://extensions/
    2) click "[+] Developer Mode" in top right
    3) "Load unpacked extension..."
    4) pick $GOROOT/misc/chrome/gophertool
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 23 21:27:51 UTC 2011
    - 194 bytes
    - Viewed (0)
  8. src/README.vendor

    in GOROOT/src.
    
    Maintaining vendor directories
    ==============================
    
    Before updating vendor directories, ensure that module mode is enabled.
    Make sure that GO111MODULE is not set in the environment, or that it is
    set to 'on' or 'auto', and if you use a go.work file, set GOWORK=off.
    
    Also, ensure that 'go env GOROOT' shows the root of this Go source
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 30 19:15:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func subdir() (pkgpath string, underGoRoot bool, err error) {
    	cwd, err := os.Getwd()
    	if err != nil {
    		return "", false, err
    	}
    	cwd, err = filepath.EvalSymlinks(cwd)
    	if err != nil {
    		log.Fatal(err)
    	}
    	goroot, err := filepath.EvalSymlinks(runtime.GOROOT())
    	if err != nil {
    		return "", false, err
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/archive/zip/testdata/readme.zip

    Binary Distribution Notes If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this README). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install.html). You should also add the Go binary directory $GOROOT/bin to your shell's path. For example, if you extracted the tar file into $HOME/go, you might put the following in your...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.8K bytes
    - Viewed (0)
Back to top