mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-22 20:36:01 +01: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
|
||||
|
||||
# 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 ..
|
||||
|
Loading…
Reference in New Issue
Block a user