-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 CMAKE_CXX_COMPILER and CMAKE_C_COMPILER for OSX #719
Conversation
we need to update Installation Guide like this:
|
This may broke the installation of python/R package, since it is hard to specific |
BTW, can this |
Currently, |
@henry0312 |
I agreed that we should remove the line that specific the g++ in the cmake for Apple. but that means that we should also alter the travis test script as well. I have branched a branch for testing |
|
@henry0312, @guolinke ,the problem that we are faced is that the apple linked the |
can following works ?
if this can work, we can use it for the python/R build . |
actually |
I have checked that the minimum version that we need is gcc 4.8.3 and clang 3.8 |
I don't know much about Travis. |
We have fully control of which version should be use in Travis. |
Then, I think exporting |
you can try to add following at this line:https://github.com/Microsoft/LightGBM/blob/master/.travis/test.sh#L16
|
it this osx's tests script? |
@henry0312 it is the test for all systems. |
@guolinke, we don't need to specific version in the travis, because that the osX version travis used didn't link gcc to AppleClang |
6608468
to
3f2b4c4
Compare
3f2b4c4
to
070aab3
Compare
@chivee Is |
@henry0312 , Refer to a previous blog, I guess no, gcc still link to AppleClang |
This means |
Yes, let's stay using 'g++-7' |
sorry, I don't understand #719 (comment). Does "version" in your comment mean os type? |
Anyway, all tests in Travis are passed 🎉 |
* Remove CMAKE_CXX_COMPILER and CMAKE_C_COMPILER for OSX * update .travis/test.sh * update again
#710