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 691A4158094 for ; Wed, 22 Jun 2022 13:03:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4F51E0855; Wed, 22 Jun 2022 13:03:28 +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 89F5AE0855 for ; Wed, 22 Jun 2022 13:03:28 +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 76541341B6E for ; Wed, 22 Jun 2022 13:03:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA253456 for ; Wed, 22 Jun 2022 13:03:25 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1655902769.12344ff2860eca5dffa212e1b95aac414f1992dc.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/hip/hip-5.0.2-r1.ebuild dev-util/hip/hip-5.0.2-r2.ebuild X-VCS-Directories: dev-util/hip/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 12344ff2860eca5dffa212e1b95aac414f1992dc X-VCS-Branch: master Date: Wed, 22 Jun 2022 13:03:25 +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: 3c820ddd-b559-4494-9426-536db493580c X-Archives-Hash: a9b60b345821e0af323020e624e90840 commit: 12344ff2860eca5dffa212e1b95aac414f1992dc Author: Yiyang Wu gmail com> AuthorDate: Tue Jun 21 10:51:05 2022 +0000 Commit: Benda XU gentoo org> CommitDate: Wed Jun 22 12:59:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12344ff2 dev-util/hip: Fix -isystem pollution after d5835abb After d5835abbe66be09b9851fcc79a158d1a083ad8fc which corrects the HIP_PATH, HIP_INCLUDE_PATH now points to /usr/include and hipcc.pl added -isystem $HIP_INCLUDE_PATH which caused complilation failure. Fix it by removing lines in hipcc.pl Bug: https://bugs.gentoo.org/853184 Reference: https://github.com/justxi/rocm/issues/8#issuecomment-1159800433 Signed-off-by: Yiyang Wu gmail.com> Signed-off-by: Benda Xu gentoo.org> dev-util/hip/{hip-5.0.2-r1.ebuild => hip-5.0.2-r2.ebuild} | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-util/hip/hip-5.0.2-r1.ebuild b/dev-util/hip/hip-5.0.2-r2.ebuild similarity index 98% rename from dev-util/hip/hip-5.0.2-r1.ebuild rename to dev-util/hip/hip-5.0.2-r2.ebuild index 771cda985e88..037c442ec73b 100644 --- a/dev-util/hip/hip-5.0.2-r1.ebuild +++ b/dev-util/hip/hip-5.0.2-r2.ebuild @@ -67,6 +67,7 @@ src_prepare() { # Setting HSA_PATH to "/usr" results in setting "-isystem /usr/include" # which makes "stdlib.h" not found when using "#include_next" in header files; sed -e "/FLAGS .= \" -isystem \$HSA_PATH/d" \ + -e "/HIP.*FLAGS.*isystem.*HIP_INCLUDE_PATH/d" \ -e "s:\$ENV{'DEVICE_LIB_PATH'}:'/usr/lib/amdgcn/bitcode':" \ -e "/rpath/s,--rpath=[^ ]*,," \ -i bin/hipcc.pl || die