diff options
author | Jason Zaman <perfinion@gentoo.org> | 2020-05-11 14:06:38 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2020-05-16 08:52:12 +0800 |
commit | 90278ffa154098dc93060445a8d4b90969e42f76 (patch) | |
tree | 24c0271ca4af8f62aad3d975e1fe555ce0b21239 /sci-libs | |
parent | app-misc/spire: 0.10.0 bump (diff) | |
download | gentoo-90278ffa154098dc93060445a8d4b90969e42f76.tar.gz gentoo-90278ffa154098dc93060445a8d4b90969e42f76.tar.bz2 gentoo-90278ffa154098dc93060445a8d4b90969e42f76.zip |
sci-libs/tensorflow: bump 2.2.0
Package-Manager: Portage-2.3.99, Repoman-2.3.20
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/tensorflow/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/tensorflow/tensorflow-2.2.0.ebuild (renamed from sci-libs/tensorflow/tensorflow-2.2.0_rc2.ebuild) | 19 |
2 files changed, 17 insertions, 6 deletions
diff --git a/sci-libs/tensorflow/Manifest b/sci-libs/tensorflow/Manifest index 99022a3da76f..a59b7ec1b393 100644 --- a/sci-libs/tensorflow/Manifest +++ b/sci-libs/tensorflow/Manifest @@ -39,6 +39,6 @@ DIST tensorflow-1.15.0-python-license.rst.txt 45132 BLAKE2B 8a8ace4b64fd9eda1932 DIST tensorflow-1.15.0.tar.gz 46183168 BLAKE2B 5ccd87d5b53d6c543728e9c7ef96f12149bd8729620838b07a28f752fd5c57ef88350c2b62e8c44ec3561469eda38d8a64cbfca5e1ac7850674e1dd2c4d605d6 SHA512 f8683a950be6a3fa234d42e0f46bd9e049280e0c1d203c5c00ad44cf4728d894f2c301939d6d71203f815130a1ead53127adcc7565009589ff5aafc878b4dba7 DIST tensorflow-2.0.0.tar.gz 46176997 BLAKE2B 761e91a774f61b50459240a83fe52f723a76c2cc3eaf7c371684849cb7365b94fb3743ab8de9adffe64bef0f70da2bb0b7e6426a3f402e436eff841d3edefe8d SHA512 c3a2cb9673d2ade8e83961f7d944165123d0e4d94e6ca4d8fdee4f02f536893b879bbbf78d3ad5e557467b58f97f7194f2d9cfc64d7d05540969be732070eecc DIST tensorflow-2.1.0.tar.gz 41637803 BLAKE2B 63aac95cdb71097d2e7a257a691a2b51703fb22d2535395494adebfae0d3f97f8dd9e0deaadf1c2f3d3d26138066a7c6fb9b9728b5b0ac3d54360d7b5e4bebff SHA512 6d09ba3c097e4b3d712e7164d649841572c418d56c207eea6d31e3b1851b84ce57e82801d9887d84cfd8fcf990a3ea4c4b4b05265f8d625509986412c230c3c6 -DIST tensorflow-2.2.0_rc2.tar.gz 42090496 BLAKE2B 016a6dac71d59a4964a78daf0297cc037f104ddc5ace22a093780cb04312660861b50877bd996a92308d3bacb23bf8a25a0606954cd0b8a30943367bda8df4df SHA512 505f03a2e9c57638aaecbcc83fa5b292a038eab9c4777cb75a4ee2c9926cdc3ade565326abd0eb7bf1717972f4a2a20941227afe29b79f0519fd724fbc15d959 +DIST tensorflow-2.2.0.tar.gz 42100791 BLAKE2B 8b773ae9945ca267af33a34d86f6aef02310976bea1cdd98858d1405e8da845640b72a073b71fcfccb2b73f08600a5eada2c2332a8d9480bba71e9f25dbb2220 SHA512 94a2663497d333d543f363e9fea94fbcfdcdbbc0dfbaf009ba9181a808713aeb78f9b8805f56bea5fd3925a36f105427b3996795750589f378d8afbdadc2b86d DIST tensorflow-patches-2.1.0.tar.bz2 5737 BLAKE2B 67f5004312389ed19e810aad9f2d5d4839d806b5a7422963520e0dff06b91346683647db757ac463af13ca70861a7ed9c94be242910abacc6be350e162947225 SHA512 a20bfb619d59e0d2741a27ce36e3d38dbb7a5a706d6bc56f8aa94b5b72288139ad301fc06390b128ef1c3a88b758d09d0224351590dedcda9c5309cc55af6fed -DIST tensorflow-patches-2.2.0_rc2.tar.bz2 8173 BLAKE2B 266eca0eea68e7ac643ae3f2df31fabf327dc84acca14965334875d0ec2eaca64c8b61e52386da6f7240fc58f910fff16eed4b7995f6b028fbef46890f9d8a63 SHA512 a989c7c3ee088c0dc0e6e98aff3e73da90b09dac2a518ec536d77e4e72e7c145a1c7af92ae08ef284251e985324e7b824db52ba1ddb4639cca4c21233f33582f +DIST tensorflow-patches-2.2.0.tar.bz2 3197 BLAKE2B e88211e6eaed9818e63680aaa451cad1a0b53e6087e2d8a1c34126e539d509ed5180ce1bdd902f0a0acd357a4e334bb30638d18d15a585465881abf1ecfbb830 SHA512 5370700df4b3741e4f41629684c8bdba28182b5d488df241a8f4f55ba821797d38ef98676b30712c1716310054307fbec03db406d1cf17a7f3430697e8378d2c diff --git a/sci-libs/tensorflow/tensorflow-2.2.0_rc2.ebuild b/sci-libs/tensorflow/tensorflow-2.2.0.ebuild index c0ab709f7b9d..7abd3707e97f 100644 --- a/sci-libs/tensorflow/tensorflow-2.2.0_rc2.ebuild +++ b/sci-libs/tensorflow/tensorflow-2.2.0.ebuild @@ -74,7 +74,7 @@ RDEPEND=" media-libs/giflib media-libs/libjpeg-turbo media-libs/libpng:0 - >=net-libs/grpc-1.22.0 + >=net-libs/grpc-1.28 net-misc/curl sys-libs/zlib >=sys-apps/hwloc-2 @@ -91,12 +91,12 @@ RDEPEND=" dev-python/astunparse[${PYTHON_USEDEP}] >=dev-python/gast-0.3.3[${PYTHON_USEDEP}] >=dev-python/numpy-1.16[${PYTHON_USEDEP}] - dev-python/google-pasta[${PYTHON_USEDEP}] + >=dev-python/google-pasta-0.1.8[${PYTHON_USEDEP}] dev-python/opt-einsum[${PYTHON_USEDEP}] >=dev-python/protobuf-python-3.8.0[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}] - >=dev-python/grpcio-1.22.0[${PYTHON_USEDEP}] + >=dev-python/grpcio-1.28[${PYTHON_USEDEP}] >=dev-python/wrapt-1.11.1[${PYTHON_USEDEP}] >=net-libs/google-cloud-cpp-0.10.0 >=sci-libs/keras-applications-1.0.8[${PYTHON_USEDEP}] @@ -124,7 +124,7 @@ BDEPEND=" python? ( dev-python/cython dev-python/mock - >=dev-python/grpcio-tools-1.22.0 + >=dev-python/grpcio-tools-1.28 )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" @@ -176,6 +176,9 @@ src_prepare() { eapply "${WORKDIR}"/patches/*.patch + # Relax version checks in setup.py + sed -i "/^ '/s/==/>=/g" tensorflow/tools/pip_package/setup.py + default use python && python_copy_sources @@ -215,6 +218,14 @@ src_configure() { einfo "Setting CUDA version: $TF_CUDA_VERSION" einfo "Setting CUDNN version: $TF_CUDNN_VERSION" + if [[ *$(gcc-version)* != $(cuda-config -s) ]]; then + ewarn "TensorFlow is being built with Nvidia CUDA support. Your default compiler" + ewarn "version is not supported by the currently installed CUDA. TensorFlow will" + ewarn "instead be compiled using: ${GCC_HOST_COMPILER_PATH}." + ewarn "If the build fails with linker errors try rebuilding the relevant" + ewarn "dependencies using the same compiler version." + fi + if [[ -z "$TF_CUDA_COMPUTE_CAPABILITIES" ]]; then ewarn "WARNING: Tensorflow is being built with its default CUDA compute capabilities: 3.5 and 7.0." ewarn "These may not be optimal for your GPU." |