Skip to content

Commit

Permalink
Add relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Mar 16, 2023
1 parent 0181b0c commit 317acbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions py3-torch.spec
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export USE_SYSTEM_FXDIV=ON \
export USE_SYSTEM_BENCHMARK=ON \
export CMAKE_PREFIX_PATH="%{cmake_prefix_path}"

%post
%{relocateConfig}lib/python%{cms_python3_major_minor_version}/site-packages/torch/share/cmake/ATen/ATenConfig.cmake

#export USE_SYSTEM_PTHREADPOOL=ON \

# For ROCm, pre-build
Expand Down

0 comments on commit 317acbd

Please sign in to comment.