[khronos-opencl-headers] 41/94: compile the deprecated APIs, too

Andreas Beckmann anbe at moszumanska.debian.org
Mon Sep 21 02:39:04 UTC 2015


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

anbe pushed a commit to branch master
in repository khronos-opencl-headers.

commit 21c455a00735f896efbdfa4775199017f078feff
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Fri Dec 7 09:20:26 2012 +0000

    compile the deprecated APIs, too
    
    git-svn-id: svn://svn.debian.org/svn/pkg-nvidia/packages/khronos-opencl-headers/trunk@3532 b6a4b1ba-b714-0410-8a2d-fc0b36c6496e
---
 debian/control    |  4 +++-
 debian/t/Makefile | 16 +++++++++++++---
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index bbe0305..9d1b21b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,9 @@ Uploaders:
  Andreas Beckmann <debian at abeckmann.de>,
  Russ Allbery <rra at debian.org>,
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 8)
+Build-Depends:
+ debhelper (>= 8),
+ libgl1-mesa-dev,
 Standards-Version: 3.9.3
 Homepage: http://www.khronos.org/registry/cl/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-nvidia/packages/khronos-opencl-headers/trunk
diff --git a/debian/t/Makefile b/debian/t/Makefile
index 21eeb2c..086c13b 100644
--- a/debian/t/Makefile
+++ b/debian/t/Makefile
@@ -1,9 +1,19 @@
-CFLAGS	+= -I.
-CXFLAGS	+= -I.
+CFLAGS		+= -I. $(OPENCLFLAGS)
+CXXFLAGS	+= -I. $(OPENCLFLAGS)
 
-compiletest:
+check:
+	$(MAKE) compile_opencl_h
+	$(MAKE) compile_opencl_h OPENCLFLAGS=-DCL_USE_DEPRECATED_OPENCL_1_1_APIS
+	$(MAKE) compile_opencl_h OPENCLFLAGS=-DCL_USE_DEPRECATED_OPENCL_1_0_APIS
+	-$(MAKE) compile_cl_hpp
+	-$(MAKE) compile_cl_hpp OPENCLFLAGS=-DCL_USE_DEPRECATED_OPENCL_1_1_APIS
+	-$(MAKE) compile_cl_hpp OPENCLFLAGS=-DCL_USE_DEPRECATED_OPENCL_1_0_APIS
+
+compile_opencl_h:
 	$(CC) $(CFLAGS) -c opencl_h.c
 	$(CXX) $(CXXFLAGS) -c opencl_h.cpp
+
+compile_cl_hpp:
 	$(CXX) $(CXXFLAGS) -c cl_hpp.cpp
 
 clean:

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



More information about the Pkg-opencl-commits mailing list