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 4389415800F for ; Wed, 8 Feb 2023 04:18:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C939E07D4; Wed, 8 Feb 2023 04:18:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3362E0536 for ; Wed, 8 Feb 2023 04:18:10 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6C64340E1E for ; Wed, 8 Feb 2023 04:18:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7273D89C for ; Wed, 8 Feb 2023 04:18:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1675829849.4f749acaea36d8ef66c2c4834c598247bb15ae41.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/roctracer/files/, dev-util/roctracer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/roctracer/files/roctracer-5.3.3-Werror.patch dev-util/roctracer/roctracer-5.3.3.ebuild X-VCS-Directories: dev-util/roctracer/ dev-util/roctracer/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4f749acaea36d8ef66c2c4834c598247bb15ae41 X-VCS-Branch: master Date: Wed, 8 Feb 2023 04:18: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: f1dd4a9b-901a-4e58-914f-c0e1f144944a X-Archives-Hash: ad69c6395f223b20ee6d3d77cda56f90 commit: 4f749acaea36d8ef66c2c4834c598247bb15ae41 Author: Yiyang Wu gmail com> AuthorDate: Wed Feb 1 09:45:56 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Feb 8 04:17:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f749aca dev-util/roctracer: strip -Werror and fix a configure issue hip-config.cmake run ${HIP_CXX_COMPILER} -print-resource-dir to determine some paths. By default, HIP_CXX_COMPILER=${CMAKE_CXX_COMPILER}=gcc, causing configuration issues, so set HIP_CXX_COMPILER=hipcc. Closes: https://bugs.gentoo.org/891945 Bug: https://bugs.gentoo.org/892730 Signed-off-by: Yiyang Wu gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29376 Signed-off-by: Sam James gentoo.org> dev-util/roctracer/files/roctracer-5.3.3-Werror.patch | 15 +++++++++++++++ dev-util/roctracer/roctracer-5.3.3.ebuild | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/dev-util/roctracer/files/roctracer-5.3.3-Werror.patch b/dev-util/roctracer/files/roctracer-5.3.3-Werror.patch new file mode 100644 index 000000000000..b932bb5cb5d3 --- /dev/null +++ b/dev-util/roctracer/files/roctracer-5.3.3-Werror.patch @@ -0,0 +1,15 @@ +Should not use the aggressive -Werror flag. + +Index: roctracer-rocm-5.3.3/CMakeLists.txt +=================================================================== +--- roctracer-rocm-5.3.3.orig/CMakeLists.txt ++++ roctracer-rocm-5.3.3/CMakeLists.txt +@@ -37,7 +37,7 @@ endif() + + set(CMAKE_CXX_STANDARD 17) + set(CMAKE_CXX_STANDARD_REQUIRED ON) +-add_compile_options(-Wall -Werror) ++add_compile_options(-Wall) + + set(THREADS_PREFER_PTHREAD_FLAG ON) + diff --git a/dev-util/roctracer/roctracer-5.3.3.ebuild b/dev-util/roctracer/roctracer-5.3.3.ebuild index a053427379df..23e3d7e714e7 100644 --- a/dev-util/roctracer/roctracer-5.3.3.ebuild +++ b/dev-util/roctracer/roctracer-5.3.3.ebuild @@ -31,7 +31,8 @@ BDEPEND=" " PATCHES=( "${FILESDIR}"/roctracer-5.3.3-flat-lib-layout.patch - "${FILESDIR}"/roctracer-5.3.3-do-not-install-test-files.patch ) + "${FILESDIR}"/roctracer-5.3.3-do-not-install-test-files.patch + "${FILESDIR}"/roctracer-5.3.3-Werror.patch ) python_check_deps() { python_has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]" \ @@ -51,6 +52,7 @@ src_configure() { -DCMAKE_MODULE_PATH="${EPREFIX}/usr/lib64/cmake/hip" -DAMDGPU_TARGETS="$(get_amdgpu_flags)" -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF + -DHIP_CXX_COMPILER=hipcc ) cmake_src_configure