Conversation
|
It may make more sense to remove the option altogether. |
|
Build failure on my 10.13.5 box. :( Full logs: https://gist.github.com/93c83998c4f522f67696b11db2dc85e0 |
|
OK, we'll remove the option then. |
|
Addendum 1: 🤦♂️ Whoops, just realized a little while ago that Qt's build process might start putting its documentation together after installing most everything else into the Cellar. The atomic part would be Homebrew linking things from the Cellar into Qt's Addendum 2: And I also just realized that this is what @mistydemeo meant in #29415 (comment). It appears I'm a bit slow lately…😅.
See #29415 (comment), parts 1 and 4. |
|
I may revisit this. A reason this attempt might have failed could be that we need to pull the upstream patch that @msorvig mentioned in #29415 down in order to make Qt's build system look for |
|
@RandomDSdevel they're hard coding the Homebrew prefix as /usr/local so that patch is sketchy. I assume it has some sort of fall back to just use |
|
Its commit message says you can still configure where Qt's build system looks for LLVM by setting the |
|
@RandomDSdevel ah OK. I have no idea why they'd require us to set that if |
|
In particular, So why should we need to set LLVM_INSTALL_DIR? hehe |
|
I agree it does seem a bit obtuse, to say the least… (Addendum: Perhaps we're missing something here that's interfering with Qt's default handling of this…) |
|
I've gone ahead and relayed your feedback in #29469 (comment) on upstream hardcoding Homebrew's prefix to them in a new comment on the relevant change if that's all right with you. (The comment editor messed up my quote of |
|
@ilovezfs: Is there any equivalent of |
|
Me earlier:
With regards to that, I'm still working on seeing if there isn't anything obvious in either how Homebrew currently builds Qt or how having it pull in one or more of the patches mentioned in this and/or related discussion conversation might possibly affect things. It's slow going, though, given how much (CCing @apjanke since he's also been involved here and with #29415 and might want a progress update, underwhelming as it is…) |
|
Edit: Sorry, never mind; adding |
|
I've disappointingly and unfortunately been unable to recover any additional debugging information from any further Qt build attempts intended, as discussed earlier in this thread, to gather such data. I'll put together a PR to bring back Qt's documentation using those patches from upstream once @albertosottile finishes up working on #30229 since I'll of course need that, too. In the meantime, it may be a good idea to continue by moving discussion of further efforts back to #29415 where this all began, as that's the issue that any PR made to fix it would address (perhaps it should be opened again…?) |
As far as I am concerned, the PR is ready for review. |
add llvm optional dependency
deprecate --with-docs in favor of --with-llvm as
qdocneeds libclangbrew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?Fixes #29415.