location of modules?

This is more for the Linux side of things, more of a curiosity than anything.

Is there a place to put module maps and Swift modules, such as /usr/lib/modules? Or would they be kept in /usr/include?

This is more for the Linux side of things, more of a curiosity than anything.

Is there a place to put module maps and Swift modules, such as /usr/lib/modules? Or would they be kept in /usr/include?

The .swiftmodule and .so files should go in the standard include path:

     /usr/include/foo.swiftmodule
     /usr/include/foo.so

Or the compile toolchain won’t find them.

This is more for the Linux side of things, more of a curiosity than anything.

Is there a place to put module maps and Swift modules, such as /usr/lib/modules? Or would they be kept in /usr/include?

The .swiftmodule and .so files should go in the standard include path:

    /usr/include/foo.swiftmodule
    /usr/include/foo.so

Or the compile toolchain won’t find them.

Sorry, this should in fact be:

···

On Feb 3, 2016, at 3:19 PM, Max Howell <max.howell@apple.com> wrote:

    /usr/include/foo.swiftmodule
    /usr/lib/foo.so