aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/build
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py/build')
-rw-r--r--externals/grill/py/build/config-lnx.def3
-rw-r--r--externals/grill/py/build/config-mac.def3
-rw-r--r--externals/grill/py/build/config-win.def3
-rw-r--r--externals/grill/py/build/gnumake-lnx-gcc.inc3
-rw-r--r--externals/grill/py/build/gnumake-mac-gcc.inc3
-rw-r--r--externals/grill/py/build/gnumake-win-cygwin.inc3
-rw-r--r--externals/grill/py/build/nmake-win-msvc.inc3
7 files changed, 21 insertions, 0 deletions
diff --git a/externals/grill/py/build/config-lnx.def b/externals/grill/py/build/config-lnx.def
index e19f03bc..10e518f5 100644
--- a/externals/grill/py/build/config-lnx.def
+++ b/externals/grill/py/build/config-lnx.def
@@ -9,3 +9,6 @@ PYTHONVERSION=2.4
PY_NUMPY=1
# PY_NUMARRAY=1
# PY_NUMERIC=1
+
+# use thread-safe GIL functionality (do this for python version >= 2.3!)
+PY_USE_GIL=1 \ No newline at end of file
diff --git a/externals/grill/py/build/config-mac.def b/externals/grill/py/build/config-mac.def
index 57f6e3d5..752ee335 100644
--- a/externals/grill/py/build/config-mac.def
+++ b/externals/grill/py/build/config-mac.def
@@ -3,3 +3,6 @@
PY_NUMPY=1
# PY_NUMARRAY=1
# PY_NUMERIC=1
+
+# use thread-safe GIL functionality (do this for python version >= 2.3!)
+PY_USE_GIL=1 \ No newline at end of file
diff --git a/externals/grill/py/build/config-win.def b/externals/grill/py/build/config-win.def
index fee70e7b..98ab5552 100644
--- a/externals/grill/py/build/config-win.def
+++ b/externals/grill/py/build/config-win.def
@@ -9,3 +9,6 @@ PYTHONPATH=%programfiles%/python$(PYTHONVER)
PY_NUMPY=1
# PY_NUMARRAY=1
# PY_NUMERIC=1
+
+# use thread-safe GIL functionality (do this for python version >= 2.3!)
+PY_USE_GIL=1 \ No newline at end of file
diff --git a/externals/grill/py/build/gnumake-lnx-gcc.inc b/externals/grill/py/build/gnumake-lnx-gcc.inc
index 483bb514..2babf197 100644
--- a/externals/grill/py/build/gnumake-lnx-gcc.inc
+++ b/externals/grill/py/build/gnumake-lnx-gcc.inc
@@ -12,3 +12,6 @@ ifdef PY_NUMERIC
DEFS += -DPY_NUMERIC
endif
+ifdef PY_USE_GIL
+DEFS += -DPY_USE_GIL
+endif
diff --git a/externals/grill/py/build/gnumake-mac-gcc.inc b/externals/grill/py/build/gnumake-mac-gcc.inc
index c7080d47..8f8591af 100644
--- a/externals/grill/py/build/gnumake-mac-gcc.inc
+++ b/externals/grill/py/build/gnumake-mac-gcc.inc
@@ -12,3 +12,6 @@ ifdef PY_NUMERIC
DEFS += -DPY_NUMERIC
endif
+ifdef PY_USE_GIL
+DEFS += -DPY_USE_GIL
+endif \ No newline at end of file
diff --git a/externals/grill/py/build/gnumake-win-cygwin.inc b/externals/grill/py/build/gnumake-win-cygwin.inc
index 102c2ecd..d9487833 100644
--- a/externals/grill/py/build/gnumake-win-cygwin.inc
+++ b/externals/grill/py/build/gnumake-win-cygwin.inc
@@ -13,3 +13,6 @@ ifdef PY_NUMERIC
DEFS += -DPY_NUMERIC
endif
+ifdef PY_USE_GIL
+DEFS += -DPY_USE_GIL
+endif \ No newline at end of file
diff --git a/externals/grill/py/build/nmake-win-msvc.inc b/externals/grill/py/build/nmake-win-msvc.inc
index 0820daf9..a23e03ca 100644
--- a/externals/grill/py/build/nmake-win-msvc.inc
+++ b/externals/grill/py/build/nmake-win-msvc.inc
@@ -14,3 +14,6 @@ DEFS = $(DEFS) /DPY_NUMPY
DEFS = $(DEFS) /DPY_NUMERIC
!endif
+!ifdef PY_USE_GIL
+DEFS = $(DEFS) /DPY_USE_GIL
+!endif