Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
CPP Install Instruction with CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgk committed Dec 7, 2018
1 parent f050321 commit 791fef0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/install/c_plus_plus.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ To enable C++ package, just add `USE_CPP_PACKAGE=1` in the [build from source](b
For example to build MXNet with GPU support and the C++ package, OpenCV, and OpenBLAS, from the project root you would run:

```bash
echo "USE_CPP_PACKAGE=1" >> ./config.mk
echo "USE_OPENCV=1" >> ./config.mk
echo "USE_BLAS=openblas" >> ./config.mk
echo "USE_CUDA=1" >> ./config.mk
make -j $(nproc)
cmake -DUSE_CUDA=1 -DUSE_CUDA_PATH=/usr/local/cuda -DUSE_CUDNN=1 -DUSE_MKLDNN=1 -DUSE_CPP_PACKAGE=1 -GNinja .
ninja -v
```

You may also want to add the MXNet shared library to your `LD_LIBRARY_PATH`:
Expand Down

0 comments on commit 791fef0

Please sign in to comment.