Wine build patch for OpenCL frozen mode

- PyOpenCL needs to be patched to work in frozen mode
This commit is contained in:
Peter Šurda 2020-04-27 09:41:49 +08:00
parent 31fc899060
commit 7fd6200fb1
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -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