From 7fd6200fb14cc287185c33bbeb4e3ac225403b8b Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 27 Apr 2020 09:41:49 +0800 Subject: [PATCH] Wine build patch for OpenCL frozen mode - PyOpenCL needs to be patched to work in frozen mode --- buildscripts/winbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/winbuild.sh b/buildscripts/winbuild.sh index 415d91f2..da5997bd 100755 --- a/buildscripts/winbuild.sh +++ b/buildscripts/winbuild.sh @@ -124,9 +124,9 @@ function install_pyopencl() else wine python -m pip install pyopencl-2015.1-cp27-none-win32.whl fi + sed -Ei 's/_DEFAULT_INCLUDE_OPTIONS = .*/_DEFAULT_INCLUDE_OPTIONS = [] /' $WINEPREFIX/drive_c/Python27/Lib/site-packages/pyopencl/__init__.py } - function build_dll(){ cd ${BASE_DIR} cd src/bitmsghash