Completing build dependencies to fix gcc/gcc-c++ compiler missing error

This commit is contained in:
hht8 2021-06-07 10:11:58 +08:00
parent c6208c3088
commit 711f23fcbb

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: tensorflow Name: tensorflow
Version: 2.3.1 Version: 2.3.1
Release: 1 Release: 2
Summary: An Open Source Machine Learning Framework for Everyone Summary: An Open Source Machine Learning Framework for Everyone
License: Apache License 2.0 License: Apache License 2.0
URL: https://www.tensorflow.org/ URL: https://www.tensorflow.org/
@ -25,7 +25,7 @@ TensorFlow provides stable Python and C++ APIs, as well as non-guaranteed backwa
Summary: An Open Source Machine Learning Framework for Everyone Summary: An Open Source Machine Learning Framework for Everyone
Provides: python-tensorflow Provides: python-tensorflow
#It is because external-$(arch).tar.bz2 is built on bazel 3.5.0 #It is because external-$(arch).tar.bz2 is built on bazel 3.5.0
BuildRequires: bazel == 3.5.0 BuildRequires: bazel == 3.5.0 gcc gcc-c++
BuildRequires: python3-numpy python3-devel python3-Keras-Preprocessing BuildRequires: python3-numpy python3-devel python3-Keras-Preprocessing
BuildRequires: python3-pip python3-wheel BuildRequires: python3-pip python3-wheel
@ -57,5 +57,8 @@ bazel --output_user_root=`pwd`/../output_user_root build //tensorflow/tools/pip_
%{_bindir}/* %{_bindir}/*
%changelog %changelog
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 2.3.1-2
- Completing build dependencies to fix gcc/gcc-c++ compiler missing error
* Wed Sep 30 2020 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.3.1-1 * Wed Sep 30 2020 Zhipeng Xie<xiezhipeng1@huawei.com> - 2.3.1-1
- Package init - Package init