Error when install from source on Ubuntu 16.04

Ubuntu 16.04
Python 3.5
Cuda 10.0

I was trying to install from source, but it shows errors when build from the shared library using cuda build with make -j4

nvcc fatal : Unknown option ‘Wno-deprecated-declarations’
CMake Error at dgl_generated_binary_reduce_min.cu.o.cmake:207 (message):
Error generating
/home/user/repos/dgl/build/CMakeFiles/dgl.dir/src/kernel/cuda/./dgl_generated_binary_reduce_min.cu.o

Any suggestions? Thanks!

Did you perform the instructions below?

mkdir build
cd build
cmake -DUSE_CUDA=ON ..
make -j4

Yes, but after make -j4 there is error.

You may not clone all the submodules.
Need to add --recursive flag to clone everything needed,
i.e. git clone --recursive https://github.com/dmlc/dgl.git