Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
alugowski committed Jun 3, 2024
1 parent 6a8c53c commit 270cffa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build_graphblas_cffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ def tree(dir_path: Path, prefix: str=''):

include_dirs = [os.path.join(graphblas_root, "include")]
#### TEST
for i, line in enumerate(tree(Path(graphblas_root))):
print(line)
if i > 30:
break
# for i, line in enumerate(tree(Path(graphblas_root))):
# print(line)
# if i > 30:
# break
#### TEST
include_dirs.append(os.path.join(graphblas_root, "include", "suitesparse"))
library_dirs = [os.path.join(graphblas_root, "lib"), os.path.join(graphblas_root, "lib64")]
Expand Down
5 changes: 4 additions & 1 deletion suitesparse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,13 @@ else
# Use `-DJITINIT=2` so that the JIT functionality is available, but disabled by default.
# Level 2, "run", means that pre-JIT kernels may be used, which does not require a compiler at runtime.
cmake_params+=(-DJITINIT=2)

# Disable JIT here too to not segfault in tests
cmake_params+=(-DGRAPHBLAS_USE_JIT=OFF)
fi

# some platforms require sudo for installation, some don't have sudo at all
if command -v sudo; then
if [ "$(uname)" == "Darwin" ]; then
SUDO=sudo
else
SUDO=""
Expand Down

0 comments on commit 270cffa

Please sign in to comment.