Skip to content

Commit f953a6e

Browse files
committed
Add CBLAS in build doc
1 parent 8b64446 commit f953a6e

File tree

4 files changed

+3
-64
lines changed

4 files changed

+3
-64
lines changed

doc/getstarted/build_and_install/build_from_source_en.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,12 @@ PaddlePaddle supports some build options.
6262

6363
As a simple example, consider the following:
6464

65-
1. **Python Dependencies(optional)**
65+
1. **BLAS Dependencies(optional)**
6666

67-
To compile PaddlePaddle with python predict API, set `-DWITH_SWIG_PY=ON` as follows:
67+
Paddle will find BLAS from system's default path. But you can specify MKL, OpenBLAS or ATLAS via `CBLAS_INC_DIR` and `CBLAS_LIBRARIES`.
6868

6969
```bash
70-
# active swig in cmake
71-
cmake .. -DWITH_SWIG_PY=ON
70+
cmake .. -DCBLAS_INC_DIR=<cblas_inc> -DCBLAS_LIBRARIES=<cblas_libs>
7271
```
7372

7473
2. **Doc Dependencies(optional)**

doc/getstarted/build_and_install/cmake/build_from_source_cn.rst

Lines changed: 0 additions & 43 deletions
This file was deleted.

doc/getstarted/build_and_install/cmake/cblas_settings.csv

Lines changed: 0 additions & 5 deletions
This file was deleted.

doc/getstarted/build_and_install/cmake/compile_options.csv

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)