Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for exports (0.14 sec)

  1. src/buildall.bash

    targets="$(linux_targets) $(non_linux_targets)"
    
    failed=false
    for target in $targets
    do
    	echo ""
    	echo "### Building $target"
    	export GOOS=$(echo $target | sed 's/-.*//')
    	export GOARCH=$(echo $target | sed 's/.*-//')
    	unset GOARM
    	if [ "$GOARCH" = "arm5" ]; then
    		export GOARCH=arm
    		export GOARM=5
    	fi
    
    	# Build and vet everything.
    	# cmd/go/internal/work/exec.go enables the same vet flags during go test of std cmd
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. misc/ios/clangwrap.sh

    if [ "$GOARCH" == "arm64" ]; then
    	SDK=iphoneos
    	PLATFORM=ios
    	CLANGARCH="arm64"
    else
    	SDK=iphonesimulator
    	PLATFORM=ios-simulator
    	CLANGARCH="x86_64"
    fi
    
    SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
    export IPHONEOS_DEPLOYMENT_TARGET=5.1
    # cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
    CLANG=`xcrun --sdk $SDK --find clang`
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 02 16:48:07 GMT 2021
    - 626 bytes
    - Viewed (0)
  3. 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
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 26 21:54:09 GMT 2020
    - 518 bytes
    - Viewed (0)
Back to top