[Pkg-opencl-devel] [oclgrind] 01/01: Initial import of Debian package.

James Price jprice-guest at moszumanska.debian.org
Tue Aug 11 12:52:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

jprice-guest pushed a commit to branch master
in repository oclgrind.

commit 2c6064eafa4324ecb1983912926c92a115d70eb5
Author: James Price <j.price at bristol.ac.uk>
Date:   Tue Aug 11 13:47:42 2015 +0100

    Initial import of Debian package.
---
 debian/changelog                              |  5 ++
 debian/compat                                 |  1 +
 debian/control                                | 63 +++++++++++++++++++++
 debian/copyright                              | 36 ++++++++++++
 debian/docs                                   |  2 +
 debian/liboclgrind-15.5.install               |  2 +
 debian/liboclgrind-dev.install                |  1 +
 debian/liboclgrind-dev.links                  |  1 +
 debian/oclgrind-kernel.1                      | 80 +++++++++++++++++++++++++++
 debian/oclgrind.1                             | 79 ++++++++++++++++++++++++++
 debian/oclgrind.install                       |  3 +
 debian/oclgrind.manpages                      |  2 +
 debian/patches/do-not-install-license.patch   | 25 +++++++++
 debian/patches/fix-llvm37.patch               | 75 +++++++++++++++++++++++++
 debian/patches/library-versions.patch         | 13 +++++
 debian/patches/pch-location.patch             | 42 ++++++++++++++
 debian/patches/private-library-location.patch | 14 +++++
 debian/patches/series                         |  6 ++
 debian/patches/typos.patch                    | 25 +++++++++
 debian/rules                                  | 17 ++++++
 debian/source/format                          |  1 +
 debian/watch                                  | 18 ++++++
 22 files changed, 511 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cc799a6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+oclgrind (15.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #794787)
+
+ -- James Price <j.price at bristol.ac.uk>  Thu, 06 Aug 2015 15:24:45 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7d2811e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,63 @@
+Source: oclgrind
+Section: devel
+Priority: optional
+Maintainer: Debian OpenCL Maintainers <pkg-opencl-devel at lists.alioth.debian.org>
+Uploaders:
+ James Price <j.price at bristol.ac.uk>,
+Build-Depends:
+ debhelper (>= 9),
+ cmake (>=2.8.12),
+ llvm-3.7-dev,
+ libclang-3.7-dev,
+ clang-3.7,
+ libedit-dev,
+ zlib1g-dev,
+ libreadline-dev,
+Standards-Version: 3.9.6
+Homepage: https://github.com/jrprice/Oclgrind
+Vcs-Git: git://anonscm.debian.org/pkg-opencl/oclgrind.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-opencl/oclgrind.git
+
+Package: liboclgrind-15.5
+Architecture: any
+Section: devel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: core library for Oclgrind
+ Oclgrind is an extensible OpenCL device simulator that provides a
+ plugin interface to facilitate the creation of tools to aid analysis
+ and development of OpenCL programs. Among the tools that Oclgrind
+ provides are various debugging aids, such as out-of-bounds memory
+ access checking, data-race detection, and an interactive debugger.
+ .
+ This package provides the core library for Oclgrind, implementing the
+ simulator, plugin interface, and providing several built-in plugins.
+
+Package: liboclgrind-dev
+Architecture: any
+Section: libdevel
+Depends: ${misc:Depends}, liboclgrind-15.5 (= ${binary:Version})
+Description: development files for Oclgrind
+ Oclgrind is an extensible OpenCL device simulator that provides a
+ plugin interface to facilitate the creation of tools to aid analysis
+ and development of OpenCL programs. Among the tools that Oclgrind
+ provides are various debugging aids, such as out-of-bounds memory
+ access checking, data-race detection, and an interactive debugger.
+ .
+ This package provides the development headers and libraries used for
+ creating new Oclgrind plugins.
+
+Package: oclgrind
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, liboclgrind-15.5
+Description: OpenCL device simulator
+ Oclgrind is an extensible OpenCL device simulator that provides a
+ plugin interface to facilitate the creation of tools to aid analysis
+ and development of OpenCL programs. Among the tools that Oclgrind
+ provides are various debugging aids, such as out-of-bounds memory
+ access checking, data-race detection, and an interactive debugger.
+ .
+ Oclgrind implements the OpenCL 1.2 runtime API, which makes
+ simulating an existing OpenCL program very straightforward - simply
+ prefix your usual application command-line with 'oclgrind'. There is
+ also a simple interface for simulating individual kernels in
+ isolation via the 'oclgrind-kernel' command.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d301ec9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: oclgrind
+Source: https://github.com/jrprice/Oclgrind
+
+Files: *
+Copyright: 2013-2015 James Price <j.price at bristol.ac.uk>>
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2015 James Price <j.price at bristol.ac.uk>
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the University nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
+ A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE HOLDERS OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..50bd824
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/liboclgrind-15.5.install b/debian/liboclgrind-15.5.install
new file mode 100644
index 0000000..6492746
--- /dev/null
+++ b/debian/liboclgrind-15.5.install
@@ -0,0 +1,2 @@
+usr/lib/liboclgrind-15.5.so
+usr/share/oclgrind/15.5/*
diff --git a/debian/liboclgrind-dev.install b/debian/liboclgrind-dev.install
new file mode 100644
index 0000000..7b61191
--- /dev/null
+++ b/debian/liboclgrind-dev.install
@@ -0,0 +1 @@
+usr/include/oclgrind/*
diff --git a/debian/liboclgrind-dev.links b/debian/liboclgrind-dev.links
new file mode 100644
index 0000000..378042f
--- /dev/null
+++ b/debian/liboclgrind-dev.links
@@ -0,0 +1 @@
+usr/lib/liboclgrind-15.5.so usr/lib/liboclgrind.so
diff --git a/debian/oclgrind-kernel.1 b/debian/oclgrind-kernel.1
new file mode 100644
index 0000000..6f7dbfb
--- /dev/null
+++ b/debian/oclgrind-kernel.1
@@ -0,0 +1,80 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.1.
+.TH OCLGRIND-KERNEL "1" "August 2015" "oclgrind-kernel " "User Commands"
+.SH NAME
+oclgrind-kernel \- standalone kernel interface for Oclgrind
+.SH SYNOPSIS
+.B oclgrind-kernel
+[\fI\,OPTIONS\/\fR] \fI\,simfile\/\fR
+.SH DESCRIPTION
+.IP
+oclgrind\-kernel [\-\-help | \fB\-\-version]\fR
+.SH OPTIONS
+.TP
+\fB\-\-build\-options\fR
+OPTIONS  Additional options to pass to the OpenCL compiler
+.TP
+\fB\-\-data\-races\fR
+Enable data\-race detection
+.TP
+\fB\-\-disable\-pch\fR
+Don't use precompiled headers
+.TP
+\fB\-\-dump\-spir\fR
+Dump SPIR to /tmp/oclgrind_*.{ll,bc}
+.TP
+\fB\-g\fR \fB\-\-global\-mem\fR
+Output global memory at exit
+.TP
+\fB\-h\fR \fB\-\-help\fR
+Display usage information
+.TP
+\fB\-\-inst\-counts\fR
+Output histograms of instructions executed
+.TP
+\fB\-i\fR \fB\-\-interactive\fR
+Enable interactive mode
+.TP
+\fB\-\-log\fR
+LOGFILE  Redirect log/error messages to a file
+.TP
+\fB\-\-max\-errors\fR
+NUM      Limit the number of error/warning messages
+.TP
+\fB\-\-num\-threads\fR
+NUM      Set the number of worker threads to use
+.TP
+\fB\-\-pch\-dir\fR
+DIR      Override directory containing precompiled headers
+.TP
+\fB\-\-plugins\fR
+PLUGINS  Load colon separated list of plugin libraries
+.TP
+\fB\-q\fR \fB\-\-quick\fR
+Only run first and last work\-group
+.TP
+\fB\-\-uniform\-writes\fR
+Don't suppress uniform write\-write data\-races
+.TP
+\fB\-v\fR \fB\-\-version\fR
+Display version information
+.PP
+For more information, please visit the Oclgrind wiki page:
+\-> https://github.com/jrprice/Oclgrind/wiki
+.PP
+Oclgrind 15.5
+.SH COPYRIGHT
+Copyright \(co 2013\-2015
+James Price and Simon McIntosh\-Smith, University of Bristol
+https://github.com/jrprice/Oclgrind
+.SH "SEE ALSO"
+The full documentation for
+.B oclgrind-kernel
+is maintained as a Texinfo manual.  If the
+.B info
+and
+.B oclgrind-kernel
+programs are properly installed at your site, the command
+.IP
+.B info oclgrind-kernel
+.PP
+should give you access to the complete manual.
diff --git a/debian/oclgrind.1 b/debian/oclgrind.1
new file mode 100644
index 0000000..517c10a
--- /dev/null
+++ b/debian/oclgrind.1
@@ -0,0 +1,79 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.1.
+.TH OCLGRIND "1" "August 2015" "oclgrind " "User Commands"
+.SH NAME
+oclgrind \- runtime API interface for Oclgrind
+.SH DESCRIPTION
+.SS "Usage:"
+.IP
+oclgrind [OPTIONS] COMMAND
+oclgrind [\-\-help | \fB\-\-version]\fR
+.SH OPTIONS
+.TP
+\fB\-\-build\-options\fR
+OPTIONS  Additional options to pass to the OpenCL compiler
+.TP
+\fB\-\-check\-api\fR
+Reports errors on API calls
+.TP
+\fB\-\-data\-races\fR
+Enable data\-race detection
+.TP
+\fB\-\-disable\-pch\fR
+Don't use precompiled headers
+.TP
+\fB\-\-dump\-spir\fR
+Dump SPIR to /tmp/oclgrind_*.{ll,bc}
+.TP
+\fB\-h\fR \fB\-\-help\fR
+Display usage information
+.TP
+\fB\-\-inst\-counts\fR
+Output histograms of instructions executed
+.TP
+\fB\-i\fR \fB\-\-interactive\fR
+Enable interactive mode
+.TP
+\fB\-\-log\fR
+LOGFILE  Redirect log/error messages to a file
+.TP
+\fB\-\-max\-errors\fR
+NUM      Limit the number of error/warning messages
+.TP
+\fB\-\-num\-threads\fR
+NUM      Set the number of worker threads to use
+.TP
+\fB\-\-pch\-dir\fR
+DIR      Override directory containing precompiled headers
+.TP
+\fB\-\-plugins\fR
+PLUGINS  Load colon separated list of plugin libraries
+.TP
+\fB\-q\fR \fB\-\-quick\fR
+Only run first and last work\-group
+.TP
+\fB\-\-uniform\-writes\fR
+Don't suppress uniform write\-write data\-races
+.TP
+\fB\-v\fR \fB\-\-version\fR
+Display version information
+.PP
+For more information, please visit the Oclgrind wiki page:
+\-> https://github.com/jrprice/Oclgrind/wiki
+.PP
+Oclgrind 15.5
+.SH COPYRIGHT
+Copyright \(co 2013\-2015
+James Price and Simon McIntosh\-Smith, University of Bristol
+https://github.com/jrprice/Oclgrind
+.SH "SEE ALSO"
+The full documentation for
+.B oclgrind
+is maintained as a Texinfo manual.  If the
+.B info
+and
+.B oclgrind
+programs are properly installed at your site, the command
+.IP
+.B info oclgrind
+.PP
+should give you access to the complete manual.
diff --git a/debian/oclgrind.install b/debian/oclgrind.install
new file mode 100644
index 0000000..e9a9f8e
--- /dev/null
+++ b/debian/oclgrind.install
@@ -0,0 +1,3 @@
+usr/bin/oclgrind
+usr/bin/oclgrind-kernel
+usr/lib/liboclgrind-rt.so usr/lib/oclgrind/
diff --git a/debian/oclgrind.manpages b/debian/oclgrind.manpages
new file mode 100644
index 0000000..54b898c
--- /dev/null
+++ b/debian/oclgrind.manpages
@@ -0,0 +1,2 @@
+debian/oclgrind.1
+debian/oclgrind-kernel.1
diff --git a/debian/patches/do-not-install-license.patch b/debian/patches/do-not-install-license.patch
new file mode 100644
index 0000000..cacc24d
--- /dev/null
+++ b/debian/patches/do-not-install-license.patch
@@ -0,0 +1,25 @@
+Description: Do not install LICENSE in include directory
+Author: James Price <j.price at bristol.ac.uk>
+Last-Update: 2015-08-06
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -244,7 +244,7 @@
+   oclgrind oclgrind-rt oclgrind-rt-icd
+   DESTINATION lib)
+ install(FILES
+-  ${CORE_HEADERS} ${CMAKE_BINARY_DIR}/config.h ${CLC_HEADERS} LICENSE
++  ${CORE_HEADERS} ${CMAKE_BINARY_DIR}/config.h ${CLC_HEADERS}
+   DESTINATION include/oclgrind)
+ if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
+   install(FILES
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -45,7 +45,7 @@
+ oclgrind_include_HEADERS = src/core/common.h src/core/Context.h	\
+  src/core/half.h src/core/Kernel.h src/core/KernelInvocation.h	\
+  src/core/Memory.h src/core/Plugin.h src/core/Program.h		\
+- src/core/Queue.h src/core/WorkItem.h src/core/WorkGroup.h config.h LICENSE
++ src/core/Queue.h src/core/WorkItem.h src/core/WorkGroup.h config.h
+ src/core/clc_h.cpp: src/core/gen_clc_h.sh	src/core/clc.h
+ 	$(top_srcdir)/src/core/gen_clc_h.sh $(top_srcdir)/src/core/clc.h $@
+ 
diff --git a/debian/patches/fix-llvm37.patch b/debian/patches/fix-llvm37.patch
new file mode 100644
index 0000000..de3848b
--- /dev/null
+++ b/debian/patches/fix-llvm37.patch
@@ -0,0 +1,75 @@
+Author: James Price <j.price at bristol.ac.uk>
+Description: Fixed build for LLVM 3.7
+Origin: upstream commit:f6231ef and upstream commit:1b2452c
+Last-Update: 2015-08-06
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -20,7 +20,7 @@
+ lib_LTLIBRARIES = liboclgrind.la liboclgrind-rt.la liboclgrind-rt-icd.la
+ 
+ LLVM_LIBS = `$(llvm_config) --system-libs --libs bitreader bitwriter	\
+- core instrumentation ipo irreader linker mcparser objcarcopts option`
++ core instrumentation ipo irreader linker mcparser objcarcopts option target`
+ 
+ liboclgrind_la_SOURCES = src/core/common.h src/core/common.cpp		\
+  src/core/Context.h src/core/Context.cpp src/core/half.h		\
+--- a/src/core/Program.cpp
++++ b/src/core/Program.cpp
+@@ -448,14 +448,22 @@
+   }
+ 
+   // Parse bitcode into IR module
++#if LLVM_VERSION < 37
+   llvm::ErrorOr<llvm::Module*> module =
++#else
++  llvm::ErrorOr<unique_ptr<llvm::Module>> module =
++#endif
+     parseBitcodeFile(buffer->getMemBufferRef(), llvm::getGlobalContext());
+   if (!module)
+   {
+     return NULL;
+   }
+ 
++#if LLVM_VERSION < 37
+   return new Program(context, module.get());
++#else
++  return new Program(context, module.get().get());
++#endif
+ }
+ 
+ Program* Program::createFromBitcodeFile(const Context *context,
+@@ -470,7 +478,11 @@
+   }
+ 
+   // Parse bitcode into IR module
++#if LLVM_VERSION < 37
+   llvm::ErrorOr<llvm::Module*> module =
++#else
++  llvm::ErrorOr<unique_ptr<llvm::Module>> module =
++#endif
+     parseBitcodeFile(buffer->get()->getMemBufferRef(),
+                      llvm::getGlobalContext());
+   if (!module)
+@@ -478,7 +490,11 @@
+     return NULL;
+   }
+ 
++#if LLVM_VERSION < 37
+   return new Program(context, module.get());
++#else
++  return new Program(context, module.get().get());
++#endif
+ }
+ 
+ Program* Program::createFromPrograms(const Context *context,
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -58,7 +58,7 @@
+ # Get LLVM libraries for linking
+ llvm_map_components_to_libnames(LLVM_LIBS
+   bitreader bitwriter core instrumentation ipo irreader
+-  linker mcparser objcarcopts option)
++  linker mcparser objcarcopts option target)
+ 
+ 
+ # Check for GNU readline library
diff --git a/debian/patches/library-versions.patch b/debian/patches/library-versions.patch
new file mode 100644
index 0000000..5c28fda
--- /dev/null
+++ b/debian/patches/library-versions.patch
@@ -0,0 +1,13 @@
+Description: Include version in library name
+Author: James Price <j.price at bristol.ac.uk>
+Last-Update: 2015-08-07
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -143,6 +143,7 @@
+   clangAnalysis clangAST clangBasic clangCodeGen clangDriver clangEdit
+   clangFrontend clangLex clangParse clangSema clangSerialization
+   ${LLVM_LIBS})
++set_target_properties(oclgrind PROPERTIES OUTPUT_NAME oclgrind-15.5)
+ 
+ # Sources for OpenCL runtime API frontend
+ set(RUNTIME_SOURCES
diff --git a/debian/patches/pch-location.patch b/debian/patches/pch-location.patch
new file mode 100644
index 0000000..39f90d0
--- /dev/null
+++ b/debian/patches/pch-location.patch
@@ -0,0 +1,42 @@
+Description: Move PCH files to /usr/share/oclgrind/<VERSION>/
+ This allows multiple version of liboclgrind to co-exist.
+Author: James Price <j.price at bristol.ac.uk>
+Last-Update: 2015-08-07
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -10,6 +10,7 @@
+ project(Oclgrind)
+ set(Oclgrind_VERSION_MAJOR 15)
+ set(Oclgrind_VERSION_MINOR 5)
++set(Oclgrind_VERSION "${Oclgrind_VERSION_MAJOR}.${Oclgrind_VERSION_MINOR}")
+ 
+ include(CheckIncludeFiles)
+ include(CheckLibraryExists)
+@@ -245,8 +246,8 @@
+   oclgrind oclgrind-rt oclgrind-rt-icd
+   DESTINATION lib)
+ install(FILES
+-  ${CORE_HEADERS} ${CMAKE_BINARY_DIR}/config.h ${CLC_HEADERS}
+-  DESTINATION include/oclgrind)
++  ${CORE_HEADERS} ${CMAKE_BINARY_DIR}/config.h DESTINATION include/oclgrind)
++install(FILES ${CLC_HEADERS} DESTINATION share/oclgrind/${Oclgrind_VERSION})
+ if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
+   install(FILES
+     src/CL/cl.h
+--- a/src/core/Program.cpp
++++ b/src/core/Program.cpp
+@@ -235,11 +235,11 @@
+         if ((dirend = strrchr(libpath, '/')))
+ #endif
+         {
+-          const char *includes_relative = "/../include/oclgrind/";
++          const char *share_relative = "/../share/oclgrind/"PACKAGE_VERSION"/";
+           size_t length = dirend - libpath;
+-          pchdir = new char[length + strlen(includes_relative) + 1];
++          pchdir = new char[length + strlen(share_relative) + 1];
+           strncpy(pchdir, libpath, length);
+-          strcpy(pchdir + length, includes_relative);
++          strcpy(pchdir + length, share_relative);
+         }
+       }
+     }
diff --git a/debian/patches/private-library-location.patch b/debian/patches/private-library-location.patch
new file mode 100644
index 0000000..127a945
--- /dev/null
+++ b/debian/patches/private-library-location.patch
@@ -0,0 +1,14 @@
+Description: Update to reflect private lib location
+Author: James Price <j.price at bristol.ac.uk>
+Last-Update: 2015-08-07
+--- a/src/runtime/oclgrind
++++ b/src/runtime/oclgrind
+@@ -133,7 +133,7 @@
+ fi
+ 
+ # Inject liboclgrind.{so,dylib} and run command
+-LIBDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../lib"
++LIBDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../lib/oclgrind"
+ if [ "$(uname -s)" == "Darwin" ]
+ then
+   DYLD_LIBRARY_PATH=$LIBDIR:$DYLD_LIBRARY_PATH \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6dda7d8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,6 @@
+typos.patch
+private-library-location.patch
+do-not-install-license.patch
+fix-llvm37.patch
+library-versions.patch
+pch-location.patch
diff --git a/debian/patches/typos.patch b/debian/patches/typos.patch
new file mode 100644
index 0000000..c583fa8
--- /dev/null
+++ b/debian/patches/typos.patch
@@ -0,0 +1,25 @@
+Description: Fixed seperated->separated typo in help messages
+Author: James Price <j.price at bristol.ac.uk>
+Last-Update: 2015-08-11
+--- a/src/kernel/oclgrind-kernel.cpp
++++ b/src/kernel/oclgrind-kernel.cpp
+@@ -210,7 +210,7 @@
+     << "     --pch-dir        DIR      "
+              "Override directory containing precompiled headers" << endl
+     << "     --plugins        PLUGINS  "
+-             "Load colon seperated list of plugin libraries" << endl
++             "Load colon separated list of plugin libraries" << endl
+     << "  -q --quick                   "
+              "Only run first and last work-group" << endl
+     << "     --uniform-writes          "
+--- a/src/runtime/oclgrind
++++ b/src/runtime/oclgrind
+@@ -39,7 +39,7 @@
+   echo -n "     --pch-dir        DIR      "
+   echo          "Override directory containing precompiled headers"
+   echo -n "     --plugins        PLUGINS  "
+-  echo          "Load colon seperated list of plugin libraries"
++  echo          "Load colon separated list of plugin libraries"
+   echo -n "  -q --quick                   "
+   echo          "Only run first and last work-group"
+   echo -n "     --uniform-writes          "
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a0ed6fe
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+%:
+	dh $@ --buildsystem=cmake --parallel
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DLLVM_DIR=/usr/share/llvm-3.7/cmake
+
+override_dh_auto_clean:
+	dh_auto_clean
+	find tests/ -name "*.out" -delete
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /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 0000000..37d9f4f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,18 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+https://github.com/jrprice/Oclgrind/releases /jrprice/Oclgrind/releases/download/v.*/Oclgrind-(.*)-Source\.tgz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/oclgrind-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/oclgrind-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/oclgrind/oclgrind-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html oclgrind-(.*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/oclgrind.git



More information about the Pkg-opencl-devel mailing list