From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocm-opencl-runtime/
Date: Wed, 8 Feb 2023 04:18:08 +0000 (UTC) [thread overview]
Message-ID: <1675829841.154ece10a9374160e04dc82f3dd3a46548cd1c0f.sam@gentoo> (raw)
commit: 154ece10a9374160e04dc82f3dd3a46548cd1c0f
Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sat Jan 28 06:16:06 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 8 04:17:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154ece10
dev-libs/rocm-opencl-runtime: simplify ebuild
1. Set BUILD_ICD=OFF, because libOpenCL is already provided by
dev-libs/opencl-icd-loader
2. Set FILE_REORG_BACKWARD_COMPATIBILITY=OFF for FHS
3. Cleanup unused commands and patches
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29310
Signed-off-by: Sam James <sam <AT> gentoo.org>
....3.3.ebuild => rocm-opencl-runtime-5.3.3-r1.ebuild} | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3-r1.ebuild
similarity index 86%
rename from dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3.ebuild
rename to dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3-r1.ebuild
index 692863db8e51..88142c6e203e 100644
--- a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3.ebuild
+++ b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.3.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,25 +27,12 @@ BDEPEND=">=dev-util/rocm-cmake-${PV}
test? ( >=x11-apps/mesa-progs-8.5.0[X] )
"
-PATCHES=(
- "${FILESDIR}/${PN}-3.5.0-do-not-install-libopencl.patch"
-)
-
S="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}"
S1="${WORKDIR}/ROCclr-rocm-${PV}"
src_prepare() {
- # Remove "clinfo" - use "dev-util/clinfo" instead
- #[ -d tools/clinfo ] && rm -rf tools/clinfo || die
-
cmake_src_prepare
- hprefixify amdocl/CMakeLists.txt
-
- sed -e "s/DESTINATION lib/DESTINATION ${CMAKE_INSTALL_LIBDIR}/g" -i packaging/CMakeLists.txt || die
- # remove trailing CR or it won't work
- sed -e "s/\r$//g" -i tests/ocltst/module/perf/oclperf.exclude || die
-
pushd ${S1} || die
# Bug #753377
# patch re-enables accidentally disabled gfx800 family
@@ -64,7 +51,8 @@ src_configure() {
-DROCM_PATH="${EPREFIX}/usr"
-DBUILD_TESTS=$(usex test ON OFF)
-DEMU_ENV=ON
- # -DCMAKE_STRIP=""
+ -DBUILD_ICD=OFF
+ -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF
)
cmake_src_configure
}
next reply other threads:[~2023-02-08 4:18 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 4:18 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-01 7:57 [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocm-opencl-runtime/ Patrick Lauer
2024-09-19 9:34 Patrick Lauer
2024-07-28 8:00 Patrick Lauer
2024-06-26 9:21 Sam James
2024-03-15 1:23 Sam James
2024-01-20 13:10 Sam James
2024-01-20 13:10 Sam James
2023-12-23 10:43 罗百科
2023-12-14 15:02 Benda XU
2023-10-19 10:38 罗百科
2023-10-11 10:41 罗百科
2023-10-09 12:34 罗百科
2023-09-03 6:31 罗百科
2023-07-05 18:22 Craig Andrews
2023-07-05 18:22 Craig Andrews
2023-03-02 16:30 罗百科
2023-02-20 9:36 Sam James
2023-02-20 9:36 Sam James
2023-02-20 9:36 Sam James
2023-02-09 20:21 Sam James
2022-12-20 9:26 罗百科
2022-03-22 16:26 罗百科
2022-02-11 16:12 Joonas Niilola
2021-12-26 13:44 Benda XU
2021-09-05 14:20 Craig Andrews
2021-07-20 1:07 Craig Andrews
2021-06-28 20:05 Craig Andrews
2021-03-28 21:20 Craig Andrews
2021-01-20 5:36 Benda XU
2020-12-21 12:55 Craig Andrews
2020-10-31 11:11 David Seifert
2020-09-26 15:43 Craig Andrews
2020-09-26 15:43 Craig Andrews
2020-08-25 21:08 Craig Andrews
2020-08-23 14:47 Craig Andrews
2020-08-23 14:47 Craig Andrews
2020-06-09 15:07 Craig Andrews
2020-04-08 21:58 Marek Szuba
2020-04-01 19:33 Craig Andrews
2020-03-02 0:39 Craig Andrews
2020-01-02 12:59 Craig Andrews
2019-12-27 4:54 Craig Andrews
2019-11-24 17:10 Craig Andrews
2019-10-05 14:32 Craig Andrews
2019-08-15 20:19 Craig Andrews
2019-08-15 20:02 Craig Andrews
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=1675829841.154ece10a9374160e04dc82f3dd3a46548cd1c0f.sam@gentoo \
--to=sam@gentoo.org \
--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