From 8de5aa1bde5adf98a1dc7d62e5d57a97935c8fcf Mon Sep 17 00:00:00 2001 From: Tao Luo Date: Wed, 24 Jul 2019 17:24:56 +0800 Subject: [PATCH] remove package.cmake (#18760) test=develop --- CMakeLists.txt | 1 - cmake/package.cmake | 21 --------------------- 2 files changed, 22 deletions(-) delete mode 100644 cmake/package.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 8cb178befe5..3520aabfca7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,7 +208,6 @@ if (WITH_PROFILER) endif() include(generic) # simplify cmake module -include(package) # set paddle packages include(ccache) # set ccache for compilation include(util) # set unittest and link libs include(version) # set PADDLE_VERSION diff --git a/cmake/package.cmake b/cmake/package.cmake deleted file mode 100644 index 79e02147f3f..00000000000 --- a/cmake/package.cmake +++ /dev/null @@ -1,21 +0,0 @@ -set(CPACK_PACKAGE_NAME paddle) -set(CPACK_PACKAGE_VERSION_MAJOR ${PADDLE_MAJOR_VERSION}) -set(CPACK_PACKAGE_VERSION_MINOR ${PADDLE_MINOR_VERSION}) -set(CPACK_PACKAGE_VERSION_PATCH ${PADDLE_PATCH_VERSION}) -set(CPACK_PACKAGE_VERSION ${PADDLE_VERSION}) -## DEB Settings -set(CPACK_DEBIAN_PACKAGE_NAME paddle) -set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE amd64) -set(CPACK_DEBIAN_PACKAGE_MAINTAINER PaddlePaddle Dev ) -set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Paddle") -set(CPACK_PACKAGE_DESCRIPTION "") -set(CPACK_DEBIAN_PACKAGE_DEPENDS "libpython2.7-dev, libstdc++6, python-pip, curl, libgfortran3, python-pip-whl") -set(CPACK_DEBIAN_PACKAGE_SECTION Devel) -set(CPACK_DEBIAN_PACKAGE_VERSION ${PADDLE_VERSION}) -set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${PADDLE_SOURCE_DIR}/paddle/scripts/deb/postinst") -#set(CPACK_GENERATOR "DEB") -# Start cpack -include (CMakePackageConfigHelpers) -include (CPack) - - -- GitLab