reverting inadvertent change on develop

This commit is contained in:
miller86 2017-06-19 15:43:15 -07:00
parent 3bb64b600a
commit a0a58d4076

View File

@ -55,16 +55,8 @@ def install(self, spec, prefix):
if sys.platform != 'darwin': if sys.platform != 'darwin':
raise InstallError('vecLibFort can be installed on macOS only') raise InstallError('vecLibFort can be installed on macOS only')
filter_file(r'^PREFIX=.*', '', 'Makefile') make('all')
make('PREFIX=%s' % prefix, 'install')
make_args = []
if spec.satisfies('%gcc@6:'):
make_args += ['CFLAGS=-flax-vector-conversions']
make_args += ['PREFIX=%s' % prefix, 'install']
make(*make_args)
# test # test
fc = which('fc') fc = which('fc')