Cleanup: Formatting
This commit is contained in:
@@ -18,6 +18,7 @@ import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def print_strip_lib(strip_lib: Path, prev_print_len: int) -> int:
|
||||
print_str = f"Stripping: {strip_lib}"
|
||||
if prev_print_len > 0:
|
||||
@@ -25,9 +26,10 @@ def print_strip_lib(strip_lib: Path, prev_print_len: int) -> int:
|
||||
print(print_str, end="", flush=True)
|
||||
return len(print_str)
|
||||
|
||||
|
||||
def strip_libs(strip_dir: Path) -> None:
|
||||
print(f"Stripping libraries in: {strip_dir}")
|
||||
prev_print_len = 0;
|
||||
prev_print_len = 0
|
||||
for shared_lib in strip_dir.rglob("*.so*"):
|
||||
if shared_lib.suffix == ".py":
|
||||
# Work around badly named sycl scripts.
|
||||
|
||||
Reference in New Issue
Block a user