[cfe-dev] [Modules TS] feedback
Boris Kolpackov via cfe-dev
cfe-dev at lists.llvm.org
Thu May 25 03:46:24 PDT 2017
Hi Eric,
Eric Fiselier <eric at efcs.ca> writes:
> Libc++ ships with a module.modulemap, so it should work out of the box with
> Clang modules.
I may be wrong, but I don't think "old" modules support (-fmodules) is
compatible with "new" (-fmodules-ts).
Even if it is, using a Clang-specific .modulemap file is not ideal in
my case. I would much prefer to have "standard" (as in Modules TS) module
interface units.
A bit more background: I am adding C++ modules support to a build system
(build2) and trying to figure out how everything is going to fit together.
Based on the discussion in this thread it's clear that the build system
will need to pre-compile module interface units on the consumer side
even for the standard library (because of different compilation options
which may affect the result; but see earlier emails for details).
Thanks,
Boris
More information about the cfe-dev
mailing list