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-9735] Ninja build to nonexistent subdirectories fails #783

Open
swift-ci opened this issue Jan 23, 2019 · 1 comment
Open

[SR-9735] Ninja build to nonexistent subdirectories fails #783

swift-ci opened this issue Jan 23, 2019 · 1 comment

Comments

@swift-ci
Copy link

Previous ID SR-9735
Radar None
Original Reporter ePirat (JIRA User)
Type Bug
Environment

llbuild git (b8f6f85)

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

md5: 08bc34cc7672d45d30d1b2d3ca8325d3

Issue Description:

Trying to build a ninja manifest that declares an output file to a nonexistent subdirectory, the ninja implementation of llbuild fails to create the subdirectories, which results in build failure.

This does not match the upstream ninja behavior.

A minimal ninja file to reproduce this:

rule CAT
     command = cat ${in} > ${out}build

subdir/output: CAT input

This build file requires a file named `input` to exist in the directory where this is run.

@swift-ci
Copy link
Author

Comment by Marc Byfield (JIRA)

Hello, I'm new and I want to look into this. Where can I look for guidance?

@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
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

1 participant