diff -Nru spirv-llvm-translator-13.0.0/debian/changelog spirv-llvm-translator-13.0.0/debian/changelog --- spirv-llvm-translator-13.0.0/debian/changelog 2022-02-16 22:28:24.000000000 +0000 +++ spirv-llvm-translator-13.0.0/debian/changelog 2022-05-15 23:58:34.000000000 +0000 @@ -1,3 +1,12 @@ +spirv-llvm-translator (13.0.0-4) unstable; urgency=medium + + * Rename /usr/bin/llvm-spirv to /usr/bin/llvm-spirv-13. + * Restrict watch file to 13.* releases. + * Enable all hardening flags. + * Bump Standards-Version to 4.6.1. + + -- Andreas Beckmann Mon, 16 May 2022 01:58:34 +0200 + spirv-llvm-translator (13.0.0-3) unstable; urgency=medium * Rename OpConstFunctionPointerINTEL to OpConstantFunctionPointerINTEL to @@ -37,6 +46,40 @@ -- Timo Aaltonen Wed, 29 Sep 2021 14:40:45 +0300 +spirv-llvm-translator-12 (12.0.0-4) unstable; urgency=medium + + * Restrict watch file to 12.* releases. + * Enable all hardening flags. + * Bump Standards-Version to 4.6.1. + + -- Andreas Beckmann Sun, 15 May 2022 23:58:08 +0200 + +spirv-llvm-translator-12 (12.0.0-3) unstable; urgency=medium + + [ Timo Aaltonen ] + * control: Bump debhelper to 13. + * control: Bump policy to 4.6.0. + * control: Drop lldb-12 from build-depends, it's not used and prevents + build on mips/mipsel. + + [ Andreas Beckmann ] + * rules: Parse llvm version from Build-Depends. + * control: Set Rules-Requires-Root: no. + * control, install: Multiarchify the packages. + * upstream/metadata: Add. + * copyright: Update/remove outdated file patterns. + * Fix typo. + * Update Lintian overrides. + * Add myself to Uploaders. + * Have one set of packages per llvm version: + - Fork source package as spirv-llvm-translator-12. + - Rename binary packages: + + libllvmspirvlib-dev => libllvmspirvlib-12-dev, + + llvm-spirv => llvm-spirv-12. + - Rename /usr/bin/llvm-spirv to /usr/bin/llvm-spirv-12. + + -- Andreas Beckmann Wed, 09 Feb 2022 20:05:39 +0100 + spirv-llvm-translator (12.0.0-2) unstable; urgency=medium * Upload to unstable. @@ -62,6 +105,35 @@ -- Timo Aaltonen Mon, 12 Apr 2021 20:24:01 +0300 +spirv-llvm-translator-11 (11.0.0-2) unstable; urgency=medium + + [ Timo Aaltonen ] + * control: Bump debhelper to 13. + * control: Bump policy to 4.6.0. + * control: Drop lldb-11 from build-depends, it's not used and prevents + build on mips/mipsel. + + [ Andreas Beckmann ] + * rules: Parse llvm version from Build-Depends. + * control: Set Rules-Requires-Root: no. + * control, install: Multiarchify the packages. + * upstream/metadata: Add. + * copyright: Update/remove outdated file patterns. + * Fix typo. + * Update Lintian overrides. + * Add myself to Uploaders. + * Have one set of packages per llvm version: + - Fork source package as spirv-llvm-translator-11. + - Rename binary packages: + + libllvmspirvlib-dev => libllvmspirvlib-11-dev, + + llvm-spirv => llvm-spirv-11. + - Rename /usr/bin/llvm-spirv to /usr/bin/llvm-spirv-11. + * Allow overriding BASE_LLVM_VERSION. + * Restrict watch file to 11.* releases. + * Enable all hardening flags. + + -- Andreas Beckmann Mon, 11 Apr 2022 10:32:52 +0200 + spirv-llvm-translator (11.0.0-1) unstable; urgency=medium * New upstream release. diff -Nru spirv-llvm-translator-13.0.0/debian/control spirv-llvm-translator-13.0.0/debian/control --- spirv-llvm-translator-13.0.0/debian/control 2022-02-16 22:28:24.000000000 +0000 +++ spirv-llvm-translator-13.0.0/debian/control 2022-05-15 23:58:34.000000000 +0000 @@ -11,10 +11,10 @@ llvm-13-dev, spirv-headers (>= 1.5.5), Rules-Requires-Root: no -Standards-Version: 4.6.0 +Standards-Version: 4.6.1 Homepage: https://github.com/KhronosGroup/SPIRV-LLVM-Translator Vcs-Browser: https://salsa.debian.org/opencl-team/spirv-llvm-translator -Vcs-Git: https://salsa.debian.org/opencl-team/spirv-llvm-translator.git +Vcs-Git: https://salsa.debian.org/opencl-team/spirv-llvm-translator.git -b llvm13/master Package: libllvmspirvlib13 Architecture: any @@ -56,9 +56,11 @@ libllvmspirvlib13 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Provides: + llvm-spirv-13, Description: bi-directional translator for LLVM/SPIRV SPIRV-LLVM-translator is a LLVM/SPIRV bi-directional translator. This package includes a library and a tool for translation between LLVM IR and SPIR-V. . - This package includes the llvm-spirv binary. + This package includes the llvm-spirv-13 binary. diff -Nru spirv-llvm-translator-13.0.0/debian/gbp.conf spirv-llvm-translator-13.0.0/debian/gbp.conf --- spirv-llvm-translator-13.0.0/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ spirv-llvm-translator-13.0.0/debian/gbp.conf 2022-05-15 23:58:34.000000000 +0000 @@ -0,0 +1,2 @@ +[DEFAULT] +debian-branch = llvm13/master diff -Nru spirv-llvm-translator-13.0.0/debian/llvm-spirv.install spirv-llvm-translator-13.0.0/debian/llvm-spirv.install --- spirv-llvm-translator-13.0.0/debian/llvm-spirv.install 2022-02-16 22:28:24.000000000 +0000 +++ spirv-llvm-translator-13.0.0/debian/llvm-spirv.install 2022-05-15 23:58:34.000000000 +0000 @@ -1 +1 @@ -build/tools/llvm-spirv/llvm-spirv usr/bin +build/tools/llvm-spirv/llvm-spirv-* usr/bin diff -Nru spirv-llvm-translator-13.0.0/debian/rules spirv-llvm-translator-13.0.0/debian/rules --- spirv-llvm-translator-13.0.0/debian/rules 2022-02-16 22:28:24.000000000 +0000 +++ spirv-llvm-translator-13.0.0/debian/rules 2022-05-15 23:58:34.000000000 +0000 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + include /usr/share/dpkg/pkg-info.mk LLVM_VERSION = $(shell sed -n -r '/^Build/,/^$$/s/.*llvm-([0-9]+)-dev.*/\1/p' debian/control) @@ -11,13 +13,9 @@ dh_auto_configure -- \ -DCMAKE_SKIP_RPATH=ON \ -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include \ - -DBUILD_SHARED_LIBS=ON + -DBUILD_SHARED_LIBS=ON \ + -Wno-dev execute_after_dh_auto_build: $(MAKE) -C build llvm-spirv - - -gentarball: - tar --transform 's,^,$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM)/,' \ - --exclude 'debian' --exclude-vcs \ - -cJf ../$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz . + mv build/tools/llvm-spirv/llvm-spirv build/tools/llvm-spirv/llvm-spirv-$(LLVM_VERSION) diff -Nru spirv-llvm-translator-13.0.0/debian/watch spirv-llvm-translator-13.0.0/debian/watch --- spirv-llvm-translator-13.0.0/debian/watch 2022-02-16 22:28:24.000000000 +0000 +++ spirv-llvm-translator-13.0.0/debian/watch 2022-05-15 23:58:34.000000000 +0000 @@ -2,4 +2,4 @@ opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%spirv-llvm-translator-$1.tar.gz%" \ https://github.com/KhronosGroup/SPIRV-LLVM-Translator/tags \ - (?:.*?/)?v?(\d[\d.]*)\.tar\.gz + (?:.*?/)?v?(13\.[\d.]*)\.tar\.gz