blob: f7e5265b76398226c12745e78dd71c267f19a752 [file] [log] [blame]
# Copyright 2022 Go Authors All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
export CC=$HOME/clangwrap
export GO_BUILDER_ENV=host-android-arm64-corellium-android
(
flock -n 9 || exit 0
while true; do
go install golang.org/x/build/cmd/buildlet@latest
# unset LD_PRELOAD libtermux-exec for 32-bit binaries
(unset LD_PRELOAD &&
$HOME/go/bin/buildlet -reverse-type host-android-arm64-corellium-android -coordinator farmer.golang.org)
sleep 1
#/system/bin/reboot
done
) 9>$PREFIX/tmp/builder.lock