Commit d04648c9 authored by Nikita Titov's avatar Nikita Titov Committed by Guolin Ke
Browse files

updated Boost Compute submodule (#1435)

* unpin boost version

* updated boost compute submodule
parent 34a643f6
...@@ -25,7 +25,7 @@ if [[ $TASK == "check-docs" ]]; then ...@@ -25,7 +25,7 @@ if [[ $TASK == "check-docs" ]]; then
rstcheck --report warning --ignore-directives=autoclass,autofunction `find . -type f -name "*.rst"` || exit -1 rstcheck --report warning --ignore-directives=autoclass,autofunction `find . -type f -name "*.rst"` || exit -1
make html || exit -1 make html || exit -1
find ./_build/html/ -type f -name '*.html' -exec \ find ./_build/html/ -type f -name '*.html' -exec \
sed -i -e 's;\(\.\/[^.]*\.\)rst\([^[:space:]]*\);\1html\2;g' {} \; # Emulate js function sed -i -e 's;\(\.\/[^.]*\.\)rst\([^[:space:]]*\);\1html\2;g' {} \; # emulate js function
# html5validator --root ./_build/html/ || exit -1 # html5validator --root ./_build/html/ || exit -1
if [[ $TRAVIS_OS_NAME != "osx" ]]; then if [[ $TRAVIS_OS_NAME != "osx" ]]; then
linkchecker --config=.linkcheckerrc ./_build/html/*.html || exit -1 linkchecker --config=.linkcheckerrc ./_build/html/*.html || exit -1
...@@ -68,7 +68,7 @@ elif [[ $TASK == "bdist" ]]; then ...@@ -68,7 +68,7 @@ elif [[ $TASK == "bdist" ]]; then
fi fi
if [[ $TASK == "gpu" ]]; then if [[ $TASK == "gpu" ]]; then
conda install --yes -c conda-forge boost=1.63.0 conda install --yes -c conda-forge boost
sed -i 's/std::string device_type = "cpu";/std::string device_type = "gpu";/' $TRAVIS_BUILD_DIR/include/LightGBM/config.h sed -i 's/std::string device_type = "cpu";/std::string device_type = "gpu";/' $TRAVIS_BUILD_DIR/include/LightGBM/config.h
if [[ $METHOD == "pip" ]]; then if [[ $METHOD == "pip" ]]; then
cd $TRAVIS_BUILD_DIR/python-package && python setup.py sdist || exit -1 cd $TRAVIS_BUILD_DIR/python-package && python setup.py sdist || exit -1
......
Subproject commit 6de7f6448796f67958dde8de4569fb1ae649ee91 Subproject commit 520f9b35b1d41cbb34befe77b43cc0188e4e5dc1
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