Skip to content

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

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 11 replies

You must be logged in to vote
11 replies
@SMillerDev

@lelegard

@SMillerDev

@carlocab

@lelegard

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
5 participants