From a5025ce33baad083ead22f3cff92fc88d0e2687a Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Tue, 15 Nov 2016 09:54:46 -0500 Subject: Use gsl brent solver slower than the jpm's one --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 5958dd8..54336ab 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,8 @@ all_extensions = Extension("*", ["pyisda/*.pyx"], c_extension = Extension("pyisda.flat_hazard", include_dirs = ['c_layer'], sources = ['pyisda/flat_hazard.pyx', 'c_layer/cdsbootstrap.c'], - libraries = ['cds']) + libraries = ['cds', 'gsl', 'cblas'], + extra_compile_args = ['-O3', '-march=native']) all_extensions = cythonize([c_extension, all_extensions], nthreads = 4, compiler_directives={'embedsignature':True}) -- cgit v1.2.3-70-g09d2