Skip to content

Commit

Permalink
fix typo in EULA: replace libnvrtx-builtins_static by libnvrtc-builti…
Browse files Browse the repository at this point in the history
…ns_static
  • Loading branch information
bedroge committed Nov 26, 2024
1 parent c9abbf9 commit 3091a31
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,11 @@ def post_postproc_cuda(self, *args, **kwargs):
for word in line.split():
if any(ext in word for ext in file_extensions):
allowlist.append(os.path.splitext(word)[0])
# The EULA of CUDA 12.4 introduced a typo (confirmed by NVIDIA):
# libnvrtx-builtins_static.so should be libnvrtc-builtins_static.so
if 'libnvrtx-builtins_static' in allowlist:
allowlist.remove('libnvrtx-builtins_static')
allowlist.append('libnvrtc-builtins_static')
allowlist = sorted(set(allowlist))
self.log.info("Allowlist for files in CUDA installation that can be redistributed: " + ', '.join(allowlist))

Expand Down

0 comments on commit 3091a31

Please sign in to comment.