[Piglit] [PATCH] cmake: Require NumPy >= 1.9.0.

Vinson Lee vlee at freedesktop.org
Sun Jul 3 05:33:47 UTC 2016


Dtype parameter was added to np.linspace in NumPy 1.9.0.

http://docs.scipy.org/doc/numpy/release.html#dtype-parameter-added-to-np-linspace-and-np-logspace

Fixes: 7a11be33e419 ("arb_gpu_shader_int64: add test generation to standard testing template")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96787
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8e2abbad6730..c53cb5e100cf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -205,7 +205,7 @@ set(Python_ADDITIONAL_VERSIONS
     3.5 3.4 3.3 2.7)
 find_package(PythonInterp REQUIRED)
 find_package(PythonSix 1.5.2 REQUIRED)
-find_package(PythonNumpy 1.7.0 REQUIRED)
+find_package(PythonNumpy 1.9.0 REQUIRED)
 
 # CMake doesn't have a VERSION_GREATER_EQUAL function, at least as of 3.0,
 # And mako 1.0.2 contains bug fixes required for python 3.5 to work, so
-- 
2.9.0



More information about the Piglit mailing list