12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- PRO_DIR=`pwd`
- CONFIG_IVSysMan="IVSysMan.xml"
- cd ../../
- app_name=(
- adcndtmultimapping
- driver_can_nvidia_agx
- driver_lidar_hesaipandar64
- driver_map_trace
- driver_map_xodrload
- driver_gps_hcp2
- IVSysMan
- ivweb
- ivlog_record
- pointcloudviewer
- view_gps
- view_rawcan
- detection_radar_delphi_esr
- adciv_record
- view_pcdmap
- view_ivlog
- adciv_replay
- ivmapmake
- ui_ads_hmi
- controller_tju_vv7
- decition_brain
- )
- 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/llibQtWebAppHttpServer.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
- xlib=`ls ./deploy/app/lib/lib*`
- for fileName in $xlib
- do
- patchelf --set-rpath '$ORIGIN' $fileName
- done
-
- echo "creat IVSysMan.xml"
- cp ./sh/tju64/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/tju64/xml/* ./deploy/app/
- echo ""
- echo "***************"
- echo "*** done! ***"
- echo "***************"
|