Skip to content

Commit 62b041a

Browse files
authored
Merge pull request #6032 from mtelvers/inria-patch
Patch to move from caml.inria.fr to gitHub.com
2 parents 503a636 + 7352cfb commit 62b041a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

master_changes.md

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ users)
7272

7373
## Build
7474
* Fix the lower-bound constraint on ocaml-re (bump from >= 1.9.0 to >= 1.10.0) [#6016 @kit-ty-kate]
75+
* Update source file location as caml.inria.fr is unavailable [#6032 @mtelvers]
7576

7677
## Infrastructure
7778

shell/bootstrap-ocaml.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ fi
3939
if [ ${GEN_CONFIG_ONLY} -eq 0 ] ; then
4040
tar -zxf ${V}.tar.gz
4141
else
42-
mkdir -p ${V}
42+
mkdir -p ocaml-${V}
4343
fi
44-
cd ${V}
44+
cd ocaml-${V}
4545
PATH_PREPEND=
4646
LIB_PREPEND=
4747
INC_PREPEND=
@@ -130,7 +130,7 @@ if [ -n "$1" -a -n "${COMSPEC}" -a -x "${COMSPEC}" ] ; then
130130
if [ ! -e ${FLEXDLL} ]; then
131131
cp $BOOTSTRAP_ROOT/src_ext/archives/${FLEXDLL} . 2>/dev/null || ${CURL} ${FV_URL}
132132
fi
133-
cd ${V}
133+
cd ocaml-${V}
134134
PREFIX=`cd .. ; pwd`/ocaml
135135
WINPREFIX=`echo ${PREFIX} | cygpath -f - -m`
136136
if [ ${GEN_CONFIG_ONLY} -eq 0 ] ; then

src_ext/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ endif
88

99
PATCH ?= patch
1010

11-
URL_ocaml = https://caml.inria.fr/pub/distrib/ocaml-4.14/ocaml-4.14.2.tar.gz
12-
MD5_ocaml = f2fa20be4eea01f837b3556ff282d9b0
11+
URL_ocaml = https://github.com/ocaml/ocaml/archive/4.14.2.tar.gz
12+
MD5_ocaml = b28daefda803b5d5910cecf085b1451c
1313

1414
URL_flexdll = https://github.com/ocaml/flexdll/archive/0.43.tar.gz
1515
MD5_flexdll = 6ce706f6c65b2c5adf5791fac678f090

0 commit comments

Comments
 (0)