Skip to content

Commit

Permalink
Look in "/usr/local"
Browse files Browse the repository at this point in the history
  • Loading branch information
alugowski committed Jun 1, 2024
1 parent 38fe7be commit f42f731
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_graphblas_cffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ def tree(dir_path: Path, prefix: str=''):
# Windows wheels.yml configures suitesparse.sh to install GraphBLAS to "C:\\GraphBLAS".
graphblas_root = "C:\\GraphBLAS" if is_win else sys.prefix

#### TEST
if not is_win:
graphblas_root = "/usr/local"

include_dirs = [os.path.join(graphblas_root, "include")]
#### TEST
for line in tree(Path(include_dirs[0])):
Expand Down

0 comments on commit f42f731

Please sign in to comment.