Skip to content
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

[SR-9997] Iterate quickly on Foundation itself by simply invoking ninja #3525

Closed
futurejones opened this issue Feb 25, 2019 · 4 comments
Closed

Comments

@futurejones
Copy link

Previous ID SR-9997
Radar None
Original Reporter @futurejones
Type Bug
Status Closed
Resolution Done
Environment

Linux Ubuntu 16.04/18.04

Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: d8ca1b642e982762f012acc6667a1c49

relates to:

  • SR-11411 GettingStarted.md of swift-corelibs-foundation should be updated

Issue Description:

Ref:https://github.com/apple/swift-corelibs-foundation/blob/swift-4.2-branch/Docs/GettingStarted.md

After the complete Swift build has finished, you can iterate quickly on Foundation itself by simply invoking ninja in the Foundation directory.

In Swift 4.2 instructions work as outlined in the docs.
In swift-5.0-branch and the master this no longer works.
When running ninja from the swift-corelibs-foundation directory you get the following error.

$ ninja
ninja: error: loading 'build.ninja': No such file or directory

Has this method beed updated, or is this not possible anymore?

@belkadan
Copy link

I think the instructions should be updated to say "in the Foundation build directory". @compnerd, @millenomi?

@millenomi
Copy link
Contributor

We have a stuck patch to update that file. I'll bump it up a little bit.

@spevans
Copy link
Collaborator

spevans commented Feb 13, 2020

The GettingStarted.md document has been updated in master

https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/GettingStarted.md

to document usage of the new CMake build that does incremental builds now

@futurejones
Copy link
Author

Fixed with PR #2657

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants