Files
GraalVM/platform.sh
uzurka 656d2e937f
Some checks failed
continuous-integration/drone/push Build is failing
lighter Dockerfile
2023-08-14 00:20:30 +02:00

20 lines
402 B
Bash

#!/bin/sh
# Used in Docker build to set platform dependent variables
case $TARGETARCH in
"amd64")
echo "x86_64-unknown-linux-gnu" > /.platform
echo "" > /.compiler
;;
"arm64")
echo "aarch64-unknown-linux-gnu" > /.platform
echo "gcc-aarch64-linux-gnu" > /.compiler
;;
"arm")
echo "armv7-unknown-linux-gnueabihf" > /.platform
echo "gcc-arm-linux-gnueabihf" > /.compiler
;;
esac