-
Notifications
You must be signed in to change notification settings - Fork 133
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
Fix C++ compiler selection #530
Conversation
https://travis-ci.org/SciRuby/nmatrix/jobs/145353918 This failure isn't related to this pull-request. |
@@ -107,6 +107,12 @@ def gplusplus_version | |||
"#{major}.#{minor}.#{patch}" | |||
end | |||
|
|||
if CONFIG['CC'] == 'clang' && CONFIG['CXX'] != 'clang++' | |||
puts "WARNING: CONFIG['CXX'] is not 'clang++' in spite of CONFIG['CC'] is '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.
Needs a grammar correction. "in spite of" -> "even though" or ", however"
These are all excellent changes. Just one minor tweak. Thanks for submitting them. |
@mrkn Just wanted to make sure you saw the comment above. |
c283973
to
618f456
Compare
@MohawkJohn Fixed. |
618f456
to
2dac1b6
Compare
And I've rebase onto the current master branch. |
Great work. Thanks so much! |
NOTE: please merge #524 before this because this pull-request based on that pull-request.This pull-request allows us to select the collect combination of C++ and C compilers on OS X.
In Ruby < 2.4, configure script couldn't select the collect C++ compiler for the specified C compiler (I've fixed it on Ruby 2.4).
The changes in this is overwrite CXX variable to
clang++
when CC isclang
.#525 will be fixed by this.