mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-04-29 20:04:50 +02:00
Disable multi-threading via GIL
This commit is contained in:
parent
c9450bb1a7
commit
a733990fb4
@ -26,6 +26,8 @@ for file in $SWIG_LIST; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# run SWIG interface file to produce the Python wrappers
|
# 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 ..
|
cd ..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user