Add new flag -fwrite-interface for -fno-code.

Authored by ezyang.

Description

Add new flag -fwrite-interface for -fno-code.

Summary:
Normally, -fno-code does not generate interface files.
However, if you want to use it to type check over multiple
runs of GHC, you will need the interface files to check
source files further down the dependency chain; -fwrite-interface
does this for you.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>

Test Plan: clean validate, and a new test-case

Reviewers: simonpj

Subscribers: simonmar, relrod, carter

Differential Revision: https://phabricator.haskell.org/D27

Details

Committed
ezyangJun 26 2014, 12:21 PM
Differential Revision
D27: Add new flag -fwrite-interface for -fno-code.
Parents
rGHC5bbbc7d7e0ef: arclint: update rules for xml files
Branches
Unknown
Tags
Unknown