From db563ec2cdc02dbc91152037e75167b6a2ddfa57 Mon Sep 17 00:00:00 2001 From: peizhilin Date: Sat, 2 Feb 2019 14:15:17 +0800 Subject: [PATCH] test=develop --- paddle/fluid/memory/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/paddle/fluid/memory/CMakeLists.txt b/paddle/fluid/memory/CMakeLists.txt index e7268077643..0e9f7042ac0 100644 --- a/paddle/fluid/memory/CMakeLists.txt +++ b/paddle/fluid/memory/CMakeLists.txt @@ -1,3 +1,9 @@ +# make the external project built first +set(PADDLE_MEMORY_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/memory/build") +add_custom_command(OUTPUT ${PADDLE_MEMORY_BUILD_DIR}/.timestamp + COMMAND ${CMAKE_COMMAND} -E touch ${PADDLE_MEMORY_BUILD_DIR}/.timestamp + DEPENDS ${external_project_dependencies}) + add_subdirectory(detail) add_subdirectory(allocation) cc_library(malloc SRCS malloc.cc DEPS place enforce allocator_facade) -- GitLab