<div dir="ltr">Hello,<div><br></div><div>I'm still seeing errors when I try invoking the build script with `-x`. I've updated all the repositories (everything that lives alongside the 'swift' repo, as well as that repo itself) and deleted my build folder completely.</div><div><br></div><div>I see the following errors multiple times before the build terminates:</div><div><br></div><div>"CMake Error at cmake/modules/AddSwift.cmake:578 (add_library):</div><div> OBJECT library "swiftRuntime-macosx-x86_64" contains:</div><div><br></div><div> RuntimeFunctions.def</div><div><br></div><div> but may contain only sources that compile, header files, and other files</div><div> that would not affect linking of a normal library.</div><div>Call Stack (most recent call first):</div><div> cmake/modules/AddSwift.cmake:1159 (_add_swift_library_single)</div><div> stdlib/public/runtime/CMakeLists.txt:68 (add_swift_library)"</div><div><br></div><div>Am I doing something wrong?</div><div><br></div><div>Thanks,</div><div>Austin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 31, 2016 at 12:30 PM, Dmitri Gribenko via swift-dev <span dir="ltr"><<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, May 31, 2016 at 10:20 AM, Joe Groff <<a href="mailto:jgroff@apple.com">jgroff@apple.com</a>> wrote:<br>
><br>
>> On May 31, 2016, at 9:37 AM, Dmitri Gribenko via swift-dev <<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> We have merged a CMake and build-script refactoring that requires a<br>
>> from-scratch build. Trying to use an existing build directory will<br>
>> result in strange errors in the middle of the build.<br>
>><br>
>> Excuse me for the inconvenience.<br>
><br>
> This seems to have broken Xcode project generation, which in the default configuration now fails with:<br>
><br>
> --<br>
> CMake Error at CMakeLists.txt:702 (message):<br>
> Unknown SDKs:<br>
> IOS;IOS_SIMULATOR;TVOS;TVOS_SIMULATOR;WATCHOS;WATCHOS_SIMULATOR<br>
><br>
> Probably easy to work around by manually configuring out those SDKs, since Xcode projects don't support cross-building to begin with, but this used to just work.<br>
<br>
</span>Should be fixed now, sorry for the disruption.<br>
<br>
<a href="https://github.com/apple/swift/commit/d53b5b25498886c6a81401caa923cabd878ad105" rel="noreferrer" target="_blank">https://github.com/apple/swift/commit/d53b5b25498886c6a81401caa923cabd878ad105</a><br>
<span class="im HOEnZb"><br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
swift-dev mailing list<br>
<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-dev</a><br>
</div></div></blockquote></div><br></div>