From e1a30b51722e7b09d7a04ec85914b4c2fcf9790e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 30 Jul 2013 09:46:50 -0400 Subject: [PATCH] Quote CL include path (in case there are spaces) --- pyopencl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index 85791809..bbcf5282 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -138,7 +138,7 @@ class Program(object): if isinstance(options, str): options = [options] - options = options + ["-I", _find_pyopencl_include_path()] + options = options + ["-I", '"%s"' % _find_pyopencl_include_path()] import os forced_options = os.environ.get("PYOPENCL_BUILD_OPTIONS") -- GitLab