123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- PRO_DIR=`pwd`
- CONFIG_IVSysMan="IVSysMan.xml"
- cd ../../
- app_name=(
- controller_bus
- controller_jinlong_peisong
- controller_midcar
- controller_problue
- controller_ge3
- controller_vv7
- controller_tju_vv7
- controller_hapo
- #controller_yuhesen
- decition_brain
- decition_brain_sf
- driver_camera_usb
- driver_camera_ioctl
- #driver_can_kvaser
- #driver_can_vci
- driver_can_nvidia_agx
- driver_cloud_grpc_client_stream
- driver_grpc_server
- driver_gps_ins550d
- driver_gps_hcp2
- driver_lidar_bk16
- driver_lidar_hesai40line
- driver_lidar_hesai40p
- driver_lidar_hesaipandar64
- driver_lidar_rs16
- driver_lidar_rs32
- driver_lidar_vlp16
- driver_lidar_vlp32c
- driver_lidar_vtdpoint
- driver_lidar_rsm1
- driver_map_trace
- driver_map_xodrload
- driver_ntrip_client
- driver_piccompress
- driver_radio_p900
- driver_odomtogpsimu
- #driver_rpc_client
- #driver_rpc_server
- driver_vbox_gaohong
- driver_ota_client
- #driver_ota_server
- driver_grpc_client
- driver_grpc_server
- driver_group_grpc_client
- detection_chassis
- detection_gps_hcp2
- detection_gps_vtd
- #detection_lidar_cnn_segmentation
- detection_lidar_cnntogrid
- detection_lidar_grid
- detection_lidar_ukf_pda
- detection_mobileye
- #detection_ndt_matching_gpu_multi
- detection_radar_delphi_esr
- detection_state_delphi_ins500d
- fusion_gpsndt
- fusion_pointcloud_bus
- adciv_record
- adciv_replay
- adcndtmultimapping
- bqev_lidar_cnn_detect_view
- bqev_multilidarcalib
- bqev_pcdview
- ivmapmake
- ivmapmake_sharemem
- IVSysMan
- map_lanetoxodr
- map_mobieye
- PerceptionShow
- picview
- pointcloudviewer
- RemoteCtrl
- tool_calcmd5
- tool_querymsg
- tool_xodrobj
- view_gps
- view_ivlog
- view_pcdmap
- view_radar
- view_rawcan
- ui_ads_hmi
- tool_configivsysman
- #RemoteCtrl_Stream
- ivdiagnosis
- map_rtkdatafromveh
- picview_civetweb
- tool_trace2vectormap
- view_group_grpc
- view_ivchart
- view_message
- )
- for x in ${app_name[@]}
- do
- echo "deploy $x"
- cp ./bin/${x} ./
- ./deploywithfind.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
- libivchart.so
- libivservice.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
- cp /usr/lib/aarch64-linux-gnu/nss/libsoftokn3.so ./deploy/app/lib #for use webengine program
- #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 "***************"
|