highway (1.0.2-4) unstable; urgency=medium
authorMathieu Malaterre <malat@debian.org>
Thu, 3 Nov 2022 10:29:42 +0000 (10:29 +0000)
committerMathieu Malaterre <malat@debian.org>
Thu, 3 Nov 2022 10:29:42 +0000 (10:29 +0000)
  * d/patches: Add missing atomic library to test

[dgit import unpatched highway 1.0.2-4]

14 files changed:
1  2 
debian/changelog
debian/compat
debian/control
debian/copyright
debian/highway-doc.doc-base
debian/highway-doc.docs
debian/libhwy-dev.install
debian/libhwy1.install
debian/libhwy1.symbols
debian/patches/hwy_test_atomic.patch
debian/patches/series
debian/rules
debian/source/include-binaries
debian/watch

index 36d0c1de034baa656a43063d594e297608bbd975,0000000000000000000000000000000000000000..de325cce2e36a7e0859ee0dba170788bf9b155b4
mode 100644,000000..100644
--- /dev/null
@@@ -1,157 -1,0 +1,239 @@@
- highway (1.0.2-1) UNRELEASED; urgency=medium
- * Add ExclusiveNeither, FindKnownFirstTrue, Ne128
- * Add 16-bit SumOfLanes/ReorderWidenMulAccumulate/ReorderDemote2To
- * Faster sort for low-entropy input, improved pivot selection
- * Add GN build system, Highway FAQ, k32v32 type to vqsort
- * CMake: Support find_package(GTest), add rvv-inl.h, add HWY_ENABLE_TESTS
- * Fix MIPS and C++20 build, Apple LLVM 10.3 detection, EMU128 AllTrue on RVV
- * Fix missing exec_prefix, RVV build, warnings, libatomic linking
- * Work around GCC 10.4 issue, disabled RDCYCLE, arm7 with vfpv3
- * Documentation/example improvements
- * Support static dispatch to SVE2_128 and SVE_256
++highway (1.0.2-4) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Thu, 27 Oct 2022 17:00:00 +0200
++  * d/patches: Add missing atomic library to test
 +
