diff options
author | umarcor <38422348+umarcor@users.noreply.github.com> | 2020-02-20 07:43:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 07:43:16 +0100 |
commit | 60a6f13379ed47d33fc6ecdcb314460be33ba46c (patch) | |
tree | f5b410250780c7652f2c900e22be5b8164f2b2ea /dist | |
parent | 531a109b1ff35bfe7873250ddca258d2cd031f18 (diff) | |
download | ghdl-60a6f13379ed47d33fc6ecdcb314460be33ba46c.tar.gz ghdl-60a6f13379ed47d33fc6ecdcb314460be33ba46c.tar.bz2 ghdl-60a6f13379ed47d33fc6ecdcb314460be33ba46c.zip |
add build script for termux (#1143)
Diffstat (limited to 'dist')
-rw-r--r-- | dist/termux.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dist/termux.sh b/dist/termux.sh new file mode 100644 index 000000000..635338407 --- /dev/null +++ b/dist/termux.sh @@ -0,0 +1,15 @@ +# Build and install GHDL on termux (https://termux.com/) + +cd $(dirname "$0")/.. + +curl -fsSL https://its-pointless.github.io/setup-pointless-repo.sh | bash - +pkg install gnat-9 +setupgcc-9 +ln -s $PREFIX/lib/gcc/aarch64-linux-android/9.2.0/libgnat-9.so $PREFIX/lib/libgnat-9.so +ln -s $PREFIX/lib/gcc/aarch64-linux-android/9.2.0/libgnarl-9.so $PREFIX/lib/libgnarl-9.so + +mkdir -p build-termux +cd build-termux +../configure --default-pic --enable-synth --with-llvm-config=llvm-config --prefix="$PREFIX" +make +make install |