mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-09 11:36:27 +02:00
pkg(pony-0.39.0): Reset to 0.39.0 commit and cd into ponyc
This commit is contained in:
parent
1035940bef
commit
8d972de264
1 changed files with 7 additions and 1 deletions
8
packages/ponylang/0.39.0/build.sh
vendored
8
packages/ponylang/0.39.0/build.sh
vendored
|
@ -3,13 +3,19 @@
|
||||||
PREFIX=$(realpath $(dirname $0))
|
PREFIX=$(realpath $(dirname $0))
|
||||||
|
|
||||||
# get sources - only get the latest copy of the relevant files
|
# get sources - only get the latest copy of the relevant files
|
||||||
git clone --depth 1 https://github.com/ponylang/ponyc.git
|
git clone -q https://github.com/ponylang/ponyc.git ponyc
|
||||||
|
# release commit for 0.39.0
|
||||||
|
git reset --hard 85d897b978c5082a1f3264a3a9ad479446d73984
|
||||||
|
|
||||||
# updates all submodules recursively along their tracking branches
|
# updates all submodules recursively along their tracking branches
|
||||||
# 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
|
# build
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
# Install pony into `$PREFIX`.
|
# Install pony into `$PREFIX`.
|
||||||
make prefix="$PREFIX" install
|
make prefix="$PREFIX" install
|
||||||
|
|
||||||
|
rm -rf ponyc
|
Loading…
Add table
Add a link
Reference in a new issue