[Piglit] [PATCH] cmake: Require numpy >= 1.6.2

Vinson Lee vlee at freedesktop.org
Mon Jan 19 10:32:49 PST 2015


On Mon, Jan 19, 2015 at 10:24 AM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> The test generator for arb_shader_precision cannot be generated by numpy
> < 1.6.2, probably due to numpy upstream bug #1675, which was fixed in
> 1.6.2.
>
> cc: vlee at freedesktop.org
> bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88595
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  CMakeLists.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index 8cf046d..b65f990 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -188,7 +188,7 @@ IF(PIGLIT_BUILD_GLX_TESTS)
>  ENDIF()
>
>  find_package(PythonInterp 2.7 REQUIRED)
> -find_package(PythonNumpy REQUIRED)
> +find_package(PythonNumpy 1.6.2 REQUIRED)
>  find_package(PythonMako 0.7.3 REQUIRED)
>
>  # Default to compiling with debug information (`gcc -g`):
> --
> 2.2.1
>

Reviewed-by: Vinson Lee <vlee at freedesktop.org>


More information about the Piglit mailing list