diff options
author | Benda Xu <heroxbd@gentoo.org> | 2022-03-22 15:43:29 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2022-03-22 15:45:29 +0800 |
commit | bba851bbc61c43bd4cb6197eba26e89a1726c17e (patch) | |
tree | 1501599db2f4982a55726a28e4d7e63db32fcf89 /sys-devel | |
parent | app-misc/ledit: fix build with newer ocaml (diff) | |
download | gentoo-bba851bbc61c43bd4cb6197eba26e89a1726c17e.tar.gz gentoo-bba851bbc61c43bd4cb6197eba26e89a1726c17e.tar.bz2 gentoo-bba851bbc61c43bd4cb6197eba26e89a1726c17e.zip |
sys-devel/llvm-roc: get back to S to get the patches applied.
Closes: https://bugs.gentoo.org/835784
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild b/sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild index 6626df4ee056..6dc4f6a23e2c 100644 --- a/sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild +++ b/sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild @@ -30,10 +30,11 @@ PATCHES=( CMAKE_BUILD_TYPE=RelWithDebInfo src_prepare() { - cd "${WORKDIR}/llvm-project-rocm-${PV}" || die + pushd "${WORKDIR}/llvm-project-rocm-${PV}" || die eapply "${FILESDIR}/${PN}-4.0.0-remove-isystem-usr-include.patch" eapply "${FILESDIR}/${PN}-5.0.0-hip-location.patch" eapply "${FILESDIR}/${PN}-5.0.0-add_GNU-stack.patch" + popd || die if [[ -n ${EPREFIX} ]]; then pushd "${S}"/../clang >/dev/null || die |