• S
    make inference_api_test compile with dynamic linking library (#41944) · f8b9073f
    Sing_chan 提交于
    * make inference_api_test use import_lib + dll to smaller its size;test=document_fix;test=windows_ci_inference
    
    * make place.h not export symbols; change the order of inference test dependencies
    
    * cant delete analysis pass ..in inference_analysis_test or build test_analyzer.exe will failed; temporarily comment test need paddle_inference_c
    
    * add onnx path; cp onnxruntime.dll to tests/api
    
    * make c_ut depend on paddle_inference_c_shared rather than paddle_inference_c
    
    * make c_ut depend .dll in windows and .lib in linux;path add capi_exp
    
    * init context pool by analysis predictor
    
    * make windows and linux both use shared; compile shared even on_infer off
    
    * move case:profile after case:fuse_statis to avoid context pool null problem
    
    * make c_ut depend .dll in windows and .lib in linux;path add capi_exp
    f8b9073f
CMakeLists.txt 5.4 KB