mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 13:36:31 +02:00
pkg(pony-0.39.0): cd into pony dir that was created from tar extraction before building
This commit is contained in:
parent
00c6d0e6ae
commit
0cd86741de
1 changed files with 6 additions and 2 deletions
8
packages/ponylang/0.39.0/build.sh
vendored
8
packages/ponylang/0.39.0/build.sh
vendored
|
@ -5,12 +5,16 @@ PREFIX=$(realpath $(dirname $0))
|
||||||
# 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
|
||||||
|
rm 0.39.0.tar.gz
|
||||||
|
|
||||||
|
# cd into pony dir that was created from tar extraction.
|
||||||
|
cd 0.39.0
|
||||||
|
|
||||||
# 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.
|
||||||
make configure
|
make configure
|
||||||
# Will build ponyc and put it in `build/release`.
|
# Will build pony and put it in `build/release`.
|
||||||
make build
|
make build
|
||||||
# Install ponyc into `$PREFIX`.
|
# Install pony into `$PREFIX`.
|
||||||
make prefix="$PREFIX" install
|
make prefix="$PREFIX" install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue