[swift-dev] Unsupported imported target type MODULE_LIBRARY
Michael Gottesman
mgottesman at apple.com
Thu Jul 7 18:49:13 CDT 2016
I am preparing a fix. Its in this PR:
https://github.com/apple/swift/pull/3406
Michael
> On Jul 7, 2016, at 4:30 PM, David Farler <dfarler at apple.com> wrote:
>
> Adding +Michael Gottesman who changed some things around in this file. I also hit this with:
>
> build-script -r --debug-swift -x
>
> CMake Error at cmake/modules/SwiftSharedCMakeConfig.cmake:67 (message):
> Unsupported imported target type MODULE_LIBRARY
> Call Stack (most recent call first):
> cmake/modules/SwiftSharedCMakeConfig.cmake:150 (fix_imported_target_locations_for_xcode)
> cmake/modules/SwiftSharedCMakeConfig.cmake:279 (swift_common_standalone_build_config_llvm)
> CMakeLists.txt:382 (swift_common_standalone_build_config)
>
> David
>
>> On Jul 7, 2016, at 11:10 AM, Minsheng Liu via swift-dev <swift-dev at swift.org> wrote:
>>
>> Hi,
>>
>> I am running the second preview of macOS Sierra and am attempting to build swift. LLVM and cmark built successfully, but swift failed during the configuration stage with the error message
>>
>> Unsupported imported target type MODULE_LIBRARY
>>
>> I hacked the cmake file by bypassing the conditional check, but I got some link time error after compilation:
>>
>> The following build commands failed:
>> Ld ../build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/lib/libswiftDemangle.dylib normal x86_64
>> Ld ../build/Xcode-DebugAssert/swift-macosx-x86_64/Debug/bin/swift-demangle normal x86_64
>>
>> I am using the second preview of macOS Sierra and am compiling with the HEAD of the repository. Any hint on how to proceed? I have successfully compiled swift on another Mac with El Capitan.
>>
>> Thank you,
>> – Minsheng Liu
>> _______________________________________________
>> swift-dev mailing list
>> swift-dev at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-dev
>
More information about the swift-dev
mailing list