(wrapped_routines, ignores, lapack_dir)
| 201 | print('\t%s' % r.name) |
| 202 | |
| 203 | def getLapackRoutines(wrapped_routines, ignores, lapack_dir): |
| 204 | blas_src_dir = os.path.join(lapack_dir, 'BLAS', 'SRC') |
| 205 | if not os.path.exists(blas_src_dir): |
| 206 | blas_src_dir = os.path.join(lapack_dir, 'blas', 'src') |
| 207 | lapack_src_dir = os.path.join(lapack_dir, 'SRC') |
| 208 | if not os.path.exists(lapack_src_dir): |
| 209 | lapack_src_dir = os.path.join(lapack_dir, 'src') |
| 210 | install_src_dir = os.path.join(lapack_dir, 'INSTALL') |
| 211 | if not os.path.exists(install_src_dir): |
| 212 | install_src_dir = os.path.join(lapack_dir, 'install') |
| 213 | |
| 214 | library = LapackLibrary([install_src_dir, blas_src_dir, lapack_src_dir]) |
| 215 | |
| 216 | for r in ignores: |
| 217 | library.addIgnorableRoutine(r) |
| 218 | |
| 219 | for w in wrapped_routines: |
| 220 | library.addRoutine(w) |
| 221 | |
| 222 | library.resolveAllDependencies() |
| 223 | |
| 224 | return library |
| 225 | |
| 226 | def getWrappedRoutineNames(wrapped_routines_file): |
| 227 | routines = [] |
no test coverage detected