(self)
| 1290 | return None |
| 1291 | |
| 1292 | def __init__(self): |
| 1293 | mklroot = self.get_mkl_rootdir() |
| 1294 | if mklroot is None: |
| 1295 | system_info.__init__(self) |
| 1296 | else: |
| 1297 | from .cpuinfo import cpu |
| 1298 | if cpu.is_Itanium(): |
| 1299 | plt = '64' |
| 1300 | elif cpu.is_Intel() and cpu.is_64bit(): |
| 1301 | plt = 'intel64' |
| 1302 | else: |
| 1303 | plt = '32' |
| 1304 | system_info.__init__( |
| 1305 | self, |
| 1306 | default_lib_dirs=[os.path.join(mklroot, 'lib', plt)], |
| 1307 | default_include_dirs=[os.path.join(mklroot, 'include')]) |
| 1308 | |
| 1309 | def calc_info(self): |
| 1310 | lib_dirs = self.get_lib_dirs() |
no test coverage detected