Skip to content

Commit 2580a67

Browse files
committed
Add lib64
1 parent a96d9ae commit 2580a67

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- Test PyPI
1818

1919
push:
20-
branches: [ main ]
20+
# branches: [ main ]
2121

2222
pull_request:
2323

build_graphblas_cffi.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,19 @@ def tree(dir_path: Path, prefix: str=''):
4848
# Windows wheels.yml configures suitesparse.sh to install GraphBLAS to "C:\\GraphBLAS".
4949
graphblas_root = "C:\\GraphBLAS" if is_win else sys.prefix
5050

51-
#### TEST
52-
if not is_win:
53-
graphblas_root = "/usr/local"
54-
5551
include_dirs = [os.path.join(graphblas_root, "include")]
5652
#### TEST
57-
for line in tree(Path(include_dirs[0])):
53+
for line in tree(Path(graphblas_root)):
5854
print(line)
5955
#### TEST
6056
include_dirs.append(os.path.join(graphblas_root, "include", "suitesparse"))
61-
library_dirs = [os.path.join(graphblas_root, "lib")]
57+
library_dirs = [os.path.join(graphblas_root, "lib"), os.path.join(graphblas_root, "lib64")]
6258
if is_win:
6359
include_dirs.append(os.path.join(sys.prefix, "Library", "include"))
64-
include_dirs.append(os.path.join(sys.prefix, "Library", "include", "suitesparse"))
60+
# include_dirs.append(os.path.join(sys.prefix, "Library", "include", "suitesparse"))
6561
library_dirs.append(os.path.join(sys.prefix, "Library", "lib"))
6662

67-
include_dirs.append(os.path.join(graphblas_root, "include"))
63+
# include_dirs.append(os.path.join(graphblas_root, "include"))
6864
include_dirs.append(os.path.join(graphblas_root, "include", "suitesparse"))
6965
library_dirs.append(os.path.join(graphblas_root, "lib"))
7066
library_dirs.append(os.path.join(graphblas_root, "bin"))

0 commit comments

Comments
 (0)