From owner-svn-ports-all@freebsd.org Tue Sep 8 14:22:39 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 465093CAE9C; Tue, 8 Sep 2020 14:22:39 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bm6mv19fFz3ZC1; Tue, 8 Sep 2020 14:22:39 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0B43611E97; Tue, 8 Sep 2020 14:22:39 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 088EMcoV025700; Tue, 8 Sep 2020 14:22:38 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 088EMca2025698; Tue, 8 Sep 2020 14:22:38 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202009081422.088EMca2025698@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 8 Sep 2020 14:22:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547985 - in head/misc/ngraph: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/misc/ngraph: . files X-SVN-Commit-Revision: 547985 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 14:22:39 -0000 Author: pkubaj Date: Tue Sep 8 14:22:38 2020 New Revision: 547985 URL: https://svnweb.freebsd.org/changeset/ports/547985 Log: misc/ngraph: fix build on powerpc64 head Disable -Werror and -pedantic-errors: In file included from /wrkdirs/usr/ports/misc/ngraph/work/ngraph-0.29.0-rc.0-345-g58b649aa6/src/ngraph/runtime/cpu/cpu_backend.cpp:30: In file included from /wrkdirs/usr/ports/misc/ngraph/work/ngraph-0.29.0-rc.0-345-g58b649aa6/src/ngraph/runtime/cpu/cpu_external_function.hpp:46: In file included from /wrkdirs/usr/ports/misc/ngraph/work/ngraph-0.29.0-rc.0-345-g58b649aa6/src/ngraph/runtime/cpu/mkldnn_emitter.hpp:49: In file included from /wrkdirs/usr/ports/misc/ngraph/work/ngraph-0.29.0-rc.0-345-g58b649aa6/src/ngraph/runtime/cpu/cpu_executor.hpp:27: In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/Tensor:14: In file included from /usr/local/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/Core:397: /usr/local/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AltiVec/PacketMath.h:77:27: error: generic selections are a C11-specific feature [-Werror,-Wc11-extensions] static Packet4f p4f_ONE = vec_ctf(p4i_ONE, 0); //{ 1.0, 1.0, 1.0, 1.0} ^ /usr/local/llvm90/lib/clang/9.0.1/include/altivec.h:2894:3: note: expanded from macro 'vec_ctf' _Generic((__a), vector int \ ^ Added: head/misc/ngraph/files/patch-cmake_clang__4__0__flags.cmake (contents, props changed) Modified: head/misc/ngraph/Makefile Modified: head/misc/ngraph/Makefile ============================================================================== --- head/misc/ngraph/Makefile Tue Sep 8 14:18:36 2020 (r547984) +++ head/misc/ngraph/Makefile Tue Sep 8 14:22:38 2020 (r547985) @@ -22,7 +22,7 @@ USE_GITHUB= yes GH_ACCOUNT= NervanaSystems USE_LDCONFIG= yes -CMAKE_OFF= NGRAPH_UNIT_TEST_ENABLE NGRAPH_TEST_UTIL_ENABLE NGRAPH_TBB_ENABLE NGRAPH_JSON_ENABLE NGRAPH_MLIR_ENABLE NGRAPH_CODEGEN_ENABLE +CMAKE_OFF= NGRAPH_UNIT_TEST_ENABLE NGRAPH_TEST_UTIL_ENABLE NGRAPH_TBB_ENABLE NGRAPH_JSON_ENABLE NGRAPH_MLIR_ENABLE NGRAPH_CODEGEN_ENABLE NGRAPH_STRICT_ERROR_CHECK CMAKE_ON= NGRAPH_USE_PREBUILT_LLVM CMAKE_ARGS= -DClang_DIR=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/clang \ -DTBB_ROOT=${LOCALBASE} Added: head/misc/ngraph/files/patch-cmake_clang__4__0__flags.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/ngraph/files/patch-cmake_clang__4__0__flags.cmake Tue Sep 8 14:22:38 2020 (r547985) @@ -0,0 +1,10 @@ +--- cmake/clang_4_0_flags.cmake.orig 2020-09-08 10:11:48 UTC ++++ cmake/clang_4_0_flags.cmake +@@ -17,7 +17,6 @@ + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=inconsistent-missing-override") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=comment") +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic-errors") + if(NGRAPH_STRICT_ERROR_CHECK) + # These flags are for clang-8 + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Weverything")