-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: switch swift-corelibs-foundation to CMake #20032
Conversation
Please test with following PRs: @swift-ci please test |
Nice! @compnerd does this mean that we don't need to use the weird build.py thing on Linux anymore? |
@gottesmm, yeap, that build.py can go away once this is merged! |
Awesome! Another of the swift project's build systems bites the dust! |
Build failed |
Ugh, FindICU was added in CMake 3.7. Time to replicate. |
Please test with following PRs: @swift-ci please test Linux platform |
Build failed |
@compnerd Took a quick look at the error. I think that somethings are getting imported wrong from the Framework. See: 01:03:31 /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/swift-corelibs-foundation/Foundation/NSCalendar.swift:15:35: error: type 'CFCalendarUnit' (aka 'UInt') has no member 'day' Clearly it is expected to be an enum I think. |
@gottesmm ... that sounds very likely. Yes, it is an enum (see |
Please test with following PRs: @swift-ci please test Linux platform |
Build failed |
@gottesmm, @DougGregor - okay, this now reproduces the weird failure with plutil:
@millenomi - you may be interested in this as well. |
Please test with following PRs: @swift-ci please test Linux platform |
Please test with following PRs: @swift-ci please test |
Build failed |
3eb4089
to
a5f6a49
Compare
Please test with following PRs: @swift-ci please test |
Build failed |
Build failed |
Please test with following PRs: @swift-ci please test |
Build failed |
Please test with following PRs: @swift-ci please test |
Build failed |
a5f6a49
to
1808c8c
Compare
Please test with following PRs: @swift-ci please test |
Build failed |
Build failed |
1808c8c
to
0a8d8e5
Compare
1205f00
to
8458734
Compare
Please test with following PRs: @swift-ci please test Linux platform |
3 similar comments
Please test with following PRs: @swift-ci please test Linux platform |
Please test with following PRs: @swift-ci please test Linux platform |
Please test with following PRs: @swift-ci please test Linux platform |
Build failed |
Please test with following PRs: @swift-ci please test Linux platform |
1 similar comment
Please test with following PRs: @swift-ci please test Linux platform |
Build failed |
Please test with following PRs: @swift-ci please test Linux platform |
Build failed |
8458734
to
d25e703
Compare
Please test with following PRs: @swift-ci please test Linux platform |
Build failed |
Please test with following PRs: @swift-ci please test Linux platform |
Build failed |
Please test with following PRs: @swift-ci please test Linux platform |
Build failed |
swift-corelibs-foundation has had a CMake based build system for a while now. Switch the official builds over to it.
d25e703
to
58a4f0d
Compare
Please test with following PRs: @swift-ci please test |
Build failed |
Please test with following PRs: @swift-ci please test |
@compnerd Will this still build and install the |
@spevans I have a patch to do that, but, this is a sufficiently complicated change that I want to split it into two changes. |
@compnerd I think this may be causing some issues with xctest not being able to find CoreFoundation.h on macOS, see: https://ci.swift.org/view/Pull%20Request/job/swift-corelibs-foundation-PR-macOS/138/console
|
swift-corelibs-foundation has had a CMake based build system for a while
now. Switch the official builds over to it.
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.