(self)
| 1974 | return getattr(self, '_calc_info_{}'.format(name))() |
| 1975 | |
| 1976 | def calc_info(self): |
| 1977 | lapack_order, unknown_order = _parse_env_order(self.lapack_order, self.order_env_var_name) |
| 1978 | if len(unknown_order) > 0: |
| 1979 | raise ValueError("lapack_opt_info user defined " |
| 1980 | "LAPACK order has unacceptable " |
| 1981 | "values: {}".format(unknown_order)) |
| 1982 | |
| 1983 | if 'NPY_LAPACK_LIBS' in os.environ: |
| 1984 | # Bypass autodetection, set language to F77 and use env var linker |
| 1985 | # flags directly |
| 1986 | self._calc_info_from_envvar() |
| 1987 | return |
| 1988 | |
| 1989 | for lapack in lapack_order: |
| 1990 | if self._calc_info(lapack): |
| 1991 | return |
| 1992 | |
| 1993 | if 'lapack' not in lapack_order: |
| 1994 | # Since the user may request *not* to use any library, we still need |
| 1995 | # to raise warnings to signal missing packages! |
| 1996 | warnings.warn(LapackNotFoundError.__doc__ or '', stacklevel=2) |
| 1997 | warnings.warn(LapackSrcNotFoundError.__doc__ or '', stacklevel=2) |
| 1998 | |
| 1999 | |
| 2000 | class _ilp64_opt_info_mixin: |
nothing calls this directly
no test coverage detected