-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
qhull 2020.1 #56273
qhull 2020.1 #56273
Conversation
|
Oh dear, it looks like I'm going to have to build Looks like we'll also need revision bumps for |
The bit with shims references from
I'm not sure how this is usually resolved in formulae, so any help would be appreciated. |
It looks it's safe just to inreplace these lines in CMakeLists: |
Is it possible to substitute information that would be appropriate (not just for macOS) instead of simply removing it? That is to say, we could blank the information like: # Avoid superenv shim references
inreplace "CMakeLists.txt" do |s|
s.sub!(/CMake build tool:"\s+\${CMAKE_BUILD_TOOL}/, "CMake build tool:\"")
s.sub!(/C\+\+ Compiler:"\s+\${VISP_COMPILER_STR}/, "C++ Compiler:\"")
s.sub!(/C Compiler:"\s+\${CMAKE_C_COMPILER}/, "C Compiler:\"")
end but I'm not sure whether that would be the best way of dealing with this.
|
Given these lines has an informational purpose only and not used anywhere, I would use the same approach as in |
Thanks for the help, @bayandin! |
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>
)?This bumps the formula to the latest version (2020.1) and also adds the GitHub repo as
head
(it builds fine without any special modifications). [I removed the previous patch because it's incorporated into this version and no longer applicable.]It was necessary to add
ENV.cxx11
toinstall
, since parts ofqhull
now require C++ 11 and the build will fail otherwise. I updated the build steps to align more with what's described in theqhull
documentation while I was at it.I've built both version 2020.1 and HEAD from source and tested both and it all looks good. Let me know if any of this could be improved or if anything needs to be changed.