diff options
| author | Guillaume Horel <guillaume.horel@serenitascapital.com> | 2016-11-15 09:54:46 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@serenitascapital.com> | 2016-11-15 09:54:46 -0500 |
| commit | a5025ce33baad083ead22f3cff92fc88d0e2687a (patch) | |
| tree | 3ed471f05100a5745828cb8d7a8688ab220d1439 /setup.py | |
| parent | 76064859c2d24ea1c44aa9839e09bfdada284000 (diff) | |
| download | pyisda-gsl.tar.gz | |
Use gsl brent solvergsl
slower than the jpm's one
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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}) |
