diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-01-05 20:46:15 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-01-06 07:30:46 +0100 |
commit | 99853361819bff87e7cf8103c5205721ec195c32 (patch) | |
tree | 29a6dda1199534497f5a09ea1268aa3a619c41b8 /scripts/termux.sh | |
parent | 301f442a6e66a83b47ed7d40e5b61389b9c33446 (diff) | |
download | ghdl-99853361819bff87e7cf8103c5205721ec195c32.tar.gz ghdl-99853361819bff87e7cf8103c5205721ec195c32.tar.bz2 ghdl-99853361819bff87e7cf8103c5205721ec195c32.zip |
mv dist/* scripts/
Diffstat (limited to 'scripts/termux.sh')
-rwxr-xr-x | scripts/termux.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/termux.sh b/scripts/termux.sh new file mode 100755 index 000000000..f2b115850 --- /dev/null +++ b/scripts/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-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 |