diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-10-30 23:48:30 +0100 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-11-13 18:11:22 +0100 |
commit | 6bd240fce21c172680a0cec5346b66e08c76418a (patch) | |
tree | 640407a38cc96645a66ccb7754ace80092fdfe22 /Makefile.ide | |
parent | 8d176db01baf9fb4a5e07decb9500ef4a8717e93 (diff) |
[ci] [coq] Complete 4.06.0 support.
Due to an API change in laglgtk, we need to update CoqIDE. We use a
makefile hack so it can compile with lablgtk < 2.8.16, another option
would be to require 2.8.16 as a minimal dependency.
We also refactor travis to test more lablgtk versions.
We also need to account for improved attribute handling in 4.06.0, in
particular module aliases will propagate the deprecation status.
Fixes #6140.
Diffstat (limited to 'Makefile.ide')
-rw-r--r-- | Makefile.ide | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.ide b/Makefile.ide index 7593a9f2e..7d809f67a 100644 --- a/Makefile.ide +++ b/Makefile.ide @@ -123,6 +123,15 @@ ide/%.cmx: ide/%.ml $(SHOW)'OCAMLOPT $<' $(HIDE)$(OCAMLOPT) $(COQIDEFLAGS) $(OPTFLAGS) -c $< +# We need to compile this file without -safe-string due mess with +# lablgtk API. Other option is to require lablgtk >= 2.8.16 +ide/ideutils.cmo: ide/ideutils.ml + $(SHOW)'OCAMLC $<' + $(HIDE)$(filter-out -safe-string,$(OCAMLC)) $(COQIDEFLAGS) $(BYTEFLAGS) -c $< + +ide/ideutils.cmx: ide/ideutils.ml + $(SHOW)'OCAMLOPT $<' + $(HIDE)$(filter-out -safe-string,$(OCAMLOPT)) $(COQIDEFLAGS) $(filter-out -safe-string,$(OPTFLAGS)) -c $< #################### ## Install targets |