Skip to content

Commit

Permalink
Update version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Aug 8, 2024
1 parent 44bb801 commit 8107e59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def get_onedal_shared_libs(dal_root):
"onedal_parameters",
]
major_bin_version, _ = get_onedal_version(dal_root, "binary")
print("major version", major_bin_version)
found_libraries = []
for lib_name in lib_names:
possible_aliases = [
Expand All @@ -88,6 +89,7 @@ def get_onedal_shared_libs(dal_root):
f"lib{lib_name}.{major_bin_version}.dylib"
f"{lib_name}.{major_bin_version}.dll",
]
print(possible_aliases)
if any(find_library(alias) for alias in possible_aliases):
found_libraries.append(lib_name)
return found_libraries

0 comments on commit 8107e59

Please sign in to comment.