-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Conversation
version "0.1.1" | ||
sha256 "8ed8e5139635cf7f60cf87d51fd36210ab11a8a7fcefbdfa9b5c25a2666bee1e" | ||
|
||
depends_on "homebrew/versions/llvm36" |
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.
We can't depend on taps in core formulae, I'm afraid. This will need to be vendored.
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.
Does this mean we would need to provide a seperate tap for ponyc?
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.
If you can't vendor it: yeh.
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.
With 0536279, I have updated the llvm formula to the latest official release, as it was outdated. With this, the ponyc formula does not depend on any non-core formulas.
Submitting a new pull request!
Let's wait for it to land in #37260. |
Ok. Thanks for your support. |
#37260 is now closed. I have made sure that this pull request can be auto-merged into master. Would be cool if finally Thanks, |
Actually, there appears to be some linker issues. Please do not merge this pull request right now. Sorry for the inconvenience. |
The problem is that new
I have opened an issue for this, #39609. |
args = %w[ | ||
-DLLVM_OPTIMIZED_TABLEGEN=On | ||
] | ||
|
||
args << "-DLLVM_ENABLE_RTTI=True" if build.with? "rtti" || build.with? "clang" |
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.
Leave the parentheses in this conditional (it's invalid syntax otherwise)
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.
Thanks. Fixed.
brew audit --strict llvm
==> brew style llvm
1 file inspected, no offenses detected
This needs to be rebased down to one commit fixing the llvm issue, and another adding the new formula (preferrably in separate pull requests as well). |
args = %w[ | ||
-DLLVM_OPTIMIZED_TABLEGEN=On | ||
] | ||
|
||
args << "-DLLVM_ENABLE_RTTI=True" if build.with?("rtti") || build.with?("clang") |
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 think this has to be "On"
, not "True"
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 guess you are right, although the llvm cmake docu with LLVM_ENABLE_RTTI:BOOL
is inaccurate. It doesn't make a difference for making it work btw.
I will close this pull request and make the necessary changes. I'll submit two new ones. |
No description provided.