Skip to content

Commit

Permalink
Removes mac build flag for Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroHG committed Jun 3, 2024
1 parent 5c07755 commit 2db807b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,9 +963,14 @@ def link_build_cache(root_dir, arch, branch):
os.makedirs(os.path.dirname(branch_cache_dir), exist_ok=True)

# -c uses MacOS clonefile
subprocess.check_call(
"cp -a -c %s %s" % (main_cache_dir, branch_cache_dir), shell=True
)
if sys.platform.startswith("darwin"):
subprocess.check_call(
"cp -a -c %s %s" % (main_cache_dir, branch_cache_dir), shell=True
)
else:
subprocess.check_call(
"cp -a -c %s %s" % (main_cache_dir, branch_cache_dir), shell=True
)
logger.info("copying main cache complete for %s" % encoded_branch)

branch_library_cache_dir = os.path.join(branch_cache_dir, "Library")
Expand Down

0 comments on commit 2db807b

Please sign in to comment.