summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-04-14 18:45:56 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-04-14 18:53:34 +0200
commitfdc63806c3c243267e3e82207971794bdd4128ca (patch)
treed6c4e1b3a4e61f5e95bebac68271e74121fca063 /tools
parentd847e077e8d9f5f434e630c05977b8657de5a57d (diff)
downloadocaml-fdc63806c3c243267e3e82207971794bdd4128ca.tar.gz
In the new CI script, enable build of runtime with debugging support
This is done by passing the -with-debug-runtime option to the configure script on the non-Windows systems. On Windows, a sed invocation is used to set RUNTIMED to true in config/Makefile.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci-build-new6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/ci-build-new b/tools/ci-build-new
index 3adb56212a..40a6f120b7 100755
--- a/tools/ci-build-new
+++ b/tools/ci-build-new
@@ -169,11 +169,15 @@ $make distclean || :
git clean -f -d -x
case $configure in
- unix) eval "./configure -prefix '$instdir' $confoptions";;
+ unix)
+ confoptions="$confoptions -with-debug-runtime"
+ eval "./configure -prefix '$instdir' $confoptions"
+ ;;
nt)
cp config/m-nt.h config/m.h
cp config/s-nt.h config/s.h
cp config/Makefile.${OCAML_ARCH} config/Makefile
+ sed -i 's%RUNTIMED=.\+%RUNTIMED=true%' config/Makefile
;;
*) error "internal error";;
esac