mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-24 05:56:26 +02:00
pkg(ocaml-4.12.0): Add ocaml 4.12.0
This commit is contained in:
parent
0ee5003533
commit
46bd22f75a
6 changed files with 33 additions and 0 deletions
17
packages/ocaml/4.12.0/build.sh
vendored
Executable file
17
packages/ocaml/4.12.0/build.sh
vendored
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
curl -L "https://github.com/ocaml/ocaml/archive/4.12.0.tar.gz" -o ocaml.tar.gz
|
||||
tar xzf ocaml.tar.gz --strip-components=1
|
||||
rm ocaml.tar.gz
|
||||
|
||||
./configure --prefix="$PREFIX"
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ..
|
||||
rm -rf build
|
Loading…
Add table
Add a link
Reference in a new issue