From dab09452d1e48e35dc40e2643ce404f7d2fdf1fc Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 29 Nov 2023 21:01:17 +0200 Subject: [PATCH] Disable Pythran on riscv64 Signed-off-by: David Abdurachmanov --- scipy.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scipy.spec b/scipy.spec index 90361ef..da10761 100644 --- a/scipy.spec +++ b/scipy.spec @@ -4,7 +4,11 @@ # Pythran is an optional build dependency. # When used, it makes some modules faster, # but it is usually not available soon enough for new major Python versions. +%ifnarch riscv64 %bcond_without pythran +%else +%bcond_with pythran +%endif # The code is not safe to build with LTO %global _lto_cflags %{nil}