public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libarrow] f45: SIMD_LEVEL (rhbz#2568390) N.B. this seems like a hack to me. I'd prefer
@ 2026-11-13 15:31 Kaleb S KEITHLEY
  0 siblings, 0 replies; only message in thread
From: Kaleb S KEITHLEY @ 2026-11-13 15:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libarrow
            Branch : f45
            Commit : bc5061b25ab7bb18fe8359a5f662f67414abab5d
            Author : Kaleb S KEITHLEY <kkeithle@redhat.com>
            Date   : 2026-11-13T10:30:16-05:00
            Stats  : +19/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/libarrow/c/bc5061b25ab7bb18fe8359a5f662f67414abab5d?branch=f45

            Log:
            SIMD_LEVEL (rhbz#2568390) N.B. this seems like a hack to me. I'd prefer
to find a cleaner way to pass the top-level -DARROW_SIMD_LEVEL option to
setup.py and have setup.py use it.

---
diff --git a/0005-python-setup.py.patch b/0005-python-setup.py.patch
new file mode 100644
index 0000000..2bcdb9e
--- /dev/null
+++ b/0005-python-setup.py.patch
@@ -0,0 +1,10 @@
+--- apache-arrow-23.0.1/python/setup.py.orig	2026-11-13 07:57:53.994953503 -0500
++++ apache-arrow-23.0.1/python/setup.py	2026-11-13 07:59:13.226504516 -0500
+@@ -271,6 +271,7 @@
+                 f'-DPYTHON_EXECUTABLE={sys.executable}',
+                 f'-DPython3_EXECUTABLE={sys.executable}',
+                 f'-DPYARROW_CXXFLAGS={self.cmake_cxxflags}',
++                f'-DARROW_SIMD_LEVEL=NONE',
+             ]
+ 
+             def append_cmake_bool(value, varname):

diff --git a/libarrow.spec b/libarrow.spec
index baae89e..2b5f7fd 100644
--- a/libarrow.spec
+++ b/libarrow.spec
@@ -34,7 +34,7 @@
 
 Name:		libarrow
 Version:	23.0.1
-Release:	13%{?dist}
+Release:	14%{?dist}
 Summary:	A toolbox for accelerated data interchange and in-memory processing
 License:	Apache-2.0
 URL:		https://arrow.apache.org/
@@ -45,6 +45,7 @@ Source2:	https://github.com/apache/parquet-testing/archive/%{parquet_test_data_c
 Patch:		0001-python-pyarrow-tests-read_record_patch.py.patch
 Patch:		0002-python-pyarrow-tests-test_ipc.py.patch
 Patch:		0004-cpp-src-arrow-compute-kernels-CMakeLists.txt.patch
+Patch:		0005-python-setup.py.patch
 
 # Apache ORC (liborc) has numerous compile errors and apparently assumes
 # a 64-bit build and runtime environment. This is only consumer of the liborc
@@ -749,7 +750,8 @@ popd >/dev/null
 %build
 pushd cpp
 %cmake \
-  -DARROW_SIMD_LEVEL:STRING=NONE -DARROW_RUNTIME_SIMD_LEVEL:STRING=MAX \
+  -DARROW_SIMD_LEVEL:STRING=NONE \
+  -DARROW_RUNTIME_SIMD_LEVEL:STRING=MAX \
 %if %{with use_flight}
   -DARROW_FLIGHT:BOOL=ON \
 %endif
@@ -884,6 +886,11 @@ export LD_LIBRARY_PATH='%{buildroot}%{_libdir}'
 #--------------------------------------------------------------------
 
 %changelog
+* Fri Nov 13 2026  Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 23.0.1-14
+- SIMD_LEVEL (rhbz#2568390) N.B. this seems like a hack to me. I'd prefer 
+  to find a way to pass the top-level -DARROW_SIMD_LEVEL option to setup.py
+  and have setup.py use it.
+
 * Wed Nov 11 2026  Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 23.0.1-13
 - SIMD_LEVEL (rhbz#2568390)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-13 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 15:31 [rpms/libarrow] f45: SIMD_LEVEL (rhbz#2568390) N.B. this seems like a hack to me. I'd prefer Kaleb S KEITHLEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox