From 9f7eb0d1a770b35437a2429df71e07745b85b48d Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Tue, 17 Jan 2023 11:23:31 +0000 Subject: [PATCH] Import highway_1.0.2-4+rpi1.debian.tar.xz [dgit import tarball highway 1.0.2-4+rpi1 highway_1.0.2-4+rpi1.debian.tar.xz] --- changelog | 247 ++++++++++++++++++++++++++++++++++ compat | 1 + control | 51 +++++++ copyright | 26 ++++ highway-doc.doc-base | 9 ++ highway-doc.docs | 1 + libhwy-dev.install | 3 + libhwy1.install | 1 + libhwy1.symbols | 100 ++++++++++++++ patches/hwy_test_atomic.patch | 46 +++++++ patches/series | 1 + rules | 73 ++++++++++ source/format | 1 + source/include-binaries | 2 + watch | 3 + 15 files changed, 565 insertions(+) create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 highway-doc.doc-base create mode 100644 highway-doc.docs create mode 100644 libhwy-dev.install create mode 100644 libhwy1.install create mode 100644 libhwy1.symbols create mode 100644 patches/hwy_test_atomic.patch create mode 100644 patches/series create mode 100755 rules create mode 100644 source/format create mode 100644 source/include-binaries create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..64caae0 --- /dev/null +++ b/changelog @@ -0,0 +1,247 @@ +highway (1.0.2-4+rpi1) bookworm-staging; urgency=medium + + * disable armv7 mode, despite claim in debian/rules that + "highway implement dynamic dispatch" this appears to cause all code to be + built with -march=armv7-a. + + -- Peter Michael Green Tue, 17 Jan 2023 11:23:31 +0000 + +highway (1.0.2-4) unstable; urgency=medium + + * d/patches: Add missing atomic library to test + + -- Mathieu Malaterre Thu, 03 Nov 2022 11:29:42 +0100 + +highway (1.0.2-3) unstable; urgency=medium + + * d/patches: Fix cmake issue with usage of PRIVATE keyword + + -- Mathieu Malaterre Thu, 03 Nov 2022 10:34:54 +0100 + +highway (1.0.2-2) unstable; urgency=medium + + * d/patches: Fix build with atomic lib + + -- Mathieu Malaterre Thu, 03 Nov 2022 09:38:31 +0100 + +highway (1.0.2-1) unstable; urgency=medium + + * New upstream version 1.0.2 + * d/patches: Remove patches applied upstream + * d/symbols: Add new symbols + + -- Mathieu Malaterre Wed, 02 Nov 2022 15:55:21 +0100 + +highway (1.0.1-3) unstable; urgency=medium + + * d/patches: Remove some warnings on clang/riscv-64 + * d/patches: Hack around current rdcycle mess + * d/patches: Remove warnings on arm/gcc-12 + * d/patches: Rename patch to refer upstream + * d/rules: Make sure to compile without warnings + + -- Mathieu Malaterre Fri, 02 Sep 2022 12:16:04 +0200 + +highway (1.0.1-2) unstable; urgency=medium + + * d/patches: cherry-pick patch upstream to fix compilation on riscv64 + * d/rules: Remove hack on riscv64 not needed anymore + * d/patches: Properly detect HWY_BROKEN_EMU128 / GCC 12.x + * d/rules: Comment out HWY_BROKEN_EMU128 hack now detection is working + + -- Mathieu Malaterre Wed, 31 Aug 2022 09:00:14 +0200 + +highway (1.0.1-1) unstable; urgency=medium + + * New upstream version 1.0.1 + * d/patches: Refresh patches for new upstream release + + -- Mathieu Malaterre Thu, 25 Aug 2022 09:37:14 +0200 + +highway (1.0.0-5) unstable; urgency=medium + + * d/patches: Do not always inline + * d/patches: fix floating-point generator for sort tests. + + -- Mathieu Malaterre Thu, 04 Aug 2022 08:39:49 +0200 + +highway (1.0.0-4) unstable; urgency=medium + + * d/rules: Make sure to skip RVV logic on riscv64 + * d/rules: Start building with neon extension on armhf + * d/patches: fix spurious use after free warning + * d/patches: fix preprocessor int overflow warning + * d/patches: link with atomic for GCC + + -- Mathieu Malaterre Tue, 02 Aug 2022 14:02:56 +0200 + +highway (1.0.0-3) unstable; urgency=medium + + * d/patches: Add atomic patch to fix compilation + * d/patches: Add riscv64 compilation fix for GCC + + -- Mathieu Malaterre Tue, 02 Aug 2022 10:38:12 +0200 + +highway (1.0.0-2) unstable; urgency=medium + + * d/symbols: Fix symbols file on 32bits arch + + -- Mathieu Malaterre Tue, 02 Aug 2022 07:44:42 +0200 + +highway (1.0.0-1) unstable; urgency=medium + + * d/watch: Fix typo in watch file + * d/copyright: Simplify copyright file + * New upstream version 1.0.0 + * d/rules: Build SCALAR instead of EMU128 + * d/patches: Remove patches applied upstream + * d/symbols: Update symbols file for new ABI + + -- Mathieu Malaterre Mon, 01 Aug 2022 10:50:07 +0200 + +highway (0.17.0-11) unstable; urgency=medium + + * d/patches: Fix blockwise_test on big-endian arches + + -- Mathieu Malaterre Wed, 20 Jul 2022 17:21:46 +0200 + +highway (0.17.0-10) unstable; urgency=medium + + * d/rules: Prefer DEB_BUILD_ARCH_CPU over DEB_BUILD_ARCH + * d/rules: Do not report warnings as errors anymore. Closes: #1012944 + * d/rules: Simplify handling of hurd+qemu + * d/patches: Revert baseline EMU128 back to SCALAR. Closes: #1015256 + + -- Mathieu Malaterre Mon, 18 Jul 2022 15:42:24 +0200 + +highway (0.17.0-9) unstable; urgency=medium + + * d/rules: Really fix armhf build + + -- Mathieu Malaterre Tue, 05 Jul 2022 14:18:09 +0200 + +highway (0.17.0-8) unstable; urgency=medium + + * d/rules: Make sure to cleanup generated files + * d/rules: Do not run test on -indep target + * d/rules: Make sure to return true on hurd-i386 + * d/rules: Work around an issue with gcc-11/O2 combination + * d/patches: Remove arm WIP for now + + -- Mathieu Malaterre Tue, 05 Jul 2022 11:18:15 +0200 + +highway (0.17.0-7) experimental; urgency=medium + + * d/rules: Make sure to skip most rules for indep + * d/rules: Shrink the main PDF file using gs + * d/patches: Fix dynamic dispatch on linux/armhf. Closes: #1014330 + + -- Mathieu Malaterre Mon, 04 Jul 2022 15:31:59 +0200 + +highway (0.17.0-6) experimental; urgency=low + + * d/rules: Make sure to install binaries + * d/rules: Attempt to get neon on armhf working + + -- Mathieu Malaterre Mon, 04 Jul 2022 12:13:12 +0200 + +highway (0.17.0-5) experimental; urgency=low + + * d/rules: Remove no-psabi warning on both armel and armhf + * d/rules: Re-add extension on i386 + * d/rules: Run the compiled example + + -- Mathieu Malaterre Mon, 04 Jul 2022 11:04:54 +0200 + +highway (0.17.0-4) unstable; urgency=medium + + * d/patches: Fix armhf compilation failure + + -- Mathieu Malaterre Tue, 28 Jun 2022 11:54:52 +0200 + +highway (0.17.0-3) unstable; urgency=medium + + * d/rules: Disable Emu128 on armhf for now, revert to Scalar + * d/patches: Fix unit test on big-endian arches + + -- Mathieu Malaterre Mon, 27 Jun 2022 16:46:06 +0200 + +highway (0.17.0-2) unstable; urgency=medium + + * d/patches: cherry-pick a fix for arm64/armhf + + -- Mathieu Malaterre Wed, 22 Jun 2022 08:47:55 +0200 + +highway (0.17.0-1) unstable; urgency=medium + + * New upstream version 0.17.0 + * d/patches: Fix symbols mangling issue + * d/symbols: Update symbols for new release + * d/control: Bump Std-Vers to 4.6.1 no changes needed + * d/rules: Remove some CPU extension on i386 + + -- Mathieu Malaterre Tue, 21 Jun 2022 17:13:46 +0200 + +highway (0.16.0-1) unstable; urgency=medium + + * d/rules: Make sure to check level 4 symbol file + * d/symbols: Add symbol for 32bits arch + * d/binaries: Specify path to PDF files + * d/copyright: Update to latest year + * d/compat: Bump compat to 11 + * d/control: Make sure to depends on runtime + * New upstream version 0.16.0 + * d/symbols: Add new symbols from 0.16.0 + + -- Mathieu Malaterre Mon, 21 Feb 2022 10:20:45 +0100 + +highway (0.15.1~git20220119.fbe5705-1) experimental; urgency=medium + + * New upstream version 0.15.1~git20220119.fbe5705 + * d/patches: Remove patches applied upstream + * d/libhwy0: Provide highway as shared libraries + * d/doc-base: Add missing doc-base registration file + + -- Mathieu Malaterre Thu, 20 Jan 2022 09:03:02 +0100 + +highway (0.15.0-5) unstable; urgency=medium + + * d/rules: Clarify that we only ship static libs for now + * d/control: Add missing Rules-Requires-Root: no + * d/patches: Remove compilation error on GNU/Hurd + * d/rules: Set HWY_CMAKE_ARM7 to OFF. Closes: #1003218 + * d/patches: Fix compilation error on riscv64 + + -- Mathieu Malaterre Tue, 11 Jan 2022 14:52:28 +0100 + +highway (0.15.0-4) unstable; urgency=medium + + * d/docs: Create new highway-doc package + * d/rules: Do not set HWY_CMAKE_ARM7:ON for arm64 + * d/rules: Prefer building using cmake+ninja + * d/rules: Properly setup HWY_CMAKE_ARM7 on armhf. Closes: #1003218 + + -- Mathieu Malaterre Thu, 06 Jan 2022 15:21:05 +0100 + +highway (0.15.0-3) unstable; urgency=medium + + * d/rules: Fix typo in cmake armhf/neon option + * d/rules: Make sure to use neon extension on arm64 + * d/control: libhwy-dev could be marked Multi-Arch: same + + -- Mathieu Malaterre Thu, 06 Jan 2022 13:59:37 +0100 + +highway (0.15.0-2) unstable; urgency=medium + + * Upload to unstable + * d/rules: Make sure to compile without warnings + * d/rules: Start using arm7 neon extension + * d/patches: Prefer default gcc c++ version + + -- Mathieu Malaterre Tue, 04 Jan 2022 15:45:40 +0100 + +highway (0.15.0-1) experimental; urgency=medium + + * Initial release (Closes: #1000984) + + -- Mathieu Malaterre Thu, 02 Dec 2021 21:42:02 +0100 diff --git a/compat b/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +11 diff --git a/control b/control new file mode 100644 index 0000000..05b2dc9 --- /dev/null +++ b/control @@ -0,0 +1,51 @@ +Source: highway +Section: libs +Priority: optional +Maintainer: Debian PhotoTools Maintainers +Uploaders: Mathieu Malaterre +Build-Depends: cmake (>= 3.13), debhelper (>= 11), libgtest-dev, ninja-build +Build-Depends-Indep: ghostscript +Standards-Version: 4.6.1 +Homepage: https://github.com/google/highway +Vcs-Git: https://salsa.debian.org/debian-phototools-team/highway.git +Vcs-Browser: https://salsa.debian.org/debian-phototools-team/highway +Rules-Requires-Root: no + +Package: libhwy1 +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Multi-Arch: same +Description: Efficient and performance-portable SIMD wrapper (runtime files) + This library provides type-safe and source-code portable wrappers over + existing platform-specific intrinsics. Its design aims for simplicity, + reliable efficiency across platforms, and immediate usability with current + compilers. + . + This package installs the runtime files. + +Package: libhwy-dev +Architecture: any +Section: libdevel +Pre-Depends: ${misc:Pre-Depends} +Depends: libhwy1 (= ${binary:Version}), ${misc:Depends} +Multi-Arch: same +Description: Efficient and performance-portable SIMD wrapper (developer files) + This library provides type-safe and source-code portable wrappers over + existing platform-specific intrinsics. Its design aims for simplicity, + reliable efficiency across platforms, and immediate usability with current + compilers. + . + This package installs the development files. + +Package: highway-doc +Architecture: all +Section: doc +Depends: doc-base, ${misc:Depends} +Description: Efficient and performance-portable SIMD wrapper (documentation files) + This library provides type-safe and source-code portable wrappers over + existing platform-specific intrinsics. Its design aims for simplicity, + reliable efficiency across platforms, and immediate usability with current + compilers. + . + This package installs the documentation files. diff --git a/copyright b/copyright new file mode 100644 index 0000000..22c2432 --- /dev/null +++ b/copyright @@ -0,0 +1,26 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: highway +Source: https://github.com/google/highway + +Files: * +Copyright: 2019-2022 Google LLC +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache License, Version 2 + can be found in "/usr/share/common-licenses/Apache-2.0". + +Files: debian/* +Copyright: 2021-2022 Mathieu Malaterre +License: Apache-2.0 + Same as above diff --git a/highway-doc.doc-base b/highway-doc.doc-base new file mode 100644 index 0000000..6f524a8 --- /dev/null +++ b/highway-doc.doc-base @@ -0,0 +1,9 @@ +Document: highway-doc +Title: Highway Developer's Guide +Author: Google +Abstract: PDF documentation of Highway +Section: Programming/C++ + +Format: PDF +Files: /usr/share/doc/highway-doc/highway_intro.pdf + /usr/share/doc/highway-doc/instruction_matrix.pdf diff --git a/highway-doc.docs b/highway-doc.docs new file mode 100644 index 0000000..3603675 --- /dev/null +++ b/highway-doc.docs @@ -0,0 +1 @@ +debian_docs/* diff --git a/libhwy-dev.install b/libhwy-dev.install new file mode 100644 index 0000000..0d6ae4d --- /dev/null +++ b/libhwy-dev.install @@ -0,0 +1,3 @@ +usr/include/hwy/ +usr/lib/*/*.so +usr/lib/*/pkgconfig/*.pc diff --git a/libhwy1.install b/libhwy1.install new file mode 100644 index 0000000..3de3b10 --- /dev/null +++ b/libhwy1.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/libhwy1.symbols b/libhwy1.symbols new file mode 100644 index 0000000..c3ba773 --- /dev/null +++ b/libhwy1.symbols @@ -0,0 +1,100 @@ +libhwy.so.1 libhwy1 #MINVER# + HWY_0@HWY_0 1.0.0 + (arch-bits=32)_ZN3hwy14AlignedDeleter18DeleteAlignedArrayEPvPFvS1_S1_ES1_PFvS1_jE@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy14AlignedDeleter18DeleteAlignedArrayEPvPFvS1_S1_ES1_PFvS1_mE@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy14DisableTargetsEx@HWY_0 1.0.0 + (arch-bits=64)_ZN3hwy14DisableTargetsEl@HWY_0 1.0.0 + _ZN3hwy14Unpredictable1Ev@HWY_0 0.16.0 + _ZN3hwy15GetChosenTargetEv@HWY_0 0.16.0 + _ZN3hwy16FreeAlignedBytesEPKvPFvPvS2_ES2_@HWY_0 0.16.0 + _ZN3hwy16SupportedTargetsEv@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy20AllocateAlignedBytesEjPFPvS0_jES0_@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy20AllocateAlignedBytesEmPFPvS0_mES0_@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy26SetSupportedTargetsForTestEx@HWY_0 1.0.0 + (arch-bits=64)_ZN3hwy26SetSupportedTargetsForTestEl@HWY_0 1.0.0 + _ZN3hwy5AbortEPKciS1_z@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy6detail10PrintArrayERKNS0_8TypeInfoEPKcPKvjjj@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy6detail10PrintArrayERKNS0_8TypeInfoEPKcPKvmmm@HWY_0 0.16.0 + _ZN3hwy6detail8ToStringERKNS0_8TypeInfoEPKvPc@HWY_0 0.17.0 + (arch-bits=32)_ZN3hwy6detail8TypeNameERKNS0_8TypeInfoEjPc@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy6detail8TypeNameERKNS0_8TypeInfoEmPc@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy7MeasureEPFyPKvjEPKhPKjjPNS_6ResultERKNS_6ParamsE@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy7MeasureEPFmPKvmEPKhPKmmPNS_6ResultERKNS_6ParamsE@HWY_0 0.16.0 + _ZN3hwy8platform15TimerResolutionEv@HWY_0 0.16.0 + _ZN3hwy8platform23InvariantTicksPerSecondEv@HWY_0 0.16.0 + _ZN3hwy8platform3NowEv@HWY_0 0.16.0 +libhwy_contrib.so.1 libhwy1 #MINVER# + HWY_0@HWY_0 1.0.0 + (arch-bits=32)_ZN3hwy6Sorter11Fill24BytesEPKvjPv@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy6Sorter11Fill24BytesEPKvmPv@HWY_0 0.16.0 + _ZN3hwy6Sorter11HaveFloat64Ev@HWY_0 0.16.0 + _ZN3hwy6Sorter6DeleteEv@HWY_0 0.16.0 + _ZN3hwy6SorterC1Ev@HWY_0 0.16.0 + _ZN3hwy6SorterC2Ev@HWY_0 0.16.0 + _ZN3hwy9ImageBase10VectorSizeEv@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy9ImageBase11BytesPerRowEjj@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy9ImageBase17InitializePaddingEjNS0_7PaddingE@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy9ImageBase11BytesPerRowEmm@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy9ImageBase17InitializePaddingEmNS0_7PaddingE@HWY_0 0.16.0 + _ZN3hwy9ImageBase4SwapERS0_@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy9ImageBaseC1Ejjj@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy9ImageBaseC1EjjjPv@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy9ImageBaseC2Ejjj@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy9ImageBaseC2EjjjPv@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPNS_6K32V32EjNS_13SortAscendingE@HWY_0 1.0.2 + (arch-bits=32)_ZNK3hwy6SorterclEPNS_6K32V32EjNS_14SortDescendingE@HWY_0 1.0.2 + (arch-bits=64)_ZNK3hwy6SorterclEPNS_6K32V32EmNS_13SortAscendingE@HWY_0 1.0.2 + (arch-bits=64)_ZNK3hwy6SorterclEPNS_6K32V32EmNS_14SortDescendingE@HWY_0 1.0.2 + (arch-bits=32)_ZNK3hwy6SorterclEPNS_6K64V64EjNS_13SortAscendingE@HWY_0 1.0.0 + (arch-bits=32)_ZNK3hwy6SorterclEPNS_6K64V64EjNS_14SortDescendingE@HWY_0 1.0.0 + (arch-bits=32)_ZNK3hwy6SorterclEPNS_9uint128_tEjNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPNS_9uint128_tEjNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPdjNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPdjNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPfjNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPfjNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPijNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPijNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPjjNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPjjNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPsjNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPsjNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPtjNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPtjNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPxjNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPxjNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPyjNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=32)_ZNK3hwy6SorterclEPyjNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy9ImageBaseC1Emmm@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy9ImageBaseC1EmmmPv@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy9ImageBaseC2Emmm@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy9ImageBaseC2EmmmPv@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPNS_6K64V64EmNS_13SortAscendingE@HWY_0 1.0.0 + (arch-bits=64)_ZNK3hwy6SorterclEPNS_6K64V64EmNS_14SortDescendingE@HWY_0 1.0.0 + (arch-bits=64)_ZNK3hwy6SorterclEPNS_9uint128_tEmNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPNS_9uint128_tEmNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPdmNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPdmNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPfmNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPfmNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPimNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPimNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPjmNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPjmNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPlmNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPlmNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPmmNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPmmNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPsmNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPsmNS_14SortDescendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPtmNS_13SortAscendingE@HWY_0 0.16.0 + (arch-bits=64)_ZNK3hwy6SorterclEPtmNS_14SortDescendingE@HWY_0 0.16.0 +libhwy_test.so.1 libhwy1 #MINVER# + HWY_0@HWY_0 1.0.0 + (arch-bits=32)_ZN3hwy10BytesEqualEPKvS1_jPj@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy6detail16AssertArrayEqualERKNS0_8TypeInfoEPKvS5_jPKcS7_i@HWY_0 0.16.0 + (arch-bits=32)_ZN3hwy6detail21PrintMismatchAndAbortERKNS0_8TypeInfoEPKvS5_PKcS7_ijj@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy10BytesEqualEPKvS1_mPm@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy6detail16AssertArrayEqualERKNS0_8TypeInfoEPKvS5_mPKcS7_i@HWY_0 0.16.0 + (arch-bits=64)_ZN3hwy6detail21PrintMismatchAndAbortERKNS0_8TypeInfoEPKvS5_PKcS7_imm@HWY_0 0.16.0 + _ZN3hwy6detail7IsEqualERKNS0_8TypeInfoEPKvS5_@HWY_0 0.16.0 diff --git a/patches/hwy_test_atomic.patch b/patches/hwy_test_atomic.patch new file mode 100644 index 0000000..8b887c5 --- /dev/null +++ b/patches/hwy_test_atomic.patch @@ -0,0 +1,46 @@ +Description: missing atomic support for hwy_test +Author: Mathieu Malaterre +Last-Update: 2022-11-03 + +Index: highway/CMakeLists.txt +=================================================================== +--- highway.orig/CMakeLists.txt ++++ highway/CMakeLists.txt +@@ -294,8 +294,8 @@ set_target_properties(hwy PROPERTIES + LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/hwy/hwy.version) + # For GCC __atomic_store_8, see #887 + target_link_libraries(hwy PRIVATE ${ATOMICS_LIBRARIES}) ++# not supported by MSVC/Clang, safe to skip (we use DLLEXPORT annotations) + if(UNIX AND NOT APPLE) +- # not supported by MSVC/Clang, safe to skip (we use DLLEXPORT annotations) + set_property(TARGET hwy APPEND_STRING PROPERTY + LINK_FLAGS " -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/hwy/hwy.version") + endif() +@@ -335,7 +335,7 @@ endif() + endif() # HWY_ENABLE_CONTRIB + + add_library(hwy_test ${HWY_LIBRARY_TYPE} ${HWY_TEST_SOURCES}) +-target_link_libraries(hwy_test hwy) ++target_link_libraries(hwy_test PRIVATE hwy) + target_compile_options(hwy_test PRIVATE ${HWY_FLAGS}) + set_property(TARGET hwy_test PROPERTY POSITION_INDEPENDENT_CODE ON) + set_target_properties(hwy_test PROPERTIES VERSION ${LIBRARY_VERSION} SOVERSION ${LIBRARY_SOVERSION}) +@@ -345,6 +345,8 @@ target_include_directories(hwy_test PUBL + target_compile_features(hwy_test PUBLIC cxx_std_11) + set_target_properties(hwy_test PROPERTIES + LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/hwy/hwy.version) ++# For GCC __atomic_store_8, see #887 ++target_link_libraries(hwy_test PRIVATE ${ATOMICS_LIBRARIES}) + # not supported by MSVC/Clang, safe to skip (we use DLLEXPORT annotations) + if(UNIX AND NOT APPLE) + set_property(TARGET hwy_test APPEND_STRING PROPERTY +@@ -559,7 +561,8 @@ foreach (TESTFILE IN LISTS HWY_TEST_FILE + # that include us may set them. + target_compile_options(${TESTNAME} PRIVATE -DHWY_IS_TEST=1) + +- target_link_libraries(${TESTNAME} ${HWY_TEST_LIBS} ${HWY_GTEST_LIBS}) ++ target_link_libraries(${TESTNAME} PRIVATE ${HWY_TEST_LIBS} ${HWY_GTEST_LIBS}) ++ target_link_libraries(${TESTNAME} PRIVATE ${ATOMICS_LIBRARIES}) + # Output test targets in the test directory. + set_target_properties(${TESTNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "tests") + diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..0f44cce --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +hwy_test_atomic.patch diff --git a/rules b/rules new file mode 100755 index 0000000..ebe9888 --- /dev/null +++ b/rules @@ -0,0 +1,73 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +include /usr/share/dpkg/default.mk + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 + +%: + dh $@ --buildsystem=cmake+ninja + +# Prefer SCALAR over EMU128 for now, see #1015256 +#DEB_CXXFLAGS_MAINT_APPEND += -DHWY_BROKEN_EMU128=1 + +ifneq (,$(filter $(DEB_BUILD_ARCH), armhf armel)) + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 + DEB_CXXFLAGS_MAINT_APPEND += -Wno-psabi +endif + +#ifeq ($(DEB_BUILD_ARCH),$(filter $(DEB_BUILD_ARCH),armhf)) +# # highway implement dynamic dipatch: +# # https://github.com/google/highway/issues/891 +# CMAKE_EXTRA_FLAGS += -DHWY_CMAKE_ARM7:BOOL=ON +#endif + +export DEB_CXXFLAGS_MAINT_APPEND + +# test suite rely on CMAKE_SKIP_RPATH=OFF +CMAKE_EXTRA_FLAGS += \ + -DCMAKE_SKIP_RPATH:BOOL=OFF \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DHWY_WARNINGS_ARE_ERRORS:BOOL=ON \ + -DHWY_SYSTEM_GTEST:BOOL=ON + +override_dh_auto_configure-arch: + dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) + +# run default example to check compilation ok: +override_dh_install-arch: +ifeq (,$(filter $(DEB_BUILD_ARCH),hurd-i386)) + obj-*/examples/hwy_benchmark +else + echo "CPU 'QEMU Virtual CPU version 2.5+' does not support RDTSCP, skipping benchmark." +endif + dh_install + +override_dh_clean-indep: + dh_clean debian_docs/ + +override_dh_auto_configure-indep: +override_dh_auto_build-indep: + # most docs are ok as-is + cp -a g3doc debian_docs + # let's shrink a bit this one: + gs -q -dNOPAUSE -dBATCH -dSAFER \ + -sDEVICE=pdfwrite \ + -dCompatibilityLevel=1.4 \ + -dPDFSETTINGS=/screen \ + -dEmbedAllFonts=true \ + -dSubsetFonts=true \ + -dColorImageDownsampleType=/Bicubic \ + -dColorImageResolution=72 \ + -dGrayImageDownsampleType=/Bicubic \ + -dGrayImageResolution=72 \ + -dMonoImageDownsampleType=/Bicubic \ + -dMonoImageResolution=72 \ + -sOutputFile=debian_docs/highway_intro.pdf ./g3doc/highway_intro.pdf + +override_dh_auto_test-indep: +override_dh_auto_install-indep: +override_dh_compress-indep: + # do not compress .pdf/.md files for documentation + dh_compress -X.md -X.pdf diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/source/include-binaries b/source/include-binaries new file mode 100644 index 0000000..be14a9e --- /dev/null +++ b/source/include-binaries @@ -0,0 +1,2 @@ +g3doc/highway_intro.pdf +g3doc/instruction_matrix.pdf diff --git a/watch b/watch new file mode 100644 index 0000000..74d9c5c --- /dev/null +++ b/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/highway-$1\.tar\.gz/ \ + https://github.com/google/highway/tags .*/v?(\d\S+)\.tar\.gz -- 2.30.2