Skip to content

How to enforce a minimum version of clang on macOS? #5977

Discussion options

You must be logged in to vote

The fails_with DSL method should be able to do what you're asking for here. You can see this in action in the btop formula. See also this doc section about compiler selection.

You can also conditionally add a dependency based on the version of the compiler available, like done here.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lelegard
Comment options

@gromgit
Comment options

Answer selected by p-linnane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants