build_linux.sh 447 B

123456789101112131415161718
  1. cd ..
  2. if [ -d "build" ]
  3. then
  4. cd build
  5. else
  6. mkdir build
  7. cd build
  8. fi
  9. cmake .. -DWorkflow_DIR=/home/kdan/repo/srpc/workflow \
  10. -DTRT_DRECTORY=/usr/local/TensorRT-8.5.3.1 \
  11. -DFASTDEPLOY_DRECTORY=/home/kdan/repo/FastDeploy/build_trt/compiled_fastdeploy_sdk \
  12. -DBUILD_CLIENT=ON \
  13. -DRAPIDJSON_DRECTORY=/home/kdan/repo/rapidjson \
  14. -DSrpc_DIR=/home/kdan/repo/srpc/
  15. make -j16