Skip to content

Get the realpath of the build directory when building SwiftSyntax #319

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

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 1, 2021

We were currently canonicalizing the build directory when testing SwiftSyntax but not when building it. This caused errors if the build directory was a symlink because module caches were created for the non-canonicalized path during the build and then referenced with the canonicalized path during testing.

We were currently canonicalizing the build directory when testing SwiftSyntax but not when building it. This caused errors if the build directory was a symlink because module caches were created for the non-canonicalized path during the build and then referenced with the canonicalized path during testing.
@ahoppen ahoppen requested a review from Rostepher October 1, 2021 09:35
@ahoppen
Copy link
Member Author

ahoppen commented Oct 1, 2021

@swift-ci Please test

@ahoppen ahoppen requested a review from akyrtzi October 11, 2021 13:56
@ahoppen ahoppen merged commit 93c8a22 into swiftlang:main Oct 12, 2021
@ahoppen ahoppen deleted the pr/realpath-when-building branch October 12, 2021 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants