Skip to content

Conversation

@Zentrik
Copy link
Member

@Zentrik Zentrik commented Oct 28, 2025

After we instrument and optimize the libjulia* shared libraries we reset their mtime so make doesn't rebuild them. We were doing this by calling stat -c to get the mtime then setting it using touch however, stat -c returns an epoch timestamp in seconds and I believe not using the full precision was causing make to be rebuild the .sos. Instead now we tell touch to reset to the timestamps in a copy of the original file (which should have the same timestamps by using cp -a)

Tested this fixed the issue I was seeing where they were being rebuilt.

@Zentrik Zentrik changed the title PGO+LTO+BOLT: Fix libjulia* being rebulit after being instrumented BOLT: Fix libjulia* being rebulit after being instrumented Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant