pkg(pony-0.39.0): Install LLVM and set

"LLVM_DIR" in environment.
This commit is contained in:
Shivansh-007 2021-03-28 06:31:26 +05:30
parent 708d4cc8aa
commit d207940867
2 changed files with 6 additions and 0 deletions

View file

@ -2,6 +2,11 @@
PREFIX=$(realpath $(dirname $0)) PREFIX=$(realpath $(dirname $0))
# Installing LLVM
curl -OL "http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz"
tar xfz llvm-3.4.src.tar.gz
rm llvm-3.4.src.tar.gz
# get sources # get sources
curl -OL "https://github.com/ponylang/ponyc/archive/refs/tags/0.39.0.tar.gz" curl -OL "https://github.com/ponylang/ponyc/archive/refs/tags/0.39.0.tar.gz"
tar xfz 0.39.0.tar.gz tar xfz 0.39.0.tar.gz

View file

@ -2,3 +2,4 @@
# Put 'export' statements here for environment variables # Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH export PATH=$PWD/bin:$PATH
export LLVM_DIR=$PWD/llvm-3.4