File: termux.sh

package info (click to toggle)
ghdl 1.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 65,188 kB
  • sloc: ada: 229,113; vhdl: 192,205; ansic: 22,649; sh: 10,503; python: 10,366; cpp: 2,277; makefile: 1,323; pascal: 511; exp: 40; asm: 25
file content (15 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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-10 llvm clang make
setupgcc-10
setup-patchforgcc

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