Skip to content

Commit

Permalink
fix: checking nm version
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha committed Mar 14, 2024
1 parent 407c5b8 commit b3a0f5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/archery/archery/linking.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def check_dynamic_library_dependencies(path, allowed, disallowed):
f"Disallowed shared dependency found in {dylib.path}: `{dep}`"
)
# Check for undefined symbols
result = _nm.run('--version', stdout=subprocess.PIPE)
print(result.stdout.decode('utf-8'))
undefined_symbols = dylib.list_undefined_symbols_for_dependency(path, True)
print(len(undefined_symbols))
expected_lib_paths = dylib.find_library_paths(allowed)
Expand Down

0 comments on commit b3a0f5d

Please sign in to comment.