MCPcopy Create free account
hub / github.com/numpy/numpy / get_flags_opt

Method get_flags_opt

numpy/distutils/fcompiler/intel.py:59–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 return ['-fPIC']
58
59 def get_flags_opt(self): # Scipy test failures with -O2
60 v = self.get_version()
61 mpopt = 'openmp' if v and v < '15' else 'qopenmp'
62 return ['-fp-model', 'strict', '-O1',
63 '-assume', 'minus0', '-{}'.format(mpopt)]
64
65 def get_flags_arch(self):
66 return []

Callers

nothing calls this directly

Calls 1

get_versionMethod · 0.45

Tested by

no test coverage detected