Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[github patch] add an option to generate empty .cmx files to avoid recompilation of dependencies #6368

vicuna opened this Issue Apr 12, 2014 · 1 comment


None yet
2 participants
Copy link

vicuna commented Apr 12, 2014

Original bug ID: 6368
Reporter: @gasche
Assigned to: @mshinwell
Status: resolved (set by @mshinwell on 2016-12-07T13:08:11Z)
Resolution: fixed
Priority: normal
Severity: feature
Version: 4.02.0+dev
Fixed in version: 4.02.0
Category: back end (clambda to assembly)
Tags: github, patch

Bug description


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.


This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Dec 7, 2016

Comment author: @mshinwell

This has been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.