debian/0000700000000000000000000000000012263660062007157 5ustar debian/changelog0000600000000000000000000000162112263657570011045 0ustar libclc (0~git20140101-1) unstable; urgency=medium [ Julian Wollrath ] * New upstream snapshot. * Use LLVM 3.4 and correct dependencies. * Enable verbose build. * Bump standards version to 3.9.5 (no changes needed). * Update years in debian/copyright. [ Michael Gilbert ] * Eliminate duplicated files. -- Michael Gilbert Fri, 10 Jan 2014 02:46:15 +0000 libclc (0~git20130819-2) unstable; urgency=low * Add libclc-dev dependency to libclc-r600 and libclc-ptx. -- Michael Gilbert Sun, 15 Sep 2013 15:37:50 +0000 libclc (0~git20130819-1) unstable; urgency=low [ Julian Wollrath ] * Initial release (closes: #719909). [ Michael Gilbert ] * Add debian/watch. * Simplify debian/rules. * Improve debian/control. * Set maintainer to the Debian OpenCL team. -- Michael Gilbert Mon, 02 Sep 2013 17:56:00 +0000 debian/compat0000600000000000000000000000000212263015566010362 0ustar 9 debian/rules0000711000000000000000000000150712263657331010251 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 export VERBOSE=1 confflags=--prefix=/usr \ --with-llvm-config=/usr/bin/llvm-config-3.4 \ path=debian/tmp/usr/lib/clc %: dh $@ --parallel override_dh_auto_configure: ./configure.py $(confflags) override_dh_install: test $(shell sha512sum $(path)/cypress-r600--.bc) != $(shell sha512sum $(path)/cayman-r600--.bc) || \ rm -f $(path)/cypress-r600--.bc && \ ln -s cayman-r600--.bc $(path)/cypress-r600--.bc test $(shell sha512sum $(path)/cedar-r600--.bc) != $(shell sha512sum $(path)/barts-r600--.bc) || \ rm -f $(path)/cedar-r600--.bc && \ ln -s barts-r600--.bc $(path)/cedar-r600--.bc dh_install override_dh_clean: test ! -e Makefile || make clean find -name '*.pyc' -execdir rm -f {} \; find -name '*.d' -execdir rm -f {} \; dh_clean -- Makefile libclc.pc debian/source/0000700000000000000000000000000012263015566010462 5ustar debian/source/format0000600000000000000000000000001412263015566011672 0ustar 3.0 (quilt) debian/copyright0000600000000000000000000000555412263657676011146 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: libclc Source: http://libclc.llvm.org Files: * Copyright: 2011-2014 Peter Collingbourne License: BSD or MIT Files: debian/* Copyright: 2013-2014 Michael Gilbert 2013-2014 Julian Wollrath License: BSD or MIT License: BSD All rights reserved. . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. . * The names of the contributors may not be used to endorse or promote products derived from this Software without specific prior written permission. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/control0000600000000000000000000000256112263015703010564 0ustar Source: libclc Section: libs Priority: extra Maintainer: Debian OpenCL team Uploaders: Michael Gilbert , Julian Wollrath , Build-Depends: debhelper (>= 9), llvm-3.4-dev, clang-3.4, python, Standards-Version: 3.9.5 Homepage: http://libclc.llvm.org Package: libclc-ptx Architecture: all Depends: ${misc:Depends}, libclc-dev (= ${binary:Version}), libclang-common-3.4-dev, Description: OpenCL C language implementation - ptx support libclc is an open implementation of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification. . This package contains support for the PTX platform. Package: libclc-r600 Architecture: all Depends: ${misc:Depends}, libclc-dev (= ${binary:Version}), libclang-common-3.4-dev, Description: OpenCL C language implementation - r600 support libclc is an open implementation of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification. . This package contains support for the r600 (AMD GPU) platform. Package: libclc-dev Section: libdevel Architecture: all Depends: ${misc:Depends}, Description: OpenCL C language implementation - development files libclc is an open implementation of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification. . This package contains development header files. debian/patches/0000700000000000000000000000000012263660057010612 5ustar debian/patches/0001-Set-appropriate-path-to-clang.patch0000600000000000000000000000136412263660057017732 0ustar Description: Set appropriate path to clang Author: Julian Wollrath Date: Tue, 7 Jan 2014 16:32:47 +0100 --- a/configure.py +++ b/configure.py @@ -73,13 +73,13 @@ llvm_core_libs = llvm_config(['--libs', 'core', 'bitreader', 'bitwriter']) + ' ' llvm_config(['--ldflags']) llvm_cxxflags = llvm_config(['--cxxflags']) + ' -fno-exceptions -fno-rtti' -llvm_clang = os.path.join(llvm_bindir, 'clang') +llvm_clang = 'clang' llvm_link = os.path.join(llvm_bindir, 'llvm-link') llvm_opt = os.path.join(llvm_bindir, 'opt') cxx_compiler = options.with_cxx_compiler if not cxx_compiler: - cxx_compiler = os.path.join(llvm_bindir, 'clang++') + cxx_compiler = 'clang++' available_targets = { 'r600--' : { 'devices' : debian/patches/series0000600000000000000000000000005112263017107012015 0ustar 0001-Set-appropriate-path-to-clang.patch debian/watch0000600000000000000000000000014412263015566010214 0ustar # upstream uses git, but has made no tags, so there is currently no way to # watch upstream changes debian/libclc-ptx.install0000600000000000000000000000002512263015566012612 0ustar usr/lib/clc/*ptx*.bc debian/libclc-r600.install0000600000000000000000000000002612263015566012467 0ustar usr/lib/clc/*r600*.bc debian/libclc-dev.install0000600000000000000000000000004012263016064012544 0ustar usr/include usr/share/pkgconfig