Skip to content

Commit 4fa8fdc

Browse files
authored
Merge pull request #1837 from reyoung/feature/fix_travis_build_error
Fix travis ci error.
2 parents 1765944 + 12dea70 commit 4fa8fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/scripts/travis/docs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ source ./common.sh
55
# Compile Documentation only.
66
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_Fortran_COMPILER=/usr/bin/gfortran-4.8 -DWITH_GPU=OFF -DWITH_DOC=OFF -DWITH_STYLE_CHECK=OFF ${EXTRA_CMAKE_OPTS}
77
mkdir output
8-
make DESTDIR=./output install -j `nproc`
9-
pip install ./output/usr/local/opt/paddle/share/wheels/*
8+
make -j `nproc`
9+
find .. -name '*whl' | xargs pip install # install all wheels.
1010
rm -rf *
1111
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_Fortran_COMPILER=/usr/bin/gfortran-4.8 -DWITH_GPU=OFF -DWITH_DOC=ON ${EXTRA_CMAKE_OPTS}
1212
make paddle_docs paddle_docs_cn

0 commit comments

Comments
 (0)