File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
doc/getstarted/build_and_install Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ PaddlePaddle supports some build options.
51
51
<tr ><td class =" left " >WITH_TIMER</td ><td class =" left " >Compile PaddlePaddle with stats timer</td ></tr >
52
52
<tr ><td class =" left " >WITH_PROFILER</td ><td class =" left " >Compile PaddlePaddle with GPU profiler</td ></tr >
53
53
<tr ><td class =" left " >WITH_DOC</td ><td class =" left " >Compile PaddlePaddle with documentation</td ></tr >
54
- <tr ><td class =" left " >ON_COVERALLS </td ><td class =" left " >Compile PaddlePaddle with code coverage</td ></tr >
54
+ <tr ><td class =" left " >WITH_COVERAGE </td ><td class =" left " >Compile PaddlePaddle with code coverage</td ></tr >
55
55
<tr ><td class =" left " >COVERALLS_UPLOAD</td ><td class =" left " >Package code coverage data to coveralls</td ></tr >
56
56
<tr ><td class =" left " >ON_TRAVIS</td ><td class =" left " >Exclude special unit test on Travis CI</td ></tr >
57
57
</tbody >
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ GFLAGS_LOCATION="@GFLAGS_LOCATION@"
14
14
CBLAS_LIBRARIES="@CBLAS_LIBRARIES@"
15
15
16
16
CUDA_LIBRARIES="@CUDA_CUDART_LIBRARY@"
17
- WITH_COVERALLS="@ON_COVERALLS @"
17
+ WITH_COVERALLS="@WITH_COVERAGE @"
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ cmake .. \
33
33
-DWITH_SWIG_PY=ON \
34
34
-DCUDNN_ROOT=/usr/ \
35
35
-DWITH_STYLE_CHECK=${WITH_STYLE_CHECK:- OFF} \
36
- -DON_COVERALLS =${TEST:- OFF} \
36
+ -DWITH_COVERAGE =${TEST:- OFF} \
37
37
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
38
38
make -j ` nproc`
39
39
if [[ ${TEST:- OFF} == " ON" ]]; then
Original file line number Diff line number Diff line change 5
5
export PYTHONPATH=/opt/python/2.7.12/lib/python2.7/site-packages
6
6
export PYTHONHOME=/opt/python/2.7.12
7
7
export PATH=/opt/python/2.7.12/bin:${PATH}
8
- cmake .. -DCMAKE_Fortran_COMPILER=/usr/bin/gfortran-4.8 -DON_TRAVIS=ON -DON_COVERALLS =ON -DCOVERALLS_UPLOAD=ON ${EXTRA_CMAKE_OPTS}
8
+ cmake .. -DCMAKE_Fortran_COMPILER=/usr/bin/gfortran-4.8 -DON_TRAVIS=ON -DWITH_COVERAGE =ON -DCOVERALLS_UPLOAD=ON ${EXTRA_CMAKE_OPTS}
9
9
NRPOC=` nproc`
10
10
make -j $NPROC
11
11
make coveralls
You can’t perform that action at this time.
0 commit comments