We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b27a84 commit bb3ec65Copy full SHA for bb3ec65
build_graphblas_cffi.py
@@ -17,7 +17,14 @@
17
18
if not graphblas_root:
19
# Windows wheels.yml configures suitesparse.sh to install GraphBLAS to "C:\\GraphBLAS".
20
- graphblas_root = "C:\\GraphBLAS" if is_win else "/usr/local"
+ if is_win:
21
+ graphblas_root = "C:\\GraphBLAS"
22
+ elif Path("/usr/local/include/suitesparse").exists():
23
+ # SuiteSparse:GraphBLAS 9.1+ built by suitesparse.sh
24
+ graphblas_root = "/usr/local"
25
+ else:
26
+ # Conda install
27
+ graphblas_root = sys.prefix
28
29
include_dirs = [
30
os.path.join(graphblas_root, "include"),
0 commit comments