golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/corellium/ios/files/builder.sh (about)

     1  #!/bin/sh
     2  # Copyright 2022 The Go Authors. All rights reserved.
     3  # Use of this source code is governed by a BSD-style
     4  # license that can be found in the LICENSE file.
     5  
     6  
     7  export HOME=/var/root
     8  export CC=$HOME/bin/clangwrap
     9  export GO_BUILDER_ENV=host-ios-arm64-corellium-ios
    10  export GOROOT_BOOTSTRAP=$HOME/go-ios-arm64-bootstrap
    11  export PATH=$HOME/bin:$PATH
    12  while true; do
    13  	$GOROOT_BOOTSTRAP/bin/go install golang.org/x/build/cmd/buildlet@latest
    14  	$HOME/go/bin/buildlet -reverse-type host-ios-arm64-corellium-ios -coordinator farmer.golang.org
    15  	sleep 1
    16  done