Commit 65338624 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

opam-bootstrap.sh: progress on bytecode architectures

The whole script is not bytecode-safe because of "opam switch", which
unconditionally compiles the native compiler.
parent 22fb68ec
......@@ -54,8 +54,10 @@ tar -xzf ocaml-4.02.3.tar.gz
cd ocaml-4.02.3
./configure -prefix "$BELENIOS_SYSROOT/bootstrap"
make world
make opt
make opt.opt
if ! grep -q ARCH=none config/Makefile; then
make opt
make opt.opt
fi
make install
export PATH="$BELENIOS_SYSROOT/bootstrap/bin:$PATH"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment