-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
nvc: use llvm as runtime dependency #54741
Conversation
8949dc4
to
54a89fb
Compare
stable do | ||
url "https://github.com/nickg/nvc/releases/download/r1.4.0/nvc-1.4.0.tar.gz" | ||
sha256 "1a874bde284408c137a93b22f8f12b5b8c3368cefe30f3a5458ccdeffa0c6ad6" | ||
# Upstream issue, only fix on master branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please provide a short summary of what this patch is fixing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added in b868043
# llvm 8+ is not supported https://github.com/nickg/nvc/commit/c3d1ae5700cfba6070293ad1bb5a6c198c631195 | ||
# and llvm 7 has issue on stable https://github.com/nickg/nvc/commit/dfd5606a182e00d5f7a9e28902234b374c7b2863 | ||
depends_on "llvm@6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a patch from nickg/nvc@dfd5606 and use llvm@7
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can try it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the patch does not seem work https://github.com/Homebrew/homebrew-core/runs/685654208. that's why I had to use llvm@6. lmk any thought
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump. any thought?
@bayandin will you be ok if i just rollback to |
Yep, that's fine. Sorry, it looks I've missed the last one comment. |
no worries, thanks for confirm that |
@bayandin ready for review |
Well done @jnozsc, thanks 🎉 |
🤖 A scheduled task has triggered a merge. |
The restriction on building against llvm@6 (later updated to llvm@7) was introduced by @jnozsc (Homebrew#54741) However the issue that was referenced was fixed before 1.5.0 was released... nickg/nvc@f48c651 ...so when homebrew updated to 1.5.0 this restriction should probably be dropped. According to the project's README it is tested with llvm {7,8,9} so at a minimum we should probably bump its dependency to llvm@9. However, this wouldn't be enough to fix the Big Sur bottling issue. Nothing in the project's build instructions suggests that llvm versions newer than 9.x are to be avoided these days so just switching to our default llvm (currently 11.1) instead. Seems to build and test fine.
The restriction on building against llvm@6 (later updated to llvm@7) was introduced by @jnozsc (#54741) However the issue that was referenced was fixed before 1.5.0 was released... nickg/nvc@f48c651 ...so when homebrew updated to 1.5.0 this restriction should probably be dropped. According to the project's README it is tested with llvm {7,8,9} so at a minimum we should probably bump its dependency to llvm@9. However, this wouldn't be enough to fix the Big Sur bottling issue. Nothing in the project's build instructions suggests that llvm versions newer than 9.x are to be avoided these days so just switching to our default llvm (currently 11.1) instead. Seems to build and test fine. Closes #71444. Signed-off-by: Carlo Cabrera <[email protected]> Signed-off-by: BrewTestBot <[email protected]>
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?from #54700 (comment)