Skip to content

Commit 3f29283

Browse files
committed
oops windows
1 parent 5e5eced commit 3f29283

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

suitesparse_graphblas/build.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88

99
ffibuilder = FFI()
1010

11-
with open(os.path.join(thisdir, "source.c")) as f:
11+
if is_win:
12+
source_filename = "source_no_complex.c"
13+
else:
14+
source_filename = "source.c"
15+
16+
with open(os.path.join(thisdir, source_filename)) as f:
1217
source = f.read()
1318

1419
include_dirs = [os.path.join(sys.prefix, "include")]

0 commit comments

Comments
 (0)