Skip to content

Commit a6ba630

Browse files
author
Matthias Koeppe
committed
src/setup.py: Use SAGE_NUM_THREADS for cythonizing instead of hardcoded 4
1 parent 0082bdd commit a6ba630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
aliases=cython_aliases(),
125125
create_extension=create_extension,
126126
gdb_debug=gdb_debug,
127-
nthreads=4)
127+
nthreads=sage_build_ext_minimal.get_default_number_build_jobs())
128128
except Exception as exception:
129129
log.warn(f"Exception while cythonizing source files: {repr(exception)}")
130130
raise

0 commit comments

Comments
 (0)