Skip to content
Snippets Groups Projects
Commit ebef9628 authored by Sergey Kosukhin's avatar Sergey Kosukhin Committed by Todd Gamblin
Browse files

Update gmp: fixed an issue with intel compiler. (#1898)

parent 6e9353f1
Branches
Tags
No related merge requests found
......@@ -40,8 +40,14 @@ class Gmp(Package):
depends_on('m4', type='build')
def install(self, spec, prefix):
configure('--prefix={0}'.format(prefix),
'--enable-cxx')
config_args = ['--prefix=' + prefix,
'--enable-cxx']
# We need this flag if we want all the following checks to pass.
if spec.compiler.name == 'intel':
config_args.append('CXXFLAGS=-no-ftz')
configure(*config_args)
make()
make('check')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment