Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

iOS,macOS: Don't archive extra framework metadata #54674

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions sky/tools/sky_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,10 @@ def create_zip(cwd, zip_filename, paths):
"""Creates a zip archive in cwd, containing a set of cwd-relative files.

In order to preserve the correct internal structure of macOS frameworks,
symlinks are preserved.
symlinks are preserved (-y). In order to generate reproducible builds,
owner/group and unix file timestamps are not included in the archive (-X).
"""
subprocess.check_call(['zip', '-r', '-y', zip_filename] + paths, cwd=cwd)
subprocess.check_call(['zip', '-r', '-X', '-y', zip_filename] + paths, cwd=cwd)


def _dsymutil_path():
Expand Down