"R-package/vscode:/vscode.git/clone" did not exist on "929443316c4d634e822f337ad316b2002c4120b8"
Commit 6828461d authored by Tsukasa OMOTO's avatar Tsukasa OMOTO Committed by Qiwei Ye
Browse files

Remove CMAKE_CXX_COMPILER and CMAKE_C_COMPILER for OSX (#719)

* Remove CMAKE_CXX_COMPILER and CMAKE_C_COMPILER for OSX

* update .travis/test.sh

* update again
parent 36cf7e72
......@@ -14,6 +14,15 @@ if [[ ${TASK} == "gpu" ]]; then
export CPLUS_INCLUDE_PATH="$HOME/miniconda/include:$AMDAPPSDK/include/:$CPLUS_INCLUDE_PATH"
fi
case ${TRAVIS_OS_NAME} in
osx)
export CXX=g++-7
export CC=gcc-7
;;
linux)
;;
esac
cd $TRAVIS_BUILD_DIR
if [[ ${TASK} == "pylint" ]]; then
......
cmake_minimum_required(VERSION 2.8)
if(APPLE)
SET(CMAKE_CXX_COMPILER "g++-7")
SET(CMAKE_C_COMPILER "gcc-7")
endif()
PROJECT(lightgbm)
OPTION(USE_MPI "MPI based parallel learning" OFF)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment