| 37 | self.requires('glfw/3.3.2@bincrafters/stable') |
| 38 | |
| 39 | def _download_arrayfire(self): |
| 40 | self.af_installer_local_path = BINARY_INSTALLER_NAME |
| 41 | if not os.path.exists(self.af_installer_local_path): |
| 42 | self.output.info( |
| 43 | f"Downloading the ArrayFire {ARRAYFIRE_VERSION} binary installer...") |
| 44 | tools.download( |
| 45 | f"https://arrayfire.s3.amazonaws.com/{ARRAYFIRE_VERSION}/{BINARY_INSTALLER_NAME}", self.af_installer_local_path) |
| 46 | self.output.success( |
| 47 | f"ArrayFire {ARRAYFIRE_VERSION} binary installer successfully downloaded to {self.af_installer_local_path}") |
| 48 | else: |
| 49 | self.output.info( |
| 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): |