Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Tensorflow merge #355

Merged
merged 3 commits into from
Sep 18, 2019
Merged

Tensorflow merge #355

merged 3 commits into from
Sep 18, 2019

Conversation

ematejska
Copy link

Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-09-02-a' into tensorflow from tensroflow-merge

vsapsai and others added 3 commits August 29, 2019 15:20
Marking a module for a rebuild when its signature differs from the
expected one causes redundant module rebuilds for incremental builds.
When a module is updated, its signature changes. But its consumers still
have the old signature and loading them will result in signature
mismatches. It will correctly cause the rebuilds for the consumers but
we don't need to rebuild the common module for each of them as it is
already up to date.

In practice this bug causes longer build times. We are doing more work
than required and only a single process can build a module, so parallel
builds degrade to a single-process mode where extra processes are just
waiting on a file lock.

Fix by not marking a module dependency for a rebuild on signature
mismatch. We'll check if it is up to date when we load it.

rdar://problem/50212358

Reviewers: dexonsmith, bruno, rsmith

Reviewed By: dexonsmith, bruno

Subscribers: jkorous, ributzka, cfe-commits, aprantl

Differential Revision: https://reviews.llvm.org/D66907


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370274 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 39c70ef)
…erge

Tag build swift-DEVELOPMENT-SNAPSHOT-2019-09-02-a
@ematejska ematejska merged commit fcefc0b into tensorflow Sep 18, 2019
@burmako burmako deleted the tensorflow-merge branch October 7, 2019 17:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants