From 164f8d3919de3f0b19f9614eb94808b9332c5041 Mon Sep 17 00:00:00 2001 From: Joost van Zwieten Date: Mon, 17 Oct 2022 13:35:00 +0200 Subject: [PATCH] disable symlinking libmkl in GitHub actions In a previous patch Nutils gained the ability to load versioned libraries of MKL, e.g. `libmkl.so.2` on Linux, in addition to unversioned libraries, e.g. `libmkl.so`. This patch removes the symlinking to `libmkl.so` in case only a versioned library was found in GitHub Actions --- devtools/gha/configure_mkl.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/devtools/gha/configure_mkl.py b/devtools/gha/configure_mkl.py index c31004540..9e0343f59 100644 --- a/devtools/gha/configure_mkl.py +++ b/devtools/gha/configure_mkl.py @@ -16,10 +16,6 @@ log.error('cannot find any of {}'.format(' '.join(candidates))) raise SystemExit(1) -lib = os.path.splitext(path)[0] -if not os.path.exists(lib): - os.symlink(path, lib) - ld_library_path = os.pathsep.join(filter(None, (os.environ.get('LD_LIBRARY_PATH', ''), os.path.dirname(path)))) with open(os.environ['GITHUB_ENV'], 'a') as f: print('LD_LIBRARY_PATH={}'.format(ld_library_path), file=f)