Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006368OCamlOCaml backend (code generation)public2014-04-12 08:422014-07-16 16:03
Reportergasche 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version4.02.0+dev 
Target VersionFixed in Version 
Summary0006368: [github patch] add an option to generate empty .cmx files to avoid recompilation of dependencies
Descriptionhttps://github.com/ocaml/ocaml/pull/30 [^]

The intent of this option is to enable semi-separate native compilation. Currently, when a module changes, all the modules that depend on it need to be recompiled. Activating -nocmx disables cross-module optimization, but should let us change a module without having to recompile all the others (although to be honest this still have to be verified).

This would be of practical value for development cycles of project that have (compile;test) loops: currently compilation is much slower in native code than in bytecode, but tests can be sensibly faster in native code. -nocmx could bring the best of both worlds, with fast compiles and rather-fast tests.
Tagsgithub, patch
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-04-12 08:42 gasche New Issue
2014-04-12 08:42 gasche Tag Attached: github
2014-04-12 08:42 gasche Tag Attached: patch
2014-07-16 16:03 doligez Status new => acknowledged


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker