pkg(pony-0.39.0): CD into ponyc right before cloning.

This commit is contained in:
Shivansh-007 2021-04-09 05:18:20 +05:30
parent c153f6c5f6
commit f61cb023c6

View file

@ -2,6 +2,8 @@
PREFIX=$(realpath $(dirname $0)) PREFIX=$(realpath $(dirname $0))
cd ponyc
# get sources - only get the latest copy of the relevant files # get sources - only get the latest copy of the relevant files
git clone -q https://github.com/ponylang/ponyc.git ponyc git clone -q https://github.com/ponylang/ponyc.git ponyc
# release commit for 0.39.0 # release commit for 0.39.0
@ -11,8 +13,6 @@ git reset --hard 85d897b978c5082a1f3264a3a9ad479446d73984
# i.e. https://github.com/ponylang/ponyc/blob/main/.gitmodules # i.e. https://github.com/ponylang/ponyc/blob/main/.gitmodules
git submodule update --recursive --init git submodule update --recursive --init
cd ponyc
# Build the vendored LLVM libraries that are included in the `lib/llvm/src`. # Build the vendored LLVM libraries that are included in the `lib/llvm/src`.
make libs build_flags="-j$(nproc)" make libs build_flags="-j$(nproc)"
# Configure the CMake build directory. # Configure the CMake build directory.