You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libgocryptfs/crossbuild.bash

15 lines
241 B

#!/bin/bash -eu
cd "$(dirname "$0")"
B="go build -tags without_openssl"
set -x
GOOS=linux GOARCH=arm $B
GOOS=linux GOARCH=arm64 $B
GOOS=darwin GOARCH=amd64 $B
# The cross-built binary is not useful on the compile host.
rm gocryptfs