summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-04-20 21:21:38 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-04-20 21:30:11 +0200
commitb1d9422115a0e88c478bf837a0758a9fb4dc703a (patch)
treef61ed05b3538f2a39d0c3c665816eb6d983b7307 /sci-libs/caffe2
parentgui-wm/hyprland: add patch for bash completions (diff)
downloadgentoo-b1d9422115a0e88c478bf837a0758a9fb4dc703a.tar.gz
gentoo-b1d9422115a0e88c478bf837a0758a9fb4dc703a.tar.bz2
gentoo-b1d9422115a0e88c478bf837a0758a9fb4dc703a.zip
sci-libs/caffe2: VariableOrderWrong
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs/caffe2')
-rw-r--r--sci-libs/caffe2/caffe2-2.1.2-r7.ebuild4
-rw-r--r--sci-libs/caffe2/caffe2-2.2.2.ebuild4
2 files changed, 4 insertions, 4 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 \
diff --git a/sci-libs/caffe2/caffe2-2.2.2.ebuild b/sci-libs/caffe2/caffe2-2.2.2.ebuild
index fc0b264a9f32..2af11a75be5e 100644
--- a/sci-libs/caffe2/caffe2-2.2.2.ebuild
+++ b/sci-libs/caffe2/caffe2-2.2.2.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"
@@ -107,8 +109,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.1.2-rocm-fix-std-cpp17.patch
)
-S="${WORKDIR}"/${MYP}
-
src_prepare() {
filter-lto #bug 862672
sed -i \