You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7146 Reporter:@Octachron Assigned to:@gasche Status: closed (set by @xavierleroy on 2017-09-24T15:32:52Z) Resolution: fixed Priority: low Severity: tweak Target version: 4.03.1+dev Fixed in version: 4.04.0 +dev / +beta1 / +beta2 Category: documentation
Bug description
Currently, the manual tools and examples are build using the system ocaml
installation. This can lead to subtle bugs in the manual examples when the
system and in-tree compiler are out-of-sync: in particular, uses of newly deprecated function become harder to spot.
For the specific case of the in-manual examples, it is relatively easy to fix the problem by modifying the manual's makefiles. However, it might make sense to factorize this work with the test subtree which has already solved the very same issues.
Unfortunately, I am not sure how to do that in a portable way.
The text was updated successfully, but these errors were encountered:
Unfortunately, I am not sure how to do that in a portable way.
I would try to split the part of testsuite/makefile/Makefile.common that sets the tool definitions into a sub-makefile testsuite/makefile/Makefile.tools, included from Makefile.common, and also from the makefiles in manual/**. The "calling convention" is to set the TOPDIR variable accordingly, and then $(OCAMLC) etc. should be usable.
Original bug ID: 7146
Reporter: @Octachron
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2017-09-24T15:32:52Z)
Resolution: fixed
Priority: low
Severity: tweak
Target version: 4.03.1+dev
Fixed in version: 4.04.0 +dev / +beta1 / +beta2
Category: documentation
Bug description
Currently, the manual tools and examples are build using the system ocaml
installation. This can lead to subtle bugs in the manual examples when the
system and in-tree compiler are out-of-sync: in particular, uses of newly deprecated function become harder to spot.
For the specific case of the in-manual examples, it is relatively easy to fix the problem by modifying the manual's makefiles. However, it might make sense to factorize this work with the test subtree which has already solved the very same issues.
Unfortunately, I am not sure how to do that in a portable way.
The text was updated successfully, but these errors were encountered: