Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 866563 Details for
Bug 911421
sci-libs/{caffe2,pytorch} on Gentoo Prefix: the cmake files needs prefixify
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the patch that I use to emerge sci-libs/pytorch
pytorch-caffe2-hprefixify.patch (text/plain), 1.21 KB, created by
ZongyuZ
on 2023-07-29 14:30:22 UTC
(
hide
)
Description:
the patch that I use to emerge sci-libs/pytorch
Filename:
MIME Type:
Creator:
ZongyuZ
Created:
2023-07-29 14:30:22 UTC
Size:
1.21 KB
patch
obsolete
>--- gentoo/sci-libs/caffe2/caffe2-2.0.1-r2.ebuild 2023-06-17 14:10:30.000000000 +0000 >+++ localrepo/sci-libs/caffe2/caffe2-2.0.1-r2.ebuild 2023-07-30 07:25:37.829515916 +0000 >@@ -4,7 +4,7 @@ > EAPI=8 > > PYTHON_COMPAT=( python3_{9..11} ) >-inherit python-single-r1 cmake cuda flag-o-matic >+inherit python-single-r1 cmake cuda flag-o-matic prefix > > MYPN=pytorch > MYP=${MYPN}-${PV} >@@ -97,6 +97,8 @@ > pushd torch/csrc/jit/serialization || die > flatc --cpp --gen-mutable --scoped-enums mobile_bytecode.fbs || die > popd >+ # prefixify the hardcoded paths, after all patches are applied >+ hprefixify $(find . -type f -name \*.cmake -o -name \*CMakeLists.txt) > } > > src_configure() { >--- gentoo/sci-libs/pytorch/pytorch-2.0.1.ebuild 2023-05-14 08:10:31.000000000 +0000 >+++ localrepo/sci-libs/pytorch/pytorch-2.0.1.ebuild 2023-07-30 08:16:59.653522025 +0000 >@@ -7,7 +7,7 @@ > PYTHON_COMPAT=( python3_{9..11} ) > DISTUTILS_SINGLE_IMPL=1 > DISTUTILS_EXT=1 >-inherit distutils-r1 >+inherit distutils-r1 prefix > > DESCRIPTION="Tensors and Dynamic neural networks in Python" > HOMEPAGE="https://pytorch.org/" >@@ -49,6 +49,8 @@ > tools/setup_helpers/env.py \ > || die > distutils-r1_src_prepare >+ >+ hprefixify tools/setup_helpers/env.py > } > > src_compile() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 911421
:
866561
|
866562
|
866563
|
866645
|
866699
|
866759
|
866760
|
866761