Commits

camlspotter  committed 3de8bad Merge

merge

  • Participants
  • Parent commits 7146b35, ff708ad
  • Branches ocaml-svn-copy

Comments (0)

Files changed (2)

 3437b12601eebe89607cc5cd5c53305fe921ac53 v3.12.1+rc1
 fd2e5fc29b552efafdaa0b893ad8efc26bf37c12 ocaml-3.12.1-11110
 2d6735cf38517a9dfc0f26aec20f0a2065008257 ocaml-3.12.1-11110
+35cc436e40b0981a72f777bee5a82a384849dc7d ocaml-3.13.0+dev6-11190

File 0scripts/0BUILD.sh

+#!/bin/sh
+
+# Build the whole.
+#
+#   If an argument is specified, use it as PREFIX, then install the system
+#   Otherwise, it uses $PREFIX, and does not perform installation.
+
+set -e
+
+if [ "$1" != "" ]; then
+    PREFIX=$1
+    INSTALL=1
+fi
+
+./configure --prefix $PREFIX
+make clean core coreboot
+./build/mixed-boot.sh
+cp boot/myocamlbuild boot/myocamlbuild.boot
+make world opt opt.opt
+
+if [ "$INSTALL" = "1" ]; then
+  /bin/rm -rf $PREFIX/lib/ocaml
+  /bin/rm -rf $PREFIX/bin/ocaml*
+  /bin/rm -rf $PREFIX/bin/caml*
+  mkdir -p $PREFIX/lib
+  mkdir -p $PREFIX/bin
+  make install
+fi