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

nvc: use llvm as runtime dependency #54741

Closed
wants to merge 1 commit into from
Closed

Conversation

jnozsc
Copy link
Contributor

@jnozsc jnozsc commented May 15, 2020

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

from #54700 (comment)

@jnozsc jnozsc closed this May 16, 2020
@jnozsc jnozsc reopened this May 16, 2020
@jnozsc jnozsc force-pushed the fix-nvc branch 2 times, most recently from 8949dc4 to 54a89fb Compare May 16, 2020 03:51
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
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added in b868043

Comment on lines +32 to +37
# 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"
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can try it

Copy link
Contributor Author

@jnozsc jnozsc May 18, 2020

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bump. any thought?

@jnozsc
Copy link
Contributor Author

jnozsc commented May 27, 2020

@bayandin will you be ok if i just rollback to llvm@6 due to the fact that llvm@7 does not work?

@bayandin
Copy link
Member

@bayandin will you be ok if i just rollback to llvm@6 due to the fact that llvm@7 does not work?

Yep, that's fine.

Sorry, it looks I've missed the last one comment.

@jnozsc
Copy link
Contributor Author

jnozsc commented May 27, 2020

no worries, thanks for confirm that

@jnozsc
Copy link
Contributor Author

jnozsc commented May 27, 2020

@bayandin ready for review

@bayandin
Copy link
Member

Well done @jnozsc, thanks 🎉

@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@jnozsc jnozsc deleted the fix-nvc branch May 27, 2020 19:07
mitchblank added a commit to mitchblank/homebrew-core that referenced this pull request Feb 18, 2021
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.
BrewTestBot pushed a commit that referenced this pull request Feb 21, 2021
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]>
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

Successfully merging this pull request may close these issues.

3 participants