summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-08-31 23:07:04 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-08-31 23:07:28 +0000
commit28829acee0534e46cb218272baabec3db3a268a5 (patch)
tree0946c1b2b6e90d614d378b4601401af0bf1773b5 /dev-python/astroscrappy/files/astroscrappy-1.0.5-respect-user-flag.patch
parentdev-python/astropy: version bump. fix also xdg sandboxing issue (diff)
downloadgentoo-28829acee0534e46cb218272baabec3db3a268a5.tar.gz
gentoo-28829acee0534e46cb218272baabec3db3a268a5.tar.bz2
gentoo-28829acee0534e46cb218272baabec3db3a268a5.zip
dev-python/astroscrappy: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/astroscrappy/files/astroscrappy-1.0.5-respect-user-flag.patch')
-rw-r--r--dev-python/astroscrappy/files/astroscrappy-1.0.5-respect-user-flag.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/astroscrappy/files/astroscrappy-1.0.5-respect-user-flag.patch b/dev-python/astroscrappy/files/astroscrappy-1.0.5-respect-user-flag.patch
new file mode 100644
index 000000000000..b3638e1bffc3
--- /dev/null
+++ b/dev-python/astroscrappy/files/astroscrappy-1.0.5-respect-user-flag.patch
@@ -0,0 +1,36 @@
+From f3acf99e65f58e2ee2f409d33f44a3abb1ba90c4 Mon Sep 17 00:00:00 2001
+From: Sébastien Fabbro <bicatali@gentoo.org>
+Date: Wed, 31 Aug 2016 22:19:12 +0000
+Subject: [PATCH] respect user compiling flags Depending on compilers, -O3
+ -funroll-loops is not the fastest.
+
+---
+ astroscrappy/utils/setup_package.py | 8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+diff --git a/astroscrappy/utils/setup_package.py b/astroscrappy/utils/setup_package.py
+index 3e1fba2..c271613 100644
+--- a/astroscrappy/utils/setup_package.py
++++ b/astroscrappy/utils/setup_package.py
+@@ -73,16 +73,12 @@ def get_extensions():
+ sources=med_sources,
+ include_dirs=include_dirs,
+ libraries=libraries,
+- language="c",
+- extra_compile_args=['-g', '-O3', '-funroll-loops',
+- '-ffast-math'])
++ language="c")
+ ext_im = Extension(name=str("astroscrappy.utils.image_utils"),
+ sources=im_sources,
+ include_dirs=include_dirs,
+ libraries=libraries,
+- language="c",
+- extra_compile_args=['-g', '-O3', '-funroll-loops',
+- '-ffast-math'])
++ language="c")
+
+ has_openmp, outputs = check_openmp()
+ if has_openmp:
+--
+2.9.3
+