-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Remove unused configuration variables #1472
Conversation
The SOLARIS variable is no longer used in the C++ code.
The NEED_ALT_MAIN variable is not defined anywhere in the code
Codecov Report
@@ Coverage Diff @@
## main #1472 +/- ##
==========================================
+ Coverage 69.88% 69.90% +0.02%
==========================================
Files 377 377
Lines 57298 57301 +3
Branches 19164 19164
==========================================
+ Hits 40040 40054 +14
+ Misses 14705 14694 -11
Partials 2553 2553
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
aec18d8
to
8c00ccc
Compare
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 for the cleanup work on this, @ischoegl. Looks good to me besides the one comment below.
8c00ccc
to
1b0e3a2
Compare
Thanks! I removed the references as suggested. PS: ended up also removing references to Win XP and Win 2000 ... |
Its only use is to set an alternative location for input data on macOS
Per release notes, Boost dll support was introduced in 1.61, see: https://www.boost.org/users/history/version_1_61_0.html
1b0e3a2
to
e459a11
Compare
Changes proposed in this pull request
Remove (mostly) unused environment variables in
config.h
SOLARIS
is unusedNEED_ALT_MAIN
is used by a Fortran example but nowhere defined; there is no evidence of this being used outside of CanteraLAPACK_NAMES_LOWERCASE
has a SCons option, but is nowhere mentioned in C++ or Fortran; there is no evidence of this being used outside of CanteraCT_USE_DEMANGLE
is only required for Boost <1.56. The newly required DLL support was introduced in 1.61DARWIN
is only used to set an obscure data location/Applications/Cantera/data
- it may be used forcantera-macos-pkg
, but I am not sure how much use the installer sees; its main use appears to be for an installation with Matlab, but I believe that the toolbox is broken for M1?Checklist
scons build
&scons test
) and unit tests address code coverage