Skip to content

ci: remove ccache version pin in MSVC CI - #26866

Closed
fanquake wants to merge 1 commit into
bitcoin:masterfrom
fanquake:fix_ccache_install
Closed

fanquake wants to merge 1 commit into
bitcoin:masterfrom
fanquake:fix_ccache_install

Conversation

@fanquake

@fanquake fanquake commented Jan 10, 2023 •

Copy link
Copy Markdown
Member

The pinning should no-longer be needed; 4.6.2 was broken, latest is 4.7.4, and that includes the necessary fixes.

@DrahtBot

DrahtBot commented Jan 10, 2023 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
Concept NACK MarcoFalke

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label Jan 10, 2023
@fanquake

Copy link
Copy Markdown
Member Author

Guess this might just be an intermitent Chocolatey issue?:

C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build>call choco install --yes --no-progress ccache 
Chocolatey v1.1.0
Installing the following packages:
ccache
By installing, you accept licenses for the packages.
ccache not installed. The package was not found with the source(s) listed.
 Source(s): 'https://community.chocolatey.org/api/v2/'
 NOTE: When you specify explicit sources, it overrides default sources.

The pinning should no-longer be needed; 4.6.2 was broken, latest is
4.7.4, and that includes the necessary fixes.
@fanquake

Copy link
Copy Markdown
Member Author

Chocolately seems to have fixed itself, so I've changed the wording here to just drop the ccache version pin, as it's no-longer necessary, and I don't think we've got a reason to remain pinned.

@maflcko

maflcko commented Jan 11, 2023

Copy link
Copy Markdown
Member

NACK. The reason is that a broken version will break our CI and we'll have to pin it to fix the problem. Everything else is pinned, so why should this not be pinned?

@fanquake

Copy link
Copy Markdown
Member Author

Everything else is pinned, so why should this not be pinned?

In this case I don't care too much either way, but I think if we are going to have things pinned, (in general) we could document why. This was pinned because of a bug that has since been fixed, and staying pinned is at best, worse than using the latest working version (i.e pinning to 4.6.x is just missing multiple performance improvements / bug fixes over 4.7.x). I guess the better change here is too just change the pin to 4.7.4, but feel free to close.

@fanquake fanquake closed this Jan 11, 2023
@fanquake
fanquake deleted the fix_ccache_install branch January 11, 2023 11:18
@maflcko

maflcko commented Jan 11, 2023

Copy link
Copy Markdown
Member

No objection to bumping it or adding documentation.

ccache (for windows) isn't really used, looking at the download numbers, https://community.chocolatey.org/packages/ccache#versionhistory, so I'd prefer if someone else is doing the nightly testing outside of our production CI

maflcko pushed a commit to bitcoin-core/gui that referenced this pull request Jan 16, 2023
46c31ee ci: Bump `ccache` version to the latest 4.7.4 in "Win64 native" task (Hennadii Stepanov)
1039ed4 ci: Bump vcpkg to the latest version 2023.01.09 (Hennadii Stepanov)

Pull request description:

  This PR bumps `vcpkg` and `ccache` versions.

  Dependency changes in `vcpkg` ([2022.09.27](https://github.com/microsoft/vcpkg/releases/tag/2022.09.27) - [2023.01.09](https://github.com/microsoft/vcpkg/releases/tag/2023.01.09)):
   - boost 1.80.0#0 -> 1.81.0#0
   - libevent 2.1.12#6 -> libevent 2.1.12#7
   - sqlite3 3.39.2#0 -> 3.40.0#1

  Also see bitcoin/bitcoin#26866 (comment).

Top commit has no ACKs.

Tree-SHA512: 9f8fda9192f76526201098c0300261c37deb8f17be19f4bfec52c5d8c78f348a11df76dc6f2d23f556cfb30e7ae5ff750ef824f2b3e133d892fe24642b802033
@bitcoin bitcoin locked and limited conversation to collaborators Jan 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants