(self)
| 60 | f"ArrayFire {ARRAYFIRE_VERSION} successfully unpacked.") |
| 61 | |
| 62 | def _process_arrayfire(self): |
| 63 | # Install ArrayFire to requisite path |
| 64 | self.af_unpack_path = os.path.join(self.source_folder, 'arrayfire') |
| 65 | |
| 66 | # Only proceed if missing |
| 67 | if os.path.exists(os.path.join(self.af_unpack_path, 'include', 'arrayfire.h')): |
| 68 | self.output.info( |
| 69 | f"ArrayFire {ARRAYFIRE_VERSION} already unpacked - skipping.") |
| 70 | else: |
| 71 | self._download_arrayfire() |
| 72 | self._unpack_arrayfire() |
| 73 | |
| 74 | def build(self): |
| 75 | self._process_arrayfire() |
no test coverage detected