Projects
home:Kaguya:branches:home:Kaguya
tensorflow-oerv
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
@@ -30,6 +30,7 @@ Provides: python%{python3_version}dist(tensorflow) = %{version} BuildRequires: bazel == 5.3.0 gcc gcc-c++ git BuildRequires: python3-numpy python3-devel python3-Keras-Preprocessing python3-pip python3-wheel python3-packaging python3-requests +BuildRequires: mold %description -n python3-tensorflow TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications. @@ -49,7 +50,8 @@ patch -d ${extdir} -p0 < %{SOURCE4} %endif %ifarch riscv64 -patch -d ${extdir} -p0 < %{SOURCE5} +mkdir -p $extdir/external/go_sdk/src/crypto/internal/bigmod/ +patch -d ${extdir} -p0 < %{SOURCE6} %endif 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 @@ -61,6 +63,7 @@ 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 build \ + --linkopt -fuse-ld=mold \ --define=build_with_mkl=false --define=enable_mkl=false --define=tensorflow_mkldnn_contraction_kernel=0 \ --define=build_with_mkl_dnn_v1_only=false --define=tensorflow_use_mkldnn=false \ --host_copt=-Wno-stringop-truncation //tensorflow/tools/pip_package:build_pip_package \
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