| 50 | f"ArrayFire {ARRAYFIRE_VERSION} binary installer already exists - skipping download.") |
| 51 | |
| 52 | def _unpack_arrayfire(self): |
| 53 | if not os.path.exists(self.af_unpack_path): |
| 54 | os.mkdir(self.af_unpack_path) |
| 55 | self.output.info( |
| 56 | f"Unpacking ArrayFire {ARRAYFIRE_VERSION} binary installer...") |
| 57 | cmd = f"bash {self.af_installer_local_path} --prefix={self.af_unpack_path} --skip-license" |
| 58 | self.run(cmd) |
| 59 | self.output.success( |
| 60 | f"ArrayFire {ARRAYFIRE_VERSION} successfully unpacked.") |
| 61 | |
| 62 | def _process_arrayfire(self): |
| 63 | # Install ArrayFire to requisite path |