[packages/highway] - updated to 1.0.3 (new sonames) - removed obsolete rdtscp patch

qboosh qboosh at pld-linux.org
Mon Mar 6 20:58:18 CET 2023


commit 782104e1c744eae0d3fd815acc9922b1c154f570
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 6 21:00:17 2023 +0100

    - updated to 1.0.3 (new sonames)
    - removed obsolete rdtscp patch

 highway-rdtscp.patch | 15 ---------------
 highway.spec         | 13 +++++--------
 2 files changed, 5 insertions(+), 23 deletions(-)
---
diff --git a/highway.spec b/highway.spec
index 0865b0f..1ef0bea 100644
--- a/highway.spec
+++ b/highway.spec
@@ -6,15 +6,13 @@
 Summary:	Efficient and performance-portable SIMD
 Summary(pl.UTF-8):	Wydajne i przenośne operacje SIMD
 Name:		highway
-Version:	0.16.0
+Version:	1.0.3
 Release:	1
 License:	Apache v2.0
 Group:		Libraries
 #Source0Download: https://github.com/google/highway/releases
 Source0:	https://github.com/google/highway/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	2d95ad96b3fda6cf7d918e801e89516e
-# related to https://github.com/google/highway/commit/4a57d62e1d87d8c80bbea34fa0e2d27bc8f6b885.patch
-Patch0:		%{name}-rdtscp.patch
+# Source0-md5:	d591cf12d8d1f9f237a015ffc691b7c2
 URL:		https://github.com/google/highway
 BuildRequires:	cmake >= 3.10
 %{?with_tests:BuildRequires:	gtest-devel}
@@ -85,7 +83,6 @@ Dokumentacja API biblioteki Highway.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 install -d build
@@ -117,9 +114,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md
 %attr(755,root,root) %{_libdir}/libhwy.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libhwy.so.0
+%attr(755,root,root) %ghost %{_libdir}/libhwy.so.1
 %attr(755,root,root) %{_libdir}/libhwy_contrib.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libhwy_contrib.so.0
+%attr(755,root,root) %ghost %{_libdir}/libhwy_contrib.so.1
 
 %files devel
 %defattr(644,root,root,755)
@@ -135,7 +132,7 @@ rm -rf $RPM_BUILD_ROOT
 %files test
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libhwy_test.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libhwy_test.so.0
+%attr(755,root,root) %ghost %{_libdir}/libhwy_test.so.1
 
 %files test-devel
 %defattr(644,root,root,755)
diff --git a/highway-rdtscp.patch b/highway-rdtscp.patch
deleted file mode 100644
index ddb9cab..0000000
--- a/highway-rdtscp.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- highway-0.16.0/hwy/nanobenchmark.cc.orig	2022-04-09 18:30:28.550190500 +0200
-+++ highway-0.16.0/hwy/nanobenchmark.cc	2022-04-09 18:31:11.596623964 +0200
-@@ -439,6 +439,12 @@ HWY_DLLEXPORT double Now() {
- }
- 
- HWY_DLLEXPORT uint64_t TimerResolution() {
-+#if HWY_ARCH_X86
-+  /* TimerResolution() is used to initialize static variable, used in Measure() function */
-+  if (!platform::HasRDTSCP())
-+    return 0;
-+#endif
-+
-   // Nested loop avoids exceeding stack/L1 capacity.
-   timer::Ticks repetitions[Params::kTimerSamples];
-   for (size_t rep = 0; rep < Params::kTimerSamples; ++rep) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/highway.git/commitdiff/782104e1c744eae0d3fd815acc9922b1c154f570



More information about the pld-cvs-commit mailing list