From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21F0E158020 for ; Thu, 22 Dec 2022 06:46:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56356E07EE; Thu, 22 Dec 2022 06:46:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D923E07EE for ; Thu, 22 Dec 2022 06:46:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28221340B37 for ; Thu, 22 Dec 2022 06:46:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C62D771 for ; Thu, 22 Dec 2022 06:46:08 +0000 (UTC) From: "Denis Reva" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Denis Reva" Message-ID: <1671691564.4b35f21d43dcb365da67fce9899e659a21fa79a5.RarogCmex@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/, media-libs/amdvlk/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-libs/amdvlk/amdvlk-2022.4.4.ebuild media-libs/amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch X-VCS-Directories: media-libs/amdvlk/files/ media-libs/amdvlk/ X-VCS-Committer: RarogCmex X-VCS-Committer-Name: Denis Reva X-VCS-Revision: 4b35f21d43dcb365da67fce9899e659a21fa79a5 X-VCS-Branch: dev Date: Thu, 22 Dec 2022 06:46:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fdf56f38-e629-497e-aaf9-8c53df41cdba X-Archives-Hash: 408b49630fb9f9929937489c6467e1b1 commit: 4b35f21d43dcb365da67fce9899e659a21fa79a5 Author: Denis Reva gmail com> AuthorDate: Thu Dec 22 06:45:51 2022 +0000 Commit: Denis Reva gmail com> CommitDate: Thu Dec 22 06:46:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b35f21d media-libs/amdvlk: Disabled adding werror on it's own Closes: https://bugs.gentoo.org/887777 Signed-off-by: Denis Reva gmail.com> media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 9 ++++++++- .../amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch | 13 +++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild index 38fe858d0..27a9903d6 100644 --- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild +++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild @@ -68,6 +68,7 @@ PATCHES=( "${FILESDIR}/amdvlk-2022.4.2-license-path.patch" #878803 "${FILESDIR}/amdvlk-2022.4.2-reduced-llvm-installations.patch" "${FILESDIR}/amdvlk-2022.4.2-reduced-llvm-installations-part2.patch" + "${FILESDIR}/amdvlk-2022.4.4-r1-disable-Werror.patch" #887777 ) src_prepare() { @@ -90,11 +91,17 @@ multilib_src_configure() { -DVKI_RAY_TRACING=$(usex raytracing) -DLLVM_VERSION_SUFFIX="-amdvlk" -DLLVM_HOST_TRIPLE="${CHOST}" + -DLLVM_ENABLE_WERROR=OFF + -DSPVGEN_ENABLE_WERROR=OFF + -DENABLE_WERROR=OFF + -DVAM_ENABLE_WERROR=OFF + -DICD_ANALYSIS_WARNINGS_AS_ERRORS=OFF + -DMETROHASH_ENABLE_WERROR=OFF -DBUILD_SHARED_LIBS=OFF #LLVM parts don't support shared libs -DPython3_EXECUTABLE="${PYTHON}" -DPACKAGE_VERSION="${PV}" -DPACKAGE_NAME="${PN}" - -DLLVM_INSTALL_TOOLCHAIN_ONLY=On #Disable installation of various LLVM parts which we had to clean up. + -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON #Disable installation of various LLVM parts which we had to clean up. -Wno-dev ) cmake_src_configure diff --git a/media-libs/amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch b/media-libs/amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch new file mode 100644 index 000000000..01c28e0ea --- /dev/null +++ b/media-libs/amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch @@ -0,0 +1,13 @@ +diff --git a/pal/shared/devdriver/cmake/DevDriver.cmake b/pal/shared/devdriver/cmake/DevDriver.cmake +index b3f2e7e48..cbd9f7839 100644 +--- a/pal/shared/devdriver/cmake/DevDriver.cmake ++++ b/pal/shared/devdriver/cmake/DevDriver.cmake +@@ -111,7 +111,7 @@ function(apply_devdriver_warnings name) + target_compile_options(${name} PRIVATE + -Wall # Enable all warnings. + -Wextra # Enable extra warnings that are not enabled by -Wall. +- -Werror # warning as error ++ #-Werror # warning as error + ) + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + target_compile_options(${name} PRIVATE