From 0171b31612734629cd1184f0fdbb31d2334fefd4 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Thu, 23 Apr 2020 22:05:08 +0100 Subject: [PATCH] dev-libs/level-zero: Remove redundant check for C++14 support At this point in time we would be hard pressed to find a C++ compiler in the tree without *C++17* support, let alone C++14. Signed-off-by: Marek Szuba --- dev-libs/level-zero/level-zero-0.91.10.ebuild | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dev-libs/level-zero/level-zero-0.91.10.ebuild b/dev-libs/level-zero/level-zero-0.91.10.ebuild index 3624672b5a4d..99ac29609fcd 100644 --- a/dev-libs/level-zero/level-zero-0.91.10.ebuild +++ b/dev-libs/level-zero/level-zero-0.91.10.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake flag-o-matic +inherit cmake DESCRIPTION="oneAPI Level Zero headers, loader and validation layer" HOMEPAGE="https://github.com/oneapi-src/level-zero" @@ -18,17 +18,6 @@ DEPEND="dev-util/opencl-headers" RESTRICT="!test? ( test )" -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - if ! test-flag-CXX -std=c++14; then - eerror "${P} requires C++14-capable C++ compiler. Your current compiler" - eerror "does not seem to support -std=c++14 option. Please upgrade your compiler" - eerror "to gcc-4.9 or an equivalent version supporting C++14." - die "Currently active compiler does not support -std=c++14" - fi - fi -} - src_prepare() { cmake_src_prepare # According to upstream, release tarballs should contain this file -- 2.26.2