1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- PRO_DIR=`pwd`
- CONFIG_IVSysMan="IVSysMan_bq1.xml"
- cd ../../
- app_name=(
- adcndtmultimapping
- detection_ndt_matching_gpu_multi
- detection_state_delphi_ins500d
- driver_can_nvidia_agx
- driver_lidar_vlp16
- driver_lidar_vlp32c
- IVSysMan
- ivweb
- ivlog_record
- pointcloudviewer
- view_gps
- view_rawcan
- driver_rpc_client
- driver_rpc_server
- adciv_record
- view_pcdmap
- view_ivlog
- adciv_replay
- fusion_gpsndt
- )
- for x in ${app_name[@]}
- do
- echo "deploy $x"
- cp ./bin/${x} ./
- ./deploy.sh $x
- rm ${x}
- done
- cp ./thirdpartylib/QtWebApp/lib/*.s* ./bin
- patchelf --set-rpath '$ORIGIN' ./bin/libQtWebAppGlobal.so
- patchelf --set-rpath '$ORIGIN' ./bin/libQtWebAppHttpServer.so
- cp ./bin/libQtWebApp* ./deploy/app/lib/
- lib_name=(
- libmodulecomm.so
- libndt_cpu.so
- libndt_gpu.so
- libxmlparam.so
- libivfault.so
- libivlog.so
- libivbacktrace.so
- libivexit.so
- )
- for x in ${lib_name[@]}
- do
- # echo "link lib $x"
- # patchelf --set-rpath '$ORIGIN' ./bin/$x
- echo "deploylib $x"
- cp ./bin/${x} ./
- ./deploylib.sh $x
- rm ${x}
- done
- cp ./thirdpartylib/BRPC/lib/lib/libbrpc.so ./
- ./deploylib.sh libbrpc.so
- rm libbrpc.so
- xlib=`ls ./deploy/app/lib/lib*`
- for fileName in $xlib
- do
- patchelf --set-rpath '$ORIGIN' $fileName
- done
-
- echo "creat IVSysMan.xml"
- cp ./sh/bq/xml/$CONFIG_IVSysMan ./deploy/app/IVSysMan.xml
- #cp ./other/ADS_decision.xml ./deploy/app/ADS_decision.xml
- sed -i "s|xxxxxx|$PRO_DIR/|g" ./deploy/app/IVSysMan.xml
- #cp ./bin/*.so ./deploy/app/lib/
- cp ./sh/bq/xml/bq1/* ./deploy/app/
- echo ""
- echo "***************"
- echo "*** done! ***"
- echo "***************"
|