mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

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
29 lines
1.1 KiB
Diff
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
|