crash when disable WITH_SWIG_PY
Created by: tensor-tang
My command is
cmake .. -DWITH_GPU=OFF -DWITH_SWIG_PY=OFF -DWITH_STYLE_CHECK=OFF -DWITH_TESTING=OFF -DWITH_DSO=OFF make all -j
nproc
make install
Then got
make[2]: *** No rule to make target
../python/python_api_wheel', needed by
python/CMakeFiles/paddle_python'. Stop. make[2]: *** Waiting for unfinished jobs.... make[1]: *** [python/CMakeFiles/paddle_python.dir/all] Error 2 make: *** [all] Error 2
Maybe forgot some conditions in python/CMakeFiles.txt
?