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 10
View file
tensorflow.spec
Changed
@@ -6,6 +6,7 @@ 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 +Patch0: bazelrc.patch 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 @@ -35,13 +36,14 @@ %autosetup -p1 extdir=$(bazel --output_user_root=`pwd`/../output_user_root info output_base) mkdir -p ${extdir} +patch -d /home/abuild/rpmbuild/BUILD/tensorflow-2.12.1 -p0 < %{PATCH0} cat /home/abuild/rpmbuild/BUILD/tensorflow-2.12.1/.bazelrc %build mkdir -p ${HOME}/.local/bin ln -s -f -T $(command -v python3) ${HOME}/.local/bin/python export PATH=${HOME}/.local/bin:$PATH -bazel --output_user_root=`pwd`/../output_user_root --host_copt=-Wno-stringop-truncation --config=riscv64 //tensorflow/tools/pip_package:build_pip_package --verbose_failures --experimental_local_memory_estimate --jobs=16 +bazel --output_user_root=`pwd`/../output_user_root build --host_copt=-Wno-stringop-truncation --config=riscv64 //tensorflow/tools/pip_package:build_pip_package --verbose_failures --experimental_local_memory_estimate --jobs=16 ./bazel-bin/tensorflow/tools/pip_package/build_pip_package dist %install
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