From c400964a57cd5aa0b0705cfcd29fc9c97dc26070 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Wed, 28 Apr 2021 17:43:57 +0200 Subject: Add patch to correct capitalization typo --- debian/changelog | 7 +++ .../patches/0001-Correct-capitalization-typo.patch | 64 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 72 insertions(+) create mode 100644 debian/patches/0001-Correct-capitalization-typo.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 2c2d4517..eac6c9af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +clblast (1.5.2-2) unstable; urgency=medium + + * Add patch to correct typo in installation path of CMake + files. (Closes: #987881) + + -- Gard Spreemann Sat, 01 May 2021 13:55:46 +0200 + clblast (1.5.2-1) unstable; urgency=medium * New upstream release. diff --git a/debian/patches/0001-Correct-capitalization-typo.patch b/debian/patches/0001-Correct-capitalization-typo.patch new file mode 100644 index 00000000..7de2a347 --- /dev/null +++ b/debian/patches/0001-Correct-capitalization-typo.patch @@ -0,0 +1,64 @@ +From: Gard Spreemann +Date: Wed, 28 Apr 2021 17:42:34 +0200 +Subject: Correct capitalization typo + +CLBLast -> CLBlast +--- + CMakeLists.txt | 2 +- + include/clblast.h | 2 +- + include/clblast_c.h | 2 +- + include/clblast_cuda.h | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2d28050..84966bc 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -360,7 +360,7 @@ elseif(CUDA) + endif() + + # Installs the config for find_package in dependent projects +-install(EXPORT CLBlast DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/CLBLast FILE CLBlastConfig.cmake) ++install(EXPORT CLBlast DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/CLBlast FILE CLBlastConfig.cmake) + + # Install pkg-config file on Linux + if(UNIX) +diff --git a/include/clblast.h b/include/clblast.h +index 296f398..c11e4ab 100644 +--- a/include/clblast.h ++++ b/include/clblast.h +@@ -710,7 +710,7 @@ StatusCode GemmTempBufferSize(const Layout layout, const Transpose a_transpose, + // for the same device. This cache can be cleared to free up system memory or in case of debugging. + StatusCode PUBLIC_API ClearCache(); + +-// The cache can also be pre-initialized for a specific device with all possible CLBLast kernels. ++// The cache can also be pre-initialized for a specific device with all possible CLBlast kernels. + // Further CLBlast routine calls will then run at maximum speed. + StatusCode PUBLIC_API FillCache(const cl_device_id device); + +diff --git a/include/clblast_c.h b/include/clblast_c.h +index 7f7b1e9..9c2820b 100644 +--- a/include/clblast_c.h ++++ b/include/clblast_c.h +@@ -1685,7 +1685,7 @@ CLBlastStatusCode PUBLIC_API CLBlastHGemmTempBufferSize(const CLBlastLayout layo + // for the same device. This cache can be cleared to free up system memory or in case of debugging. + CLBlastStatusCode PUBLIC_API CLBlastClearCache(); + +-// The cache can also be pre-initialized for a specific device with all possible CLBLast kernels. ++// The cache can also be pre-initialized for a specific device with all possible CLBlast kernels. + // Further CLBlast routine calls will then run at maximum speed. + CLBlastStatusCode PUBLIC_API CLBlastFillCache(const cl_device_id device); + +diff --git a/include/clblast_cuda.h b/include/clblast_cuda.h +index f6d6372..b62c7ac 100644 +--- a/include/clblast_cuda.h ++++ b/include/clblast_cuda.h +@@ -677,7 +677,7 @@ StatusCode GemmTempBufferSize(const Layout layout, const Transpose a_transpose, + // for the same device. This cache can be cleared to free up system memory or in case of debugging. + StatusCode PUBLIC_API ClearCache(); + +-// The cache can also be pre-initialized for a specific device with all possible CLBLast kernels. ++// The cache can also be pre-initialized for a specific device with all possible CLBlast kernels. + // Further CLBlast routine calls will then run at maximum speed. + StatusCode PUBLIC_API FillCache(const CUdevice device); + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..d95c9a96 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Correct-capitalization-typo.patch -- cgit v1.2.3