summaryrefslogtreecommitdiff
path: root/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/caffe2/caffe2-2.1.2-r7.ebuild')
-rw-r--r--sci-libs/caffe2/caffe2-2.1.2-r7.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild b/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
index 9fa0ecb0aa74..8198f516b251 100644
--- a/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
+++ b/sci-libs/caffe2/caffe2-2.1.2-r7.ebuild
@@ -15,6 +15,8 @@ HOMEPAGE="https://pytorch.org/"
SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz
-> ${MYP}.tar.gz"
+S="${WORKDIR}"/${MYP}
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
@@ -110,8 +112,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.1.2-rocm-fix-std-cpp17.patch
)
-S="${WORKDIR}"/${MYP}
-
src_prepare() {
filter-lto #bug 862672
sed -i \