Skip to content

Commit 270cffa

Browse files
committed
tweaks
1 parent 6a8c53c commit 270cffa

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

build_graphblas_cffi.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ def tree(dir_path: Path, prefix: str=''):
5656

5757
include_dirs = [os.path.join(graphblas_root, "include")]
5858
#### TEST
59-
for i, line in enumerate(tree(Path(graphblas_root))):
60-
print(line)
61-
if i > 30:
62-
break
59+
# for i, line in enumerate(tree(Path(graphblas_root))):
60+
# print(line)
61+
# if i > 30:
62+
# break
6363
#### TEST
6464
include_dirs.append(os.path.join(graphblas_root, "include", "suitesparse"))
6565
library_dirs = [os.path.join(graphblas_root, "lib"), os.path.join(graphblas_root, "lib64")]

suitesparse.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,13 @@ else
121121
# Use `-DJITINIT=2` so that the JIT functionality is available, but disabled by default.
122122
# Level 2, "run", means that pre-JIT kernels may be used, which does not require a compiler at runtime.
123123
cmake_params+=(-DJITINIT=2)
124+
125+
# Disable JIT here too to not segfault in tests
126+
cmake_params+=(-DGRAPHBLAS_USE_JIT=OFF)
124127
fi
125128

126129
# some platforms require sudo for installation, some don't have sudo at all
127-
if command -v sudo; then
130+
if [ "$(uname)" == "Darwin" ]; then
128131
SUDO=sudo
129132
else
130133
SUDO=""

0 commit comments

Comments
 (0)