summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog12
-rw-r--r--debian/clblast-tests.install1
-rw-r--r--debian/clblast-utils.install1
-rw-r--r--debian/control75
-rw-r--r--debian/copyright17
-rw-r--r--debian/libclblast-dev.install5
-rw-r--r--debian/libclblast1.install1
-rw-r--r--debian/libclblast1.shlibs1
-rwxr-xr-xdebian/rules27
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
11 files changed, 144 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..b87270ff
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+clblast (1.5.1-2) unstable; urgency=medium
+
+ * Move git repository to Salsa.
+ * Add watch file.
+
+ -- Gard Spreemann <gspr@nonempty.org> Sun, 10 Jan 2021 12:33:04 +0100
+
+clblast (1.5.1-1) unstable; urgency=medium
+
+ * Initial release (Closes: #977907)
+
+ -- Gard Spreemann <gspr@nonempty.org> Tue, 22 Dec 2020 18:38:01 +0100
diff --git a/debian/clblast-tests.install b/debian/clblast-tests.install
new file mode 100644
index 00000000..ca452daa
--- /dev/null
+++ b/debian/clblast-tests.install
@@ -0,0 +1 @@
+usr/bin/clblast_test_* \ No newline at end of file
diff --git a/debian/clblast-utils.install b/debian/clblast-utils.install
new file mode 100644
index 00000000..36e40000
--- /dev/null
+++ b/debian/clblast-utils.install
@@ -0,0 +1 @@
+usr/bin/clblast_tuner_*
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..0e57394d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,75 @@
+Source: clblast
+Maintainer: Gard Spreemann <gspr@nonempty.org>
+Section: math
+Priority: optional
+Standards-Version: 4.5.1
+Build-Depends: cmake,
+ debhelper-compat (= 13),
+ libblas-dev,
+ ocl-icd-opencl-dev | opencl-dev
+Rules-Requires-Root: no
+Homepage: https://cnugteren.github.io/clblast/clblast.html
+Vcs-Browser: https://salsa.debian.org/gspr/clblast
+Vcs-Git: https://salsa.debian.org/gspr/clblast.git -b debian/sid
+
+Package: clblast-tests
+Section: math
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Tests for CLBlast
+ CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS
+ library written in C++11. It is designed to leverage the full
+ performance potential of a wide variety of OpenCL devices from
+ different vendors, including desktop and laptop GPUs, embedded GPUs,
+ and other accelerators. CLBlast implements BLAS routines: basic
+ linear algebra subprograms operating on vectors and matrices.
+ .
+ This package provides tests and benchmarks against other BLAS
+ implementations.
+
+Package: clblast-utils
+Section: math
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Utilities for CLBlast
+ CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS
+ library written in C++11. It is designed to leverage the full
+ performance potential of a wide variety of OpenCL devices from
+ different vendors, including desktop and laptop GPUs, embedded GPUs,
+ and other accelerators. CLBlast implements BLAS routines: basic
+ linear algebra subprograms operating on vectors and matrices.
+ .
+ This package provides utilities for tuning the implementation for
+ specific hardware.
+
+Package: libclblast1
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Tuned OpenCL BLAS library
+ CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS
+ library written in C++11. It is designed to leverage the full
+ performance potential of a wide variety of OpenCL devices from
+ different vendors, including desktop and laptop GPUs, embedded GPUs,
+ and other accelerators. CLBlast implements BLAS routines: basic
+ linear algebra subprograms operating on vectors and matrices.
+ .
+ This package provides the shared library.
+
+Package: libclblast-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libclblast1 (= ${binary:Version}),
+ ocl-icd-opencl-dev | opencl-dev
+Description: Tuned OpenCL BLAS library (development files)
+ CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS
+ library written in C++11. It is designed to leverage the full
+ performance potential of a wide variety of OpenCL devices from
+ different vendors, including desktop and laptop GPUs, embedded GPUs,
+ and other accelerators. CLBlast implements BLAS routines: basic
+ linear algebra subprograms operating on vectors and matrices.
+ .
+ This package provides the static library and headers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000..b3ddf656
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: CLBlast
+Source: https://cnugteren.github.io/clblast/clblast.html
+
+Files: *
+Copyright: 2015-2020 Cedric Nugteren and CLBlast contributors
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2020 Gard Spreemann <gspr@nonempty.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ The project is licensed under Apache Version 2.0.
+ .
+ On Debian systems, the full text of the license can be found in the file
+ "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/libclblast-dev.install b/debian/libclblast-dev.install
new file mode 100644
index 00000000..c97725e0
--- /dev/null
+++ b/debian/libclblast-dev.install
@@ -0,0 +1,5 @@
+usr/lib/${DEB_HOST_MULTIARCH}/libclblast.so
+usr/lib/${DEB_HOST_MULTIARCH}/libclblast.a
+usr/include
+usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig
+usr/lib/${DEB_HOST_MULTIARCH}/cmake
diff --git a/debian/libclblast1.install b/debian/libclblast1.install
new file mode 100644
index 00000000..d1b958c4
--- /dev/null
+++ b/debian/libclblast1.install
@@ -0,0 +1 @@
+usr/lib/${DEB_HOST_MULTIARCH}/libclblast.so.* \ No newline at end of file
diff --git a/debian/libclblast1.shlibs b/debian/libclblast1.shlibs
new file mode 100644
index 00000000..5a98f456
--- /dev/null
+++ b/debian/libclblast1.shlibs
@@ -0,0 +1 @@
+libclblast 1 libclblast1 (>= 1.5.1)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..5e19087e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+FLAGS:=-DCUBLAS=false -DCUDA=false -DNETLIB=false -DOPENCL=true
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure --builddirectory=build-static -- -DBUILD_SHARED_LIBS=false -DTUNERS=false -DTESTS=false $(FLAGS)
+ dh_auto_configure --builddirectory=build -- -DBUILD_SHARED_LIBS=true -DTUNERS=true -DTESTS=true $(FLAGS)
+
+override_dh_auto_build:
+ dh_auto_build --builddirectory=build-static
+ dh_auto_build --builddirectory=build
+
+override_dh_auto_clean:
+ dh_auto_clean --builddirectory=build-static
+ dh_auto_clean --builddirectory=build
+
+override_dh_auto_install:
+ dh_auto_install --builddirectory=build-static
+ dh_auto_install --builddirectory=build
+
+override_dh_missing:
+ dh_missing --list-missing
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 00000000..163aaf8d
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 00000000..9b2c20df
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%clblast-$1.tar.gz%" \
+ https://github.com/CNugteren/CLBlast/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz \ No newline at end of file