INNER CODE UNIT · Python

compare_shared_library_exports

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

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
        bazel_path = bazel_root / path
        try:
            make_exports = read_exports(platform, make_path)
            bazel_exports = read_exports(platform, bazel_path)
        except RuntimeError as err:
            unreadable.append((path, str(err)))
            continue

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…