Skip to content

Commit

Permalink
Cleanup pytorch.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider authored Nov 28, 2023
1 parent 2040f9f commit cbd56e4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pytorch.spec
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,12 @@ cmake ../%{n}-%{realversion} \
-DUSE_SYSTEM_BENCHMARK=ON \
-DCMAKE_PREFIX_PATH="%{cmake_prefix_path}" \
-DPYTHON_EXECUTABLE=${PYTHON3_ROOT}/bin/python3
# -DEigen3_DIR=${EIGEN_ROOT}/share/eigen3/cmake \

ninja -v %{makeprocesses}

%install
cd ../build
ninja -v %{makeprocesses} install
#mkdir -p %{i}/c-api
#pytorch_core=$(ls -d %{i}/lib/python*/site-packages/torch | sed 's|%{i}/|../|')
#ln -s ${pytorch_core}/lib %{i}/c-api
#ln -s ${pytorch_core}/include %{i}/c-api

%post
%{relocateConfig}include/caffe2/core/macros.h
Expand Down

0 comments on commit cbd56e4

Please sign in to comment.