]> git.pld-linux.org Git - packages/highway.git/commitdiff
- updated to 1.0.3 (new sonames) auto/th/highway-1.0.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 6 Mar 2023 20:00:17 +0000 (21:00 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 6 Mar 2023 20:00:17 +0000 (21:00 +0100)
- removed obsolete rdtscp patch

highway-rdtscp.patch [deleted file]
highway.spec

diff --git a/highway-rdtscp.patch b/highway-rdtscp.patch
deleted file mode 100644 (file)
index ddb9cab..0000000
+++ /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) {
index 0865b0f963358a679c997455f758a3ddf7cfd658..1ef0beacdbfcc775958f66db456a39213ae4225c 100644 (file)
@@ -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)
This page took 0.062118 seconds and 4 git commands to generate.