|
|
|
@ -1,3 +1,10 @@
|
|
|
|
|
# analysis and tensorrt must be added before creating static library,
|
|
|
|
|
# otherwise, there would be undefined reference to them in static library.
|
|
|
|
|
add_subdirectory(analysis)
|
|
|
|
|
if (TENSORRT_FOUND)
|
|
|
|
|
add_subdirectory(tensorrt)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
set(FLUID_CORE_MODULES proto_desc memory lod_tensor executor )
|
|
|
|
|
|
|
|
|
|
# TODO(panyx0718): Should this be called paddle_fluid_inference_api_internal?
|
|
|
|
@ -35,9 +42,3 @@ if(WITH_TESTING)
|
|
|
|
|
# both tests/book and analysis depends the models that generated by python/paddle/fluid/tests/book
|
|
|
|
|
add_subdirectory(tests/book)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
add_subdirectory(analysis)
|
|
|
|
|
|
|
|
|
|
if (TENSORRT_FOUND)
|
|
|
|
|
add_subdirectory(tensorrt)
|
|
|
|
|
endif()
|
|
|
|
|