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-9542] Make it possible to enforce version requirements for system libraries via Swift Package Manager #4738

Open
kmahar opened this issue Dec 19, 2018 · 3 comments

Comments

@kmahar
Copy link

kmahar commented Dec 19, 2018

Previous ID SR-9542
Radar rdar://problem/52194060
Original Reporter @kmahar
Type Improvement
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Improvement, Screened
Assignee None
Priority Medium

md5: dc538f7168e7e8d4dc69e1fca9475f73

relates to:

Issue Description:

As discussed in this post on the forums, it would be useful if one could specify what version(s) of a system library that Swift Package Manager should look for.

pkg-config provides a number of ways to check for specific versions:

--atleast-version=VERSION   return 0 if the module is at least version VERSION
--exact-version=VERSION     return 0 if the module is at exactly version VERSION
--max-version=VERSION       return 0 if the module is at no newer than version VERSION
@swift-ci
Copy link
Contributor

Comment by Matt Broadstone (JIRA)

We could work around this if we were able to run our own arbitrary pre-build script.

@neonichu
Copy link
Member

@swift-ci create

@belkadan
Copy link

^ Sync system is down indefinitely.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
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

No branches or pull requests

5 participants