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 8F099158094 for ; Wed, 22 Jun 2022 18:35:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8013E0A63; Wed, 22 Jun 2022 18:35:16 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 864A3E0A63 for ; Wed, 22 Jun 2022 18:35:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 5A1C3341844 for ; Wed, 22 Jun 2022 18:35:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A42DC4C3 for ; Wed, 22 Jun 2022 18:35:13 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1655922903.548d7270d6a895bcd7ce4af5bb6417e8508d2175.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rocprofiler/files/, dev-util/rocprofiler/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rocprofiler/files/rocprofiler-4.3.0-ldflag.patch dev-util/rocprofiler/files/rocprofiler-4.3.0-nostrip.patch dev-util/rocprofiler/rocprofiler-4.3.0.ebuild dev-util/rocprofiler/rocprofiler-5.0.2.ebuild X-VCS-Directories: dev-util/rocprofiler/files/ dev-util/rocprofiler/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 548d7270d6a895bcd7ce4af5bb6417e8508d2175 X-VCS-Branch: master Date: Wed, 22 Jun 2022 18:35:13 +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: b0861010-ce9c-4870-8a3d-e418974f2a0e X-Archives-Hash: 2891f34b682ac322e800cebaea92fdc4 commit: 548d7270d6a895bcd7ce4af5bb6417e8508d2175 Author: Yiyang Wu gmail com> AuthorDate: Tue Jun 14 08:02:26 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Jun 22 18:35:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548d7270 dev-util/rocprofiler: QA fixes Closes: https://bugs.gentoo.org/851792 Closes: https://bugs.gentoo.org/851795 Signed-off-by: Yiyang Wu gmail.com> Signed-off-by: Andrew Ammerlaan gentoo.org> dev-util/rocprofiler/files/rocprofiler-4.3.0-ldflag.patch | 13 +++++++++++++ dev-util/rocprofiler/files/rocprofiler-4.3.0-nostrip.patch | 13 +++++++++++++ dev-util/rocprofiler/rocprofiler-4.3.0.ebuild | 2 ++ dev-util/rocprofiler/rocprofiler-5.0.2.ebuild | 4 +++- 4 files changed, 31 insertions(+), 1 deletion(-) diff --git a/dev-util/rocprofiler/files/rocprofiler-4.3.0-ldflag.patch b/dev-util/rocprofiler/files/rocprofiler-4.3.0-ldflag.patch new file mode 100644 index 000000000000..dc097a568ca4 --- /dev/null +++ b/dev-util/rocprofiler/files/rocprofiler-4.3.0-ldflag.patch @@ -0,0 +1,13 @@ +Index: rocprofiler-rocm-5.0.2/cmake_modules/env.cmake +=================================================================== +--- rocprofiler-rocm-5.0.2.orig/cmake_modules/env.cmake ++++ rocprofiler-rocm-5.0.2/cmake_modules/env.cmake +@@ -51,7 +51,7 @@ set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS + #set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=int-in-bool-context" ) + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" ) + +-set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bdynamic -Wl,-z,noexecstack" ) ++set ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bdynamic -Wl,-z,noexecstack" ) + + set ( CMAKE_SKIP_BUILD_RPATH TRUE ) + diff --git a/dev-util/rocprofiler/files/rocprofiler-4.3.0-nostrip.patch b/dev-util/rocprofiler/files/rocprofiler-4.3.0-nostrip.patch new file mode 100644 index 000000000000..3da3d99357f7 --- /dev/null +++ b/dev-util/rocprofiler/files/rocprofiler-4.3.0-nostrip.patch @@ -0,0 +1,13 @@ +Index: rocprofiler-rocm-5.0.2/cmake_modules/env.cmake +=================================================================== +--- rocprofiler-rocm-5.0.2.orig/cmake_modules/env.cmake ++++ rocprofiler-rocm-5.0.2/cmake_modules/env.cmake +@@ -92,8 +92,6 @@ string ( TOLOWER "${CMAKE_BUILD_TYPE}" C + if ( "${CMAKE_BUILD_TYPE}" STREQUAL debug ) + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ggdb" ) + set ( CMAKE_BUILD_TYPE "debug" ) +-else () +- set ( CMAKE_BUILD_TYPE "release" ) + endif () + + ## Extend Compiler flags based on Processor architecture diff --git a/dev-util/rocprofiler/rocprofiler-4.3.0.ebuild b/dev-util/rocprofiler/rocprofiler-4.3.0.ebuild index 28e57bde66a4..630f4754fc8f 100644 --- a/dev-util/rocprofiler/rocprofiler-4.3.0.ebuild +++ b/dev-util/rocprofiler/rocprofiler-4.3.0.ebuild @@ -27,6 +27,8 @@ BDEPEND=" " PATCHES=( "${FILESDIR}/${P}-fix-gcc11.patch" + "${FILESDIR}/${PN}-4.3.0-nostrip.patch" + "${FILESDIR}/${PN}-4.3.0-ldflag.patch" "${FILESDIR}/${PN}-4.3.0-gentoo-location.patch" ) python_check_deps() { diff --git a/dev-util/rocprofiler/rocprofiler-5.0.2.ebuild b/dev-util/rocprofiler/rocprofiler-5.0.2.ebuild index ff321726622e..7e8f0346636d 100644 --- a/dev-util/rocprofiler/rocprofiler-5.0.2.ebuild +++ b/dev-util/rocprofiler/rocprofiler-5.0.2.ebuild @@ -26,7 +26,9 @@ BDEPEND=" ') " -PATCHES=( "${FILESDIR}/${PN}-5.0.2-gentoo-location.patch" ) +PATCHES=( "${FILESDIR}/${PN}-4.3.0-nostrip.patch" + "${FILESDIR}/${PN}-4.3.0-ldflag.patch" + "${FILESDIR}/${PN}-5.0.2-gentoo-location.patch" ) python_check_deps() { has_version "dev-python/CppHeaderParser[${PYTHON_USEDEP}]"