[swift-dev] Please remove your Swift build directory
Austin Zheng
austinzheng at gmail.com
Wed Jun 1 14:36:56 CDT 2016
Hello,
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.
I see the following errors multiple times before the build terminates:
"CMake Error at cmake/modules/AddSwift.cmake:578 (add_library):
OBJECT library "swiftRuntime-macosx-x86_64" contains:
RuntimeFunctions.def
but may contain only sources that compile, header files, and other files
that would not affect linking of a normal library.
Call Stack (most recent call first):
cmake/modules/AddSwift.cmake:1159 (_add_swift_library_single)
stdlib/public/runtime/CMakeLists.txt:68 (add_swift_library)"
Am I doing something wrong?
Thanks,
Austin
On Tue, May 31, 2016 at 12:30 PM, Dmitri Gribenko via swift-dev <
swift-dev at swift.org> wrote:
> On Tue, May 31, 2016 at 10:20 AM, Joe Groff <jgroff at apple.com> wrote:
> >
> >> On May 31, 2016, at 9:37 AM, Dmitri Gribenko via swift-dev <
> swift-dev at swift.org> wrote:
> >>
> >> Hi,
> >>
> >> We have merged a CMake and build-script refactoring that requires a
> >> from-scratch build. Trying to use an existing build directory will
> >> result in strange errors in the middle of the build.
> >>
> >> Excuse me for the inconvenience.
> >
> > This seems to have broken Xcode project generation, which in the default
> configuration now fails with:
> >
> > --
> > CMake Error at CMakeLists.txt:702 (message):
> > Unknown SDKs:
> > IOS;IOS_SIMULATOR;TVOS;TVOS_SIMULATOR;WATCHOS;WATCHOS_SIMULATOR
> >
> > 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.
>
> Should be fixed now, sorry for the disruption.
>
>
> https://github.com/apple/swift/commit/d53b5b25498886c6a81401caa923cabd878ad105
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160601/d4128ae8/attachment.html>
More information about the swift-dev
mailing list