#!/bin/bash cd ../fortran gfortran -E ompgen.F90 -fopenmp -cpp -o omp.f90 f2py *.f90 -m _wrffortran -h wrffortran.pyf --overwrite-signature cd .. if [$CONCDA_BUILD == 1] if [ `uname` == Darwin ]; then LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle" fi $PYTHON setup.py clean --all $PYTHON setup.py config_fc --f90flags="-mtune=generic -fopenmp" build_ext --libraries="gomp" build $PYTHON setup.py install --single-version-externally-managed --record=record.txt else python setup.py clean --all python setup.py config_fc --f90flags="-mtune=generic -fopenmp" build_ext --libraries="gomp" build pip install . fi