Projects
home:Kaguya
tensorflow-gitee
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
tensorflow.spec
Changed
@@ -6,9 +6,6 @@ License: Apache License 2.0 URL: https://www.tensorflow.org/ Source0: https://github.com/tensorflow/tensorflow/archive/v%{version}.tar.gz#/tensorflow-%{version}.tar.gz -Source1: external.tar.bz2.partaa -Source2: external.tar.bz2.partab -Source3: external.tar.bz2.partac Requires: python3-future python3-numpy python3-six python3-astunparse python3-google-pasta python3-opt-einsum Requires: python3-typing-extensions python3-wrapt python3-h5py python3-protobuf python3-grpcio python3-absl-py Requires: python3-flatbuffers python3-gast @@ -38,12 +35,6 @@ %autosetup -p1 extdir=$(bazel --output_user_root=`pwd`/../output_user_root info output_base) mkdir -p ${extdir} -instdir=$(bazel --output_user_root=`pwd`/../output_user_root info install_base) -cat %{SOURCE1} %{SOURCE2} %{SOURCE3} > external.tar.bz2 -tar xf external.tar.bz2 -C ${extdir} -ln -sfn ${instdir}/embedded_tools ${extdir}/external/bazel_tools -for f in $(find $extdir/external -lname "*/external/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=${extdir}/external/${OLDLINK#*external}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f; done -for f in $(find $extdir/external -lname "*/rpmbuild/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=${HOME}/rpmbuild/${OLDLINK#*rpmbuild}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f;done #rm -rf ${extdir}/external/local_config* %build
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2