Skip to content

Commit

Permalink
Merge pull request #11 from SWxTREC/wheel-architecture
Browse files Browse the repository at this point in the history
FIX: Remove architecture and math optimizations from compiler
  • Loading branch information
greglucas authored Aug 31, 2021
2 parents beb61a5 + 5dc2b7c commit 6f8bff6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
# Add the directory where the files are located
msis2_sources = [os.path.join('src', 'msis2', x) for x in msis2_sources]

# If you want to get some additional speed from compile-time options you can
# add extra compile-time flags. e.g., '-march=native', '-ffast-math'
ext_msis2 = Extension(name='pymsis.msis2f',
sources=msis2_sources,
extra_f90_compile_args=['-std=legacy', '-march=native',
'-ffast-math'])
extra_f90_compile_args=['-std=legacy'])

msis00_sources = [os.path.join('src', 'msis00', 'msis00.F90'),
os.path.join('src', 'msis00', 'NRLMSISE-00.FOR')]
Expand Down

0 comments on commit 6f8bff6

Please sign in to comment.