History

Revert "Work with (and require) ocaml 4.13.0~alpha1"

Apparently there are issues when ocamlc is used as a C driver. This reverts commit 5eaaf40c379c9f7239b3fe7660c062211ce7aa4a.

malc committed 5 years ago

Commit 3fe668a1 parent c2983c91 file · +3 −5Browse files

Unified · Split

build.bash+3−5
@@ -73,9 +73,7 @@ oincs() { · 72 unmodified lines
7373 oflags() {
7474 case "${1#$outd/}" in
7575 lablGL/*) f="-g";;
76− utf8syms.cm*|confstruct.cm*|config.cm*|ffi.cm*)
77− f="-g -strict-sequence -strict-formats -alert @all-missing-mli";;
78− *) f="-g -strict-sequence -strict-formats -alert @all";;
76+ *) f="-g -strict-sequence -strict-formats -alert @all -warn-error @A";;
7977 esac
8078 echo $(oincs $outd $1) $f
8179 }
@@ -104,8 +102,8 @@ mflags() { · 22 unmodified lines
104102 }
105103
106104 overs=$(ocamlc -vnum 2>/dev/null) || overs=""
107−if test "$overs" != "4.13.0~alpha1"; then
108− url=https://caml.inria.fr/pub/distrib/ocaml-4.13/ocaml-4.13.0~alpha1.tar.xz
105+if test "$overs" != "4.12.0"; then
106+ url=https://caml.inria.fr/pub/distrib/ocaml-4.12/ocaml-4.12.0.tar.xz
109107 txz=$outd/$(basename $url)
110108 keycmd="printf $url; digest $txz;"
111109 isfresh $txz "$(eval $keycmd)" || {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t