aboutsummaryrefslogtreecommitdiffstats
path: root/dist/termux.sh
blob: 5957c8ae2d4865639b02332003aeb784c7e3ea12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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

mkdir -p build-termux
cd build-termux
../configure --default-pic --enable-synth --with-llvm-config=llvm-config --prefix="$PREFIX"
make
make install