Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-5938] switching libdispatch build to cmake breaks incremental builds #679

Closed
swift-ci opened this issue Sep 20, 2017 · 4 comments
Closed

Comments

@swift-ci
Copy link

Previous ID SR-5938
Radar rdar://problem/34534680
Original Reporter shajrawi (JIRA User)
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s libdispatch, Project Infrastructure
Labels Bug
Assignee shajrawi (JIRA)
Priority Medium

Watchers: @shahmishal

md5: 797230f2889e874ed921cc7d8822e68b

Issue Description:

commits 8d3c30e2fa8e0fec705966b9092c0c1c345dec8e and 5f9c82c7516c9d60c4191c5890aeba39fd7b2042 switched libdispatch to cmake.

Unfortunately, this broke incremental builds on the bots.

Every time we do a clean build it passes. subsequent builds fail - example: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/640/console
[63/128] Performing build step for 'libdispatch'
FAILED: tools/SourceKit/libdispatch-prefix/src/libdispatch-stamp/libdispatch-build /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/libdispatch-linux-x86_64/src/libdispatch.so
cd /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/libdispatch-linux-x86_64 && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/tools/SourceKit/libdispatch-prefix/src/libdispatch-stamp/libdispatch-build
Error: could not load cache
[64/128] Building CXX object lib/Serialization/CMakeFiles/swiftSerialization.dir/SerializedModuleLoader.cpp.o

@swift-ci
Copy link
Author

Comment by Joe Shajrawi (JIRA)

Swift Sync System create

@swift-ci
Copy link
Author

Comment by Joe Shajrawi (JIRA)

@swift-ci create

@compnerd
Copy link
Collaborator

We figured this out. It was an issue with the Jenkins setup which was clearing part of the incremental build during an incremental build. I believe that this is fixed already. I'll assign it to Mishal since I cant actually change the Jenkins configuration, and he can verify that that has been done.

@shahmishal
Copy link
Member

Bots updated, this issue should be resolved now.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants