1
0
Fork
You've already forked zar
0

Create unique timestamps for darwin target in deterministic mode #38

Open
opened 2021年11月19日 08:30:05 +01:00 by moosichu · 0 comments
moosichu commented 2021年11月19日 08:30:05 +01:00 (Migrated from github.com)
Copy link

github.com/llvm-mirror/llvm@2c4ca6832f/lib/Object/ArchiveWriter.cpp (L389)

I came across this when researching how llvm ar did something else.

Specifically:

in deterministic archive mode (which
is the default), on Darwin we will emit a unique non-zero
timestamp for each entry with a duplicated name. This is still
deterministic: the only thing affecting that timestamp is the
order of the files in the resultant archive.

See implementation for details.

https://github.com/llvm-mirror/llvm/blob/2c4ca6832fa6b306ee6a7010bfb80a3f2596f824/lib/Object/ArchiveWriter.cpp#L389 I came across this when researching how llvm ar did something else. Specifically: > in deterministic archive mode (which > is the default), on Darwin we will emit a unique non-zero > timestamp for each entry with a duplicated name. This is still > deterministic: the only thing affecting that timestamp is the > order of the files in the resultant archive. See implementation for details.
Sign in to join this conversation.
No Branch/Tag specified
main
actions/cross-compile-redis-windows
feature/mri-parser-integration
actions/zar-redis-ranlib
feature/parse-bsd-symbols
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Moosichu/zar#38
Reference in a new issue
Moosichu/zar
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?