Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gen_targets (0.32 sec)

  1. src/buildall.bash

    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    	../bin/go tool dist list | sed -e 's|/|-|' |
    		egrep -v '^(android|ios)' # need C toolchain even for cross-compiling
    	echo linux-arm-arm5
    }
    
    selectedtargets() {
    	gettargets | grep -E "$pattern"
    }
    
    # put linux first in the target list to get all the architectures up front.
    linux_targets() {
    Shell Script
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 27 17:32:27 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top