public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Denis Reva" <denis7774@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/, media-libs/amdvlk/files/
Date: Thu, 22 Dec 2022 06:46:08 +0000 (UTC)	[thread overview]
Message-ID: <1671691564.4b35f21d43dcb365da67fce9899e659a21fa79a5.RarogCmex@gentoo> (raw)

commit:     4b35f21d43dcb365da67fce9899e659a21fa79a5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Dec 22 06:45:51 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> 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 <denis7774 <AT> 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


             reply	other threads:[~2022-12-22  6:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-22  6:46 Denis Reva [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-13 19:52 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/, media-libs/amdvlk/files/ David Roman
2024-12-05  8:10 Denis Reva
2025-02-09 22:40 Quinet Charlie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1671691564.4b35f21d43dcb365da67fce9899e659a21fa79a5.RarogCmex@gentoo \
    --to=denis7774@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox