INNER CODE UNIT · Python

make_target

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

        make_target = make_root / target_path
        if not make_target.is_file():
            missing_targets.append((path, target_path))
        elif not filecmp.cmp(make_root / path, make_target, shallow=False):
            mismatches.append((path, target_path))
        else:
            reconciled.append((path, target_path))

    if missing_targets:
        # Not counted as an error: the target itself stays in both collections,
        # so level 1 already reports it as a Bazel-only file. Counting it again
        # here would charge one absent `libonedal.so.4.0` three times, once per
        # alias plus once for the target. Printed because it explains why those
        # aliases are missing from the reconciled list -- without the target
        # there is nothing left to check the flattened copy against, so the
        # entry is not reconciled, only dropped.
        print(f"Dereferenced symlink targets missing from Make: {len(missing_targets)}")
        for path, target_path in missing_targets[:limit]:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…