Skip to content

Commit

Permalink
Update make_compile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
13584452567 authored Sep 20, 2024
1 parent 2832412 commit 2fa75ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions make_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ def execute(command: str):
target_dir = pathlib.Path(args.target_dir).absolute()
print(f"Compile... {ffmpeg_dir}")


def clean():
print("Clean project.")
execute(f"cd {ffmpeg_dir} && make clean && make distclean")
def make(arch: str):
n_cpu = cpu_count()
print("Configure project.")
Expand All @@ -34,7 +36,6 @@ def make(arch: str):


print("----------arm64----------")
clean()
make("arm64")
print("----------x86_64----------")
clean()
Expand Down

0 comments on commit 2fa75ce

Please sign in to comment.