Browse Source

Added additional fortran compiler flags to the command lines. Hopefully Windows will run a little faster.

main 1.0b3
Bill Ladwig 8 years ago
parent
commit
7de64141e3
  1. 8
      conda_recipe/bld.bat
  2. 2
      conda_recipe/build.sh

8
conda_recipe/bld.bat

@ -1,2 +1,8 @@
python setup.py build --compiler=mingw32 --fcompiler=gnu95 install --single-version-externally-managed --record=record.txt
%ARCH% == 64 (
%PYTHON% setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2" build --compiler=mingw32 --fcompiler=gnu95
) else (
%PYTHON% setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2 -mincoming-stack-boundary=2" build --compiler=mingw32 --fcompiler=gnu95
)
%PYTHON% setup.py install --single-version-externally-managed --record=record.txt

2
conda_recipe/build.sh

@ -4,7 +4,7 @@ if [ `uname` == Darwin ]; then
LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle" LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle"
fi fi
$PYTHON setup.py build $PYTHON setup.py config_fc --f90flags="-mtune=generic -mfpmath=sse" build
$PYTHON setup.py install --single-version-externally-managed --record=record.txt $PYTHON setup.py install --single-version-externally-managed --record=record.txt

Loading…
Cancel
Save