easyconfigs-it4i/t/Tensorflow/TensorFlow-2.9.1_remove-libclang-and-io-gcs-deps.patch
easybuild 3178cb7962 new file: f/flatbuffers/flatbuffers-2.0.7-GCCcore-11.3.0.eb
new file:   o/OpenMPI/OpenMPI-4.1.4-GCC-12.2.0.eb
	modified:   q/QuantumESPRESSO/QuantumESPRESSO-7.1-NVHPC-21.9.eb
	new file:   t/Tensorflow/TensorFlow-2.10.1-foss-2022a-CUDA-11.7.0.eb
	new file:   t/Tensorflow/TensorFlow-2.8.4_exclude-xnnpack-on-ppc.patch
	new file:   t/Tensorflow/TensorFlow-2.8.4_resolve-gcc-symlinks.patch
	new file:   t/Tensorflow/TensorFlow-2.9.1_remove-duplicate-gpu-tests.patch
	new file:   t/Tensorflow/TensorFlow-2.9.1_remove-libclang-and-io-gcs-deps.patch
	new file:   u/UCX/UCX-1.13.1-GCCcore-12.2.0.eb
	new file:   x/XALT/XALT-2.10.45-GPU-eb.eb
	modified:   x/XALT/XALT-2.10.45-eb.eb
2023-01-25 17:48:29 +01:00

36 lines
1.5 KiB
Diff

This combines two patches from TensorFlow 2.7.1.
tensorflow-io-gcs-filesystem is not available as a binary for all architectures and
building it requires TensorFlow to be installed, i.e. there is a cyclic dependency.
As it is not actually required (but optional) remove it from `REQUIRED_PACKAGES`.
See https://github.com/tensorflow/tensorflow/issues/56636
libclang was introduced in
https://github.com/tensorflow/tensorflow/commit/c211472000ff57bac7fcec9b0465cf73b37bf135
> This is in preparation to open-source TF's TFRT backend.
> TFRT generates code using libclang python bindings as part of the build.
Hence it is not currently used and as it is not (easily) available for all architectures
simply remove it.
Patch added by Simon Branford (University of Birmingham)
Updated by Alexander Grund (TU Dresden)
--- a/tensorflow/tools/pip_package/setup.py
+++ b/tensorflow/tools/pip_package/setup.py
@@ -83,7 +83,6 @@ REQUIRED_PACKAGES = [
'google_pasta >= 0.1.1',
'h5py >= 2.9.0',
'keras_preprocessing >= 1.1.1', # 1.1.0 needs tensorflow==1.7
- 'libclang >= 13.0.0',
'numpy >= 1.20',
'opt_einsum >= 2.3.2',
'packaging',
@@ -100,7 +99,6 @@ REQUIRED_PACKAGES = [
'termcolor >= 1.1.0',
'typing_extensions >= 3.6.6',
'wrapt >= 1.11.0',
- 'tensorflow-io-gcs-filesystem >= 0.23.1',
# grpcio does not build correctly on big-endian machines due to lack of
# BoringSSL support.
# See https://github.com/tensorflow/tensorflow/issues/17882.