Remove redundant FindGTest.cmake. (#3533)
During removal of FindGTest.cmake, also * Fix gtest include dirs. * Remove some blanks and use PWD for gtest dir.
This commit is contained in:
committed by
Rory Mitchell
parent
69454d9487
commit
55caad6e49
@@ -125,16 +125,17 @@ if [ ${TASK} == "cmake_test" ]; then
|
||||
rm -rf release-1.7.0.zip
|
||||
|
||||
# Build/test without AVX
|
||||
rm -rf build
|
||||
mkdir build && cd build
|
||||
cmake .. -DGOOGLE_TEST=ON -DGTEST_ROOT=../gtest/
|
||||
cmake .. -DGOOGLE_TEST=ON -DGTEST_ROOT=$PWD/../gtest/
|
||||
make
|
||||
cd ..
|
||||
./testxgboost
|
||||
rm -rf build
|
||||
|
||||
|
||||
# Build/test with AVX
|
||||
mkdir build && cd build
|
||||
cmake .. -DGOOGLE_TEST=ON -DUSE_AVX=ON -DGTEST_ROOT=../gtest/
|
||||
cmake .. -DGOOGLE_TEST=ON -DUSE_AVX=ON -DGTEST_ROOT=$PWD/../gtest/
|
||||
make
|
||||
cd ..
|
||||
./testxgboost
|
||||
|
||||
Reference in New Issue
Block a user