[Beignet] [PATCH v3] disable overflow utest test before llvm-3.5
Zhigang Gong
zhigang.gong at linux.intel.com
Mon Dec 15 22:42:47 PST 2014
LGTM, will push latter, thanks.
On Mon, Dec 15, 2014 at 03:59:30PM +0800, xionghu.luo at intel.com wrote:
> From: Luo Xionghu <xionghu.luo at intel.com>
>
> the overflow intrinsics are introduced since llvm-3.5.
>
> v2: no need to exclude bswap test since llvm-3.3 supports it.
>
> v3: disable the overflow utest in cmake instead of code.
>
> Signed-off-by: Luo Xionghu <xionghu.luo at intel.com>
> ---
> utests/CMakeLists.txt | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt
> index 05f1fcf..5b29c0b 100644
> --- a/utests/CMakeLists.txt
> +++ b/utests/CMakeLists.txt
> @@ -104,7 +104,6 @@ set (utests_sources
> compiler_write_only.cpp
> compiler_write_only_shorts.cpp
> compiler_switch.cpp
> - compiler_overflow.cpp
> compiler_bswap.cpp
> compiler_math.cpp
> compiler_atomic_functions.cpp
> @@ -203,6 +202,12 @@ set (utests_sources
> utest_file_map.cpp
> utest_helper.cpp)
>
> +if (LLVM_VERSION_NODOT VERSION_GREATER 34)
> + SET(utests_sources
> + ${utests_sources}
> + compiler_overflow.cpp)
> +endif (LLVM_VERSION_NODOT VERSION_GREATER 34)
> +
> if (X11_FOUND)
> SET(utests_sources
> ${utests_sources}
> --
> 1.7.9.5
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list