INNER CODE UNIT · Python

is_shared_library

uxlfoundation/oneDAL · dev/release_tests/compare_release_trees.py:669

def is_shared_library(platform, path):
    if platform == "linux":
        return ".so" in Path(path).name
    suffixes = SHARED_LIBRARY_SUFFIXES[platform]
    return Path(path).suffix.lower() in suffixes


def compare_shared_library_exports(platform, make_root, bazel_root, files, limit):
    errors = 0
    compared = 0
    mismatches = []
    unreadable = []

    for path in sorted(files):
        if not is_shared_library(platform, path):
            continue
        compared += 1
        make_path = make_root / path

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…