public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kaleb S KEITHLEY <kkeithle@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libarrow] f45: SIMD_LEVEL (rhbz#2568390) N.B. this seems like a hack to me. I'd prefer
Date: Fri, 13 Nov 2026 15:31:00 GMT	[thread overview]
Message-ID: <179458386071.1.15163434163043267241.rpms-libarrow-bc5061b25ab7@fedoraproject.org> (raw)

            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)
 

                 reply	other threads:[~2026-11-13 15:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179458386071.1.15163434163043267241.rpms-libarrow-bc5061b25ab7@fedoraproject.org \
    --to=kkeithle@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox