Permalink
Browse files

tools/ci-build: add possibility of changing directory on unix-like ar…

…chitectures

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14940 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
1 parent 4547385 commit 2c67f4f75550ae82c85cf2d6b4593bcd912f7dd9 Damien Doligez committed Jun 2, 2014
Showing with 5 additions and 3 deletions.
  1. +5 −3 tools/ci-build
View
@@ -16,7 +16,9 @@
# arguments:
# 1. architecture: bsd, macos, linux, cygwin, mingw, mingw64, msvc, msvc64
-# 2. for windows, directory in which to build (trunk, 4.02, etc)
+# 2. directory in which to build (trunk, 4.02, etc)
+# for windows, this is relative to $HOME/jenkins-workspace
+# for bsd, macos, linux, this is "." or an absolute directory
# 3. options:
# -conf configure-option
# -patch1 file-name apply patch with -p1
@@ -75,15 +77,15 @@ done
# default values
make=make
instdir="$HOME/ocaml-tmp-install"
-workdir=.
+workdir="$branch"
docheckout=false
nt=
case "$arch" in
bsd)
make=gmake
;;
- macos) ;; # FIXME to be checked
+ macos) ;;
linux) ;;
cygwin)
workdir="$HOME/jenkins-workspace/$branch"

0 comments on commit 2c67f4f

Please sign in to comment.