Skip to content

make target dependency lookup case-insensitive #3615

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
Jul 16, 2021

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Jul 15, 2021

motivation: starting tools-version 5.2, SwiftPM validates the target depedenies by name but the validation is case sensitive

changes:

  • udpate the validation to be non-case sensitive (the actual lookup is not case sensitive)
  • add a test

@tomerd tomerd changed the title make target dependency lookup non-case-sensitive make target dependency lookup case-insensitive Jul 16, 2021
motivation: starting tools-version 5.2, SwiftPM validates the target depedenies by name but the validation is case sensitive

changes:
* udpate the validation to be non-case sensitive (the actual lookup is not case sensitive)
* add a test

rdar://80594761
@tomerd
Copy link
Contributor Author

tomerd commented Jul 16, 2021

@swift-ci please smoke test

@tomerd tomerd added the ready Author believes the PR is ready to be merged & any feedback has been addressed label Jul 16, 2021
@tomerd
Copy link
Contributor Author

tomerd commented Jul 16, 2021

18:24:19 Test Suite 'BuildPlanTests' started at 2021-07-16 01:23:58.508
18:24:19 Test Case 'BuildPlanTests.testExplicitSwiftPackageBuild' started at 2021-07-16 01:23:58.509
18:24:19 SwiftDriver/ClangVersionedDependencyResolution.swift:165: Fatal error: Unresolved placeholder dependencies at planning stage: swiftPlaceholder("C")
18:24:19 Exited with signal code 4

@artemcm looks like a test you added is flaky? or maybe driver changed and this no longer works on linux? looks like another PR (#3617) failed the same way

@tomerd
Copy link
Contributor Author

tomerd commented Jul 16, 2021

@swift-ci please smoke test linux

1 similar comment
@artemcm
Copy link
Contributor

artemcm commented Jul 16, 2021

@swift-ci please smoke test linux

@tomerd tomerd merged commit ba74c9d into swiftlang:main Jul 16, 2021
tomerd added a commit to tomerd/swift-package-manager that referenced this pull request Jul 16, 2021
motivation: starting tools-version 5.2, SwiftPM validates the target depedenies by name but the validation is case sensitive

changes:
* udpate the validation to be non-case sensitive (the actual lookup is not case sensitive)
* add a test

rdar://80594761
tomerd added a commit that referenced this pull request Jul 16, 2021
motivation: starting tools-version 5.2, SwiftPM validates the target depedenies by name but the validation is case sensitive

changes:
* udpate the validation to be non-case sensitive (the actual lookup is not case sensitive)
* add a test

rdar://80594761
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Author believes the PR is ready to be merged & any feedback has been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants