[clblas] 01/06: Fixup patch Fix-examples-install-target.patch.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Dec 1 11:57:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository clblas.
commit 3f83b40e8578d6929d815acbf7cdd96b34d5d13a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Mon Nov 30 21:28:17 2015 +0000
Fixup patch Fix-examples-install-target.patch.
---
debian/patches/Fix-examples-install-target.patch | 45 +++++++++++++++++++-----
1 file changed, 36 insertions(+), 9 deletions(-)
diff --git a/debian/patches/Fix-examples-install-target.patch b/debian/patches/Fix-examples-install-target.patch
index cfa2780..7901097 100644
--- a/debian/patches/Fix-examples-install-target.patch
+++ b/debian/patches/Fix-examples-install-target.patch
@@ -1,24 +1,51 @@
From: Ghislain Antony Vaillant <ghisvail at gmail.com>
-Date: Wed, 25 Nov 2015 17:12:28 +0000
+Date: Tue, 1 Dec 2015 08:21:52 +0000
Subject: Fix examples install target.
---
- src/samples/CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ src/samples/CMakeLists.txt | 26 +-------------------------
+ 1 file changed, 1 insertion(+), 25 deletions(-)
diff --git a/src/samples/CMakeLists.txt b/src/samples/CMakeLists.txt
-index 4227244..bd778e5 100644
+index 8422e65..20d9c5c 100644
--- a/src/samples/CMakeLists.txt
+++ b/src/samples/CMakeLists.txt
-@@ -264,9 +264,9 @@ configure_file( "${PROJECT_SOURCE_DIR}/samples/CMakeLists.pack"
+@@ -260,37 +260,13 @@ add_executable(example_sasum ${SASUM_SAMPLE_SRC})
+ target_link_libraries(example_sasum ${OPENCL_LIBRARIES} clBLAS)
+ set_property( TARGET example_sasum PROPERTY FOLDER "Samples")
+
+-# CPack configuration; include the executable into the package
+-if( WIN32 )
+- set( CLBLAS_EXAMPLE_INSTALL_DESTINATION bin${SUFFIX_BIN})
+-else( )
+- set( CLBLAS_EXAMPLE_INSTALL_DESTINATION share/clBLAS/samples)
+-endif()
+-install( TARGETS example_sgemm example_sgemv example_ssymv example_ssyrk
+- example_ssyr2k example_strmm example_strsm
+- example_strmv example_strsv example_sger example_cher example_ssyr
+- example_ssyr2 example_cherk example_ssymm example_chemm
+- example_stpmv example_chpmv example_stpsv example_sspmv example_sspr example_chpr
+- example_sspr2 example_zhpr2
+- example_sgbmv example_stbmv example_ssbmv example_chbmv example_stbsv
+- example_cher2k
+- example_sswap example_sscal example_csscal example_scopy example_saxpy example_sdot
+- example_srotg example_srotmg example_srot example_srotm
+- example_snrm2 example_sasum example_isamax
+-
+- version
+- RUNTIME DESTINATION ${CLBLAS_EXAMPLE_INSTALL_DESTINATION}
+- LIBRARY DESTINATION lib${SUFFIX_LIB}
+- ARCHIVE DESTINATION lib${SUFFIX_LIB}/import
+- )
+-
+ configure_file( "${PROJECT_SOURCE_DIR}/samples/CMakeLists.pack"
"${PROJECT_BINARY_DIR}/samples/CMakeLists.txt" COPYONLY )
if( WIN32 )
-- set( CLBLAS_SAMPLE_INSTALL_DESTINATION samples CACHE PATH "")
-+ set( CLBLAS_SAMPLE_INSTALL_DESTINATION samples)
+ set( CLBLAS_SAMPLE_INSTALL_DESTINATION samples)
else( )
-- set( CLBLAS_SAMPLE_INSTALL_DESTINATION share/clBLAS/samples/src CACHE PATH "")
-+ set( CLBLAS_SAMPLE_INSTALL_DESTINATION "/usr/share/doc/libclblas-doc/examples")
+- set( CLBLAS_SAMPLE_INSTALL_DESTINATION share/clBLAS/samples/src)
++ set( CLBLAS_SAMPLE_INSTALL_DESTINATION share/doc/libclblas-doc/examples)
endif()
install(FILES
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git
More information about the debian-science-commits
mailing list