From d2079408675e114e36333bbb83a9cfc3b39169fe Mon Sep 17 00:00:00 2001 From: Shivansh-007 Date: Sun, 28 Mar 2021 06:31:26 +0530 Subject: [PATCH] pkg(pony-0.39.0): Install LLVM and set "LLVM_DIR" in environment. --- packages/ponylang/0.39.0/build.sh | 5 +++++ packages/ponylang/0.39.0/environment | 1 + 2 files changed, 6 insertions(+) diff --git a/packages/ponylang/0.39.0/build.sh b/packages/ponylang/0.39.0/build.sh index bc41f34..be5baa7 100755 --- a/packages/ponylang/0.39.0/build.sh +++ b/packages/ponylang/0.39.0/build.sh @@ -2,6 +2,11 @@ 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 curl -OL "https://github.com/ponylang/ponyc/archive/refs/tags/0.39.0.tar.gz" tar xfz 0.39.0.tar.gz diff --git a/packages/ponylang/0.39.0/environment b/packages/ponylang/0.39.0/environment index 780b668..c287cf2 100644 --- a/packages/ponylang/0.39.0/environment +++ b/packages/ponylang/0.39.0/environment @@ -2,3 +2,4 @@ # Put 'export' statements here for environment variables export PATH=$PWD/bin:$PATH +export LLVM_DIR=$PWD/llvm-3.4 \ No newline at end of file