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

Method get_library_dirs

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

Source from the content-addressed store, hash-verified

73 return "-l" + lib
74
75 def get_library_dirs(self):
76 opt = FCompiler.get_library_dirs(self)
77 d = os.environ.get('ABSOFT')
78 if d:
79 if self.get_version() >= '10.0':
80 # use shared libraries, the static libraries were not compiled -fPIC
81 prefix = 'sh'
82 else:
83 prefix = ''
84 if cpu.is_64bit():
85 suffix = '64'
86 else:
87 suffix = ''
88 opt.append(os.path.join(d, '%slib%s' % (prefix, suffix)))
89 return opt
90
91 def get_libraries(self):
92 opt = FCompiler.get_libraries(self)

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
get_versionMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected