easyconfigs-it4i/t/TensorFlow/TensorFlow-2.8.4_resolve-gcc-symlinks.patch
Jakub Kropacek 20f7df7596 new file: d/DFT-D3/DFT-D3-3.2.0-intel-compilers-2022.1.0.eb
new file:   h/Horovod/Horovod-0.27.0-foss-2021a-CUDA-11.7.0-TensorFlow-2.10.1.eb
	modified:   o/OpenMPI/OpenMPI-4.0.6-NVHPC-21.11-CUDA-11.4.1-v2.eb
	modified:   o/OpenMPI/OpenMPI-4.0.6-NVHPC-21.9-CUDA-11.4.1-v2.eb
	modified:   o/OpenMPI/OpenMPI-4.0.7-NVHPC-21.9-CUDA-11.4.1.eb
	modified:   o/OpenMPI/OpenMPI-4.1.2-NVHPC-22.2-CUDA-11.6.0-v2.eb
	modified:   o/OpenMPI/OpenMPI-4.1.2-NVHPC-22.2-CUDA-11.6.0.eb
	new file:   s/Siesta/Siesta-4.1.5-intel-2022a.eb
	new file:   t/TensorFlow/TensorFlow-1.13.1-fosscuda-2019a-Python-3.7.2.eb
	new file:   t/TensorFlow/TensorFlow-2.10.1-foss-2022a-CUDA-11.7.0.eb
	new file:   t/TensorFlow/TensorFlow-2.5.0-fosscuda-2020b.eb
	new file:   t/TensorFlow/TensorFlow-2.7.1-foss-2021b-CUDA-11.4.1.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_fix-include-def.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:   t/TensorFlow/TensorFlow-2.9.1_test.patch
	new file:   t/TensorFlow/TensorFlow-test.eb
	new file:   t/TensorFlow/Tensorflow-1.1.0-CUDA-7.5.18-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.1.0-CUDA-8.0.44-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.1.0-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.2.0-GCC-7.1.0-2.28.eb
	new file:   t/TensorFlow/Tensorflow-1.2.1-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.6.0rc0-CUDA-9.0.176-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-1.6.0rc0-Python-3.6.1.eb
	new file:   t/TensorFlow/Tensorflow-Python-3.6.1.eb
	new file:   t/TensorFlow/old-TensorFlow-2.10.0-foss-2022a-CUDA-11.7.0.eb
	new file:   w/WIEN2k/WIEN2k-23.2-intel-2021a.eb
	new file:   w/WIEN2k/WIEN2k-23.2-intel-2022a.eb
	deleted:    t/Tensorflow/TensorFlow-1.13.1-fosscuda-2019a-Python-3.7.2.eb
	deleted:    t/Tensorflow/TensorFlow-2.10.1-foss-2022a-CUDA-11.7.0.eb
	deleted:    t/Tensorflow/TensorFlow-2.5.0-fosscuda-2020b.eb
	deleted:    t/Tensorflow/TensorFlow-2.7.1-foss-2021b-CUDA-11.4.1.eb
	deleted:    t/Tensorflow/TensorFlow-2.8.4_exclude-xnnpack-on-ppc.patch
	deleted:    t/Tensorflow/TensorFlow-2.8.4_resolve-gcc-symlinks.patch
	deleted:    t/Tensorflow/TensorFlow-2.9.1_fix-include-def.patch
	deleted:    t/Tensorflow/TensorFlow-2.9.1_remove-duplicate-gpu-tests.patch
	deleted:    t/Tensorflow/TensorFlow-2.9.1_remove-libclang-and-io-gcs-deps.patch
	deleted:    t/Tensorflow/TensorFlow-2.9.1_test.patch
	deleted:    t/Tensorflow/TensorFlow-test.eb
	deleted:    t/Tensorflow/Tensorflow-1.1.0-CUDA-7.5.18-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.1.0-CUDA-8.0.44-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.1.0-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.2.0-GCC-7.1.0-2.28.eb
	deleted:    t/Tensorflow/Tensorflow-1.2.1-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.6.0rc0-CUDA-9.0.176-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-1.6.0rc0-Python-3.6.1.eb
	deleted:    t/Tensorflow/Tensorflow-Python-3.6.1.eb
	deleted:    t/Tensorflow/old-TensorFlow-2.10.0-foss-2022a-CUDA-11.7.0.eb
2023-03-08 13:18:55 +01:00

29 lines
1.1 KiB
Diff

Fix for "undeclared inclusion(s) in rule" errors when the installation directory
for GCC is hosted in a path that is a symlink to another path.
From https://github.com/tensorflow/tensorflow/pull/56360
From b3a8fdbcb79e723f8d62f86bddcfdfb73fe76291 Mon Sep 17 00:00:00 2001
From: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Date: Sat, 4 Jun 2022 19:06:58 -0400
Subject: [PATCH] resolve gcc_host_compiler_path in a symlink directory
Resolves a missing dependency declarations error, when gcc_host_compiler_path is in a symlink directory resolving to other directories.
---
configure.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.py b/configure.py
index bf338bdda2297..77af09a22a05d 100644
--- a/configure.py
+++ b/configure.py
@@ -619,7 +619,7 @@ def prompt_loop_or_load_from_env(environ_cp,
'Assuming to be a scripting mistake.' %
(var_name, n_ask_attempts))
- if resolve_symlinks and os.path.islink(val):
+ if resolve_symlinks:
val = os.path.realpath(val)
environ_cp[var_name] = val
return val