spack/var/spack/repos/builtin/packages/ps-lite/cmake.patch
健美猫 9e95e8394e Add a package: dmlc/mxnet. (#3579)
* Add dmlc/mxnet packags.

* Build mxnet+cuda+opencv with GCC-4.8.5 and GCC-5.4.0.

* Build mxnet version 0.10.0, 0.10.0.post1 and 0.10.0.post2.

* Add component version constrain for mxnet 0.10.0.x .

* Go through flake8.

* Replace commit hash with commit date as package version.

* Go throught Travis-CI.

* Update submodule version for 0.10.0.post2.

* Add openmp variant for dmlc-core and mxnet.

* Refine variant handling.

* Fix filter_file for dmlc-core.

* Cut long strings into multiple lies due to PEP8 requirements.

* Fix for PEP8.

* Add CUB_INCLUDE.

* Add py-mxnet: Python binding for MXNet.

* Remove distutils.dir_util.

* Add the profiler variant for mxnet.

* Add a shared variant for nnvm.

* Set USE_OPENMP to OFF by default.

* Fix flake8 errors.

* Fix flake8 issues.

* flake8 issues again.
2017-10-10 13:56:26 -07:00

23 lines
848 B
Diff

From b787a6413d6d54c46db476176656fec108c57527 Mon Sep 17 00:00:00 2001
From: Jianwen WEI <weijianwen@gmail.com>
Date: Wed, 5 Apr 2017 19:53:51 +0800
Subject: [PATCH] Add install() for ps-lite in CMake.
---
CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e5d13d0..d68491c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,3 +63,8 @@ set(pslite_LINKER_LIBS ${pslite_LINKER_LIBS_L} PARENT_SCOPE)
set(pslite_LINKER_LIBS_RELEASE ${pslite_LINKER_LIBS_L_RELEASE} PARENT_SCOPE)
set(pslite_LINKER_LIBS_DEBUG ${pslite_LINKER_LIBS_L_DEBUG} PARENT_SCOPE)
set(pslite_INCLUDE_DIR ${pslite_INCLUDE_DIR_L} PARENT_SCOPE)
+
+install(TARGETS pslite ARCHIVE DESTINATION lib)
+install(DIRECTORY include DESTINATION .)
+install(DIRECTORY docs DESTINATION .)
+install(DIRECTORY make DESTINATION .)