Lines 4-10
Link Here
|
4 |
EAPI=8 |
4 |
EAPI=8 |
5 |
|
5 |
|
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
7 |
inherit python-single-r1 cmake cuda flag-o-matic |
7 |
inherit python-single-r1 cmake cuda flag-o-matic prefix |
8 |
|
8 |
|
9 |
MYPN=pytorch |
9 |
MYPN=pytorch |
10 |
MYP=${MYPN}-${PV} |
10 |
MYP=${MYPN}-${PV} |
Lines 97-102
Link Here
|
97 |
pushd torch/csrc/jit/serialization || die |
97 |
pushd torch/csrc/jit/serialization || die |
98 |
flatc --cpp --gen-mutable --scoped-enums mobile_bytecode.fbs || die |
98 |
flatc --cpp --gen-mutable --scoped-enums mobile_bytecode.fbs || die |
99 |
popd |
99 |
popd |
|
|
100 |
# prefixify the hardcoded paths, after all patches are applied |
101 |
hprefixify \ |
102 |
./aten/src/ATen/test/CMakeLists.txt \ |
103 |
./aten/src/ATen/CMakeLists.txt \ |
104 |
./aten/CMakeLists.txt \ |
105 |
./caffe2/observers/CMakeLists.txt \ |
106 |
./caffe2/CMakeLists.txt \ |
107 |
./cmake/External/nccl.cmake \ |
108 |
./cmake/Metal.cmake \ |
109 |
./cmake/Modules/*.cmake \ |
110 |
./cmake/Modules_CUDA_fix/FindCUDNN.cmake \ |
111 |
./cmake/Modules_CUDA_fix/upstream/FindCUDA.cmake \ |
112 |
./cmake/Modules_CUDA_fix/upstream/FindCUDA/make2cmake.cmake \ |
113 |
./cmake/Modules_CUDA_fix/upstream/FindPackageHandleStandardArgs.cmake \ |
114 |
./cmake/VulkanCodegen.cmake \ |
115 |
./cmake/public/LoadHIP.cmake \ |
116 |
./cmake/public/cuda.cmake \ |
117 |
./cmake/public/mkl.cmake \ |
118 |
./cmake/Dependencies.cmake \ |
119 |
./functorch/CMakeLists.txt \ |
120 |
./test/cpp/api/CMakeLists.txt \ |
121 |
./test/inductor/cpp/CMakeLists.txt \ |
122 |
./third_party/nvfuser/CMakeLists.txt \ |
123 |
./torch/lib/libshm/CMakeLists.txt \ |
124 |
./torch/CMakeLists.txt \ |
125 |
./CMakeLists.txt |
100 |
} |
126 |
} |
101 |
|
127 |
|
102 |
src_configure() { |
128 |
src_configure() { |