-
-
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
sundials 6.5.0 #119907
sundials 6.5.0 #119907
Conversation
-DBUILD_SHARED_LIBS=ON | ||
-DKLU_ENABLE=ON | ||
-DKLU_LIBRARY_DIR=#{Formula["suite-sparse"].opt_lib} | ||
-DKLU_INCLUDE_DIR=#{Formula["suite-sparse"].opt_include} | ||
-DLAPACK_ENABLE=ON | ||
-DBLA_VENDOR=OpenBLAS |
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.
CMake Warning:
Manually-specified variables were not used by the project:
BLA_VENDOR
c333f5d
to
d830b3b
Compare
d830b3b
to
37376c9
Compare
🤖 A scheduled task has triggered a merge. |
@@ -82,6 +82,9 @@ def install | |||
/%OCTAVE_CONF_OCT(AVE)?_LINK_(DEPS|OPTS)%/, | |||
'""' | |||
|
|||
# SUNDIALS 6.4.0 and later needs C++14 for C++ based features | |||
ENV.append "CXXFLAGS", "-std=c++14" |
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.
It would be better to set it to -std=gnu++14
because Octave uses some GNU extensions (and only falls back to some inferior workarounds if they aren't available).
Also, setting this only in CXXFLAGS
might cause some preprocessor tests to get different results during configuration than what the compiler would see when building.
It might be better to add this flag to CXX
.
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.
@cho-m: I hope it is ok to comment on a closed PR. But this should definitely be fixed in the build rules for the packaged Octave.
I.e.:
ENV.append "CXXFLAGS", "-std=c++14" | |
ENV.append "CXX", "-std=gnu++14" |
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 --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?Will need rebase if we merge #118915.