Skip to content

Commit

Permalink
disable symlinking libmkl in GitHub actions
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joostvanzwieten committed Oct 21, 2022
1 parent a657b81 commit 164f8d3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions devtools/gha/configure_mkl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 164f8d3

Please sign in to comment.