scipy, bump version, enable build (#5951)

This commit is contained in:
Schrijvers Luc
2021-06-13 17:34:07 +02:00
committed by GitHub
parent 1eb5ff866e
commit 6eecb6a373
4 changed files with 56 additions and 111 deletions

View File

@@ -1,22 +0,0 @@
From 8e314a5e6f9faf2d527d6572d1b05c47bc791090 Mon Sep 17 00:00:00 2001
From: Aleksei Gerasimov <aleksei.gerasimov@vutbr.cz>
Date: Thu, 15 Oct 2020 14:13:11 +0200
Subject: disable ndimage
diff --git a/scipy/setup.py b/scipy/setup.py
index 0a17f94..f0fe37a 100644
--- a/scipy/setup.py
+++ b/scipy/setup.py
@@ -22,7 +22,7 @@ def configuration(parent_package='',top_path=None):
config.add_subpackage('spatial')
config.add_subpackage('special')
config.add_subpackage('stats')
- config.add_subpackage('ndimage')
+ #config.add_subpackage('ndimage')
config.add_subpackage('_build_utils')
config.add_subpackage('_lib')
config.make_config_py()
--
2.28.0

View File

@@ -0,0 +1,49 @@
From b6e0d70785f85e4a8b9ab61b37f684ad0eca4d28 Mon Sep 17 00:00:00 2001
From: Aleksei Gerasimov <aleksei.gerasimov@vutbr.cz>
Date: Thu, 15 Oct 2020 14:13:11 +0200
Subject: disable ndimage
diff --git a/scipy/setup.py b/scipy/setup.py
index 3bcdd48..b3ede6f 100644
--- a/scipy/setup.py
+++ b/scipy/setup.py
@@ -21,7 +21,7 @@ def configuration(parent_package='',top_path=None):
config.add_subpackage('spatial')
config.add_subpackage('special')
config.add_subpackage('stats')
- config.add_subpackage('ndimage')
+ #config.add_subpackage('ndimage')
config.add_subpackage('_build_utils')
config.add_subpackage('_lib')
config.make_config_py()
--
2.30.2
From f9e25e090297e27de3395bab18f104c70358d9ec Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Mon, 24 May 2021 18:40:26 +0000
Subject: Haiku doesn't use -pthread, use -lpthread instead
diff --git a/scipy/fft/_pocketfft/setup.py b/scipy/fft/_pocketfft/setup.py
index 7e44565..3b0ead2 100644
--- a/scipy/fft/_pocketfft/setup.py
+++ b/scipy/fft/_pocketfft/setup.py
@@ -15,9 +15,9 @@ def pre_build_hook(build_ext, ext):
'int main(int argc, char **argv) {}')
if has_pthreads:
ext.define_macros.append(('POCKETFFT_PTHREADS', None))
- if has_flag(cc, '-pthread'):
- args.append('-pthread')
- ext.extra_link_args.append('-pthread')
+ if has_flag(cc, '-lpthread'):
+ args.append('-lpthread')
+ ext.extra_link_args.append('-lpthread')
else:
raise RuntimeError("Build failed: System has pthreads header "
"but could not compile with -pthread option")
--
2.30.2