- highway (1.0.1-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Thu, 03 Nov 2022 11:29:42 +0100
 +
- * Add Eq128, i64 Mul, unsigned->float ConvertTo
- * Faster sort for few unique keys, more robust pivot selection
- * Fix: floating-point generator for sort tests, Min/MaxOfLanes for i16
- * Fix: avoid always_inline in debug, link atomic
- * GCC warnings: string.h, maybe-uninitialized, ignored-attributes
- * GCC warnings: preprocessor int overflow, spurious use-after-free/overflow
- * Doc: <=HWY_AVX3, Full32/64/128, how to use generic-inl
++highway (1.0.2-3) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Tue, 23 Aug 2022 10:00:00 +0200
++  * d/patches: Fix cmake issue with usage of PRIVATE keyword
 +
- highway (1.0.0-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Thu, 03 Nov 2022 10:34:54 +0100
 +
- * ABI change: 64-bit target values, more room for expansion
- * Add CompressBlocksNot, CompressNot, Lt128Upper, Min/Max128Upper, TruncateTo
- * Add HWY_SVE2_128 target
- * Sort speedups especially for 128-bit
- * Documentation clarifications
- * Faster NEON CountTrue/FindFirstTrue/AllFalse/AllTrue
- * Improved SVE codegen
- * Fix u16x8 ConcatEven/Odd, SSSE3 i64 Lt
- * MSVC 2017 workarounds
- * Support for runtime dispatch on Arm/GCC/Linux
++highway (1.0.2-2) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Wed, 27 Jul 2022 10:00:00 +0200
++  * d/patches: Fix build with atomic lib
 +
- highway (0.17.0-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Thu, 03 Nov 2022 09:38:31 +0100
 +
- * Add ExtractLane, InsertLane, IsInf, IsFinite, IsNaN
- * Add StoreInterleaved2, LoadInterleaved2/3/4, BlendedStore, SafeFillN
- * Add MulFixedPoint15, Or3
- * Add Copy[If], Find[If], Generate, Replace[If] algos
- * Add HWY_EMU128 target (replaces HWY_SCALAR)
- * HWY_RVV is feature-complete
- * Add HWY_ENABLE_CONTRIB build flag, HWY_NATIVE_FMA, HWY_WANT_SSSE3/SSE4 macros
- * Extend ConcatOdd/Even and StoreInterleaved* to all types
- * Allow CappedTag<T, nonPowerOfTwo>
- * Sort speedups: 2x for AVX2, 1.09x for AVX3; avoid x86 malloc
- * Expand documentation
- * Fix RDTSCP crash in nanobenchmark
- * Fix XCR0 check (was ignoring AVX3 on ICL)
- * Support Arm/RISC-V timers
++highway (1.0.2-1) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Fri, 20 May 2022 10:00:00 +0200
++  * New upstream version 1.0.2
++  * d/patches: Remove patches applied upstream
++  * d/symbols: Add new symbols
 +
- highway (0.16.0-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Wed, 02 Nov 2022 15:55:21 +0100
 +
-   * Add contrib/sort (vectorized quicksort)
-   * Add IfNegativeThenElse, IfVecThenElse
-   * Add Reverse2,4,8, ReverseBlocks, DupEven/Odd, AESLastRound
-   * Add OrAnd, Min128, Max128, Lt128, SumsOf8
-   * Support capped/partial vectors on RVV/SVE, int64 in WASM
-   * Support SVE2, shared library build
-   * Remove deprecated overloads without the required d arg (UpperHalf etc.)
++highway (1.0.1-3) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Thu, 03 Feb 2022 11:00:00 +0100
++  * 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
 +
- highway (0.15.0-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Fri, 02 Sep 2022 12:16:04 +0200
 +
-   * New ops: CompressBlendedStore, ConcatOdd/Even, IndicesFromVec
-   * New ops: OddEvenBlocks, SwapAdjacentBlocks, Reverse, RotateRight
-   * Add bf16, unsigned comparisons, more lane types for Reverse/TableLookupLanes
-   * Contrib: add sort(ing network) and dot(product)
-   * Targets: update RVV for LLVM, add experimental WASM2
-   * Separate library hwy_test for test utils
-   * Add non-macro Simd<> aliases
-   * Fixes: const V& for GCC, AVX3 BZHI, POPCNT with AVX on MSVC, avoid %zu
++highway (1.0.1-2) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Wed, 10 Nov 2021 10:00:00 +0100
++  * 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
 +
- highway (0.14.2-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Wed, 31 Aug 2022 09:00:14 +0200
 +
-   * Add MaskedLoad
-   * Fix non-glibc PPC, Windows GCC, MSVC 19.14
-   * Opt-in for -Werror; separate design_philosophy.md
++highway (1.0.1-1) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Tue, 24 Aug 2021 15:00:00 +0200
++  * New upstream version 1.0.1
++  * d/patches: Refresh patches for new upstream release
 +
- highway (0.14.1-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Thu, 25 Aug 2022 09:37:14 +0200
 +
-   * Add LoadMaskBits, CompressBits[Store]
-   * Fix CPU feature check (AES/F16C) and warnings
-   * Improved DASSERT - disabled in optimized builds
++highway (1.0.0-5) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Tue, 17 Aug 2021 14:00:00 +0200
++  * d/patches: Do not always inline
++  * d/patches: fix floating-point generator for sort tests.
 +
- highway (0.14.0-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Thu, 04 Aug 2022 08:39:49 +0200
 +
-   * Add SVE, S-SSE3, AVX3_DL targets
-   * Support partial vectors in all ops
-   * Add PopulationCount, FindFirstTrue, Ne, TableLookupBytesOr0
-   * Add AESRound, CLMul, MulOdd, HWY_CAP_FLOAT16
++highway (1.0.0-4) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Thu, 29 Jul 2021 15:00:00 +0200
++  * 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
 +
- highway (0.12.2-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Tue, 02 Aug 2022 14:02:56 +0200
 +
-   * fix scalar-only test and Windows macro conflict with Load/StoreFence
-   * replace deprecated wasm intrinsics
++highway (1.0.0-3) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Mon, 31 May 2021 16:00:00 +0200
++  * d/patches: Add atomic patch to fix compilation
++  * d/patches: Add riscv64 compilation fix for GCC
 +
- highway (0.12.1-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Tue, 02 Aug 2022 10:38:12 +0200
 +
-   * doc updates, ARM GCC support, fix s390/ppc, complete partial vectors
-   * fix warnings, faster ARM div/sqrt, separate hwy_contrib library
-   * add Abs(i64)/FirstN/Pause, enable AVX2 on MSVC
++highway (1.0.0-2) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Wed, 19 May 2021 15:00:00 +0200
++  * d/symbols: Fix symbols file on 32bits arch
 +
- highway (0.12.0-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Tue, 02 Aug 2022 07:44:42 +0200
 +
-   * Add Shift*8, Compress16, emulated Scatter/Gather, StoreInterleaved3/4
-   * Remove deprecated HWY_*_LANES, deprecate HWY_GATHER_LANES
-   * Proper IEEE rounding, reduce libstdc++ usage, inlined math
++highway (1.0.0-1) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Thu, 15 Apr 2021 20:00:00 +0200
++  * 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
 +
- highway (0.11.1-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Mon, 01 Aug 2022 10:50:07 +0200
 +
-   * Fix clang7 asan error, finish f16 conversions and add test
++highway (0.17.0-11) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Thu, 25 Feb 2021 16:00:00 +0200
++  * d/patches: Fix blockwise_test on big-endian arches
 +
- highway (0.11.0-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Wed, 20 Jul 2022 17:21:46 +0200
 +
-   * Add RVV+mask logical ops, allow Shl/ShiftLeftSame on all targets, more math
++highway (0.17.0-10) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Thu, 18 Feb 2021 20:00:00 +0200
++  * 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
 +
- highway (0.7.0-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Mon, 18 Jul 2022 15:42:24 +0200
 +
-   * Added API stability notice, Compress[Store], contrib/, SignBit, CopySign
++highway (0.17.0-9) unstable; urgency=medium
 +
-  -- Jan Wassenberg <janwas@google.com>  Tue, 5 Jan 2021 17:00:00 +0200
++  * d/rules: Really fix armhf build
 +
- highway (0.1-1) UNRELEASED; urgency=medium
++ -- Mathieu Malaterre <malat@debian.org>  Tue, 05 Jul 2022 14:18:09 +0200
 +
-   * Initial debian package.
++highway (0.17.0-8) unstable; urgency=medium
 +
-  -- Alex Deymo <deymo@google.com>  Mon, 19 Oct 2020 16:48:07 +0200
++  * 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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  Mon, 04 Jul 2022 11:04:54 +0200
++
++highway (0.17.0-4) unstable; urgency=medium
++
++  * d/patches: Fix armhf compilation failure
++
++ -- Mathieu Malaterre <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  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 <malat@debian.org>  Tue, 04 Jan 2022 15:45:40 +0100
++
++highway (0.15.0-1) experimental; urgency=medium
++
++  * Initial release (Closes: #1000984)
++
++ -- Mathieu Malaterre <malat@debian.org>  Thu, 02 Dec 2021 21:42:02 +0100
diff --cc debian/compat
index f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2,0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
mode 100644,000000..100644
--- /dev/null
@@@ -1,1 -1,0 +1,1 @@@
- 10
++11
diff --cc debian/control
index 7c60ebc7f413c254759fde59c2540cca678f5ab6,0000000000000000000000000000000000000000..05b2dc94a19c0586f24974d84653d6dd5d262d7a
mode 100644,000000..100644
--- /dev/null
@@@ -1,23 -1,0 +1,51 @@@
- Maintainer: JPEG XL Maintainers <jpegxl@google.com>
- Section: misc
 +Source: highway
- Standards-Version: 3.9.8
- Build-Depends: cmake,
-                debhelper (>= 9),
-                libgtest-dev
++Section: libs
 +Priority: optional
- Depends: ${misc:Depends}
++Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel@lists.alioth.debian.org>
++Uploaders: Mathieu Malaterre <malat@debian.org>
++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
-  This package installs the development files. There's no runtime library
-  since most of Highway is implemented in headers and only a very small
-  static library is needed.
++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.
index 53ea57aa97da52a9ff7ac1b810208763861bd5d7,0000000000000000000000000000000000000000..22c2432bef766d0a625254bdd520854078b2ef73
mode 100644,000000..100644
--- /dev/null
@@@ -1,20 -1,0 +1,26 @@@
- Copyright: 2020 Google LLC
 +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 <malat@debian.org>
++License: Apache-2.0
++ Same as above
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6f524a8f4929c315a7671e054bdf3e73535e92ed
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,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
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..360367571ccba945bbc5ab37e37b5a97bd0bb1fc
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++debian_docs/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0d6ae4de93e7322608142f517248ed35f603a2a8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++usr/include/hwy/
++usr/lib/*/*.so
++usr/lib/*/pkgconfig/*.pc
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3de3b10a49844edfe7e12e2fde3eb1357306fbfc
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/lib/*/*.so.*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c3ba773b58509e4dd9be799cb42aa01b31aedb62
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,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
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8b887c5d8dd1de42d085f0da3eadd45f55ef91e3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,46 @@@
++Description: missing atomic support for hwy_test
++Author: Mathieu Malaterre <malat@debian.org>
++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")
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0f44cce73c3f7776717b118469410086a8cb814e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++hwy_test_atomic.patch
diff --cc debian/rules
index 969fc120e87dbc8308a21fe729fd7673bc8c5d21,0000000000000000000000000000000000000000..fe8f4408aeb17041a8667e7b55e1421e34e9169e
mode 100755,000000..100755
--- /dev/null
@@@ -1,6 -1,0 +1,73 @@@
-       dh $@ --buildsystem=cmake
 +#!/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
++
 +%:
- override_dh_auto_configure:
-       dh_auto_configure -- -DHWY_SYSTEM_GTEST=ON
++      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
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..be14a9ea17e28f4c693071dde2171f3cfd6fc53c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++g3doc/highway_intro.pdf
++g3doc/instruction_matrix.pdf
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..74d9c5c107a3bf5ef1bc99e6e7529f2b2313a129
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,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