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

Method get_flags

numpy/distutils/fcompiler/absoft.py:105–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 return opt
104
105 def get_flags(self):
106 opt = FCompiler.get_flags(self)
107 if os.name != 'nt':
108 opt.extend(['-s'])
109 if self.get_version():
110 if self.get_version()>='8.2':
111 opt.append('-fpic')
112 return opt
113
114 def get_flags_f77(self):
115 opt = FCompiler.get_flags_f77(self)

Callers

nothing calls this directly

Calls 1

get_versionMethod · 0.45

Tested by

no test coverage detected