1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-14 17:25:46 +02:00

Disable multi-threading via GIL

This commit is contained in:
q-posev 2022-05-04 15:07:41 +02:00
parent c9450bb1a7
commit a733990fb4

View File

@ -26,6 +26,8 @@ for file in $SWIG_LIST; do
done
# run SWIG interface file to produce the Python wrappers
swig -python -py3 -builtin -threads -o pyqmckl_wrap.c pyqmckl.i
# `-threads` to release GIL before the call to C functions (for multi-threading)
# `-builtin` to activate Python-ic built-in types
swig -python -py3 -builtin -o qmckl_wrap.c pyqmckl.i
cd ..