agora inbox for pgsql-hackers@postgresql.orghelp / color / mirror / Atom feed
[PATCH 6/8] cirrus/ccache: add explicit cache keys.. 7+ messages / 2 participants [nested] [flat]
* [PATCH 6/8] cirrus/ccache: add explicit cache keys.. @ 2022-07-27 01:30 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 7+ messages in thread From: Justin Pryzby @ 2022-07-27 01:30 UTC (permalink / raw) Since otherwise, building with ci-os-only will probably fail to use the normal cache, since the cache key is computed using both the task name and its *index* in the list of caches (internal/executor/cache.go:184). --- .cirrus.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 37fd79e5b77..221431e70c4 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -87,6 +87,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/freebsd + reupload_on_changes: true + # Workaround around performance issues due to 32KB block size repartition_script: src/tools/ci/gcp_freebsd_repartition.sh create_user_script: | @@ -181,6 +184,8 @@ task: ccache_cache: folder: ${CCACHE_DIR} + fingerprint_key: ccache/linux + reupload_on_changes: true sysinfo_script: | id @@ -359,6 +364,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/macos + reupload_on_changes: true + configure_script: | brewpath="/usr/local" PKG_CONFIG_PATH="${brewpath}/lib/pkgconfig:${PKG_CONFIG_PATH}" @@ -513,6 +521,8 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/warnings + reupload_on_changes: true setup_additional_packages_script: | #apt-get update -- 2.25.1 --rPFbv4B2w2tcwGo5 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0007-cirrus-ccache-disable-compression-and-show-stats.patch" ^ permalink raw reply [nested|flat] 7+ messages in thread
* [PATCH 03/11] cirrus/ccache: add explicit cache keys.. @ 2022-07-27 01:30 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 7+ messages in thread From: Justin Pryzby @ 2022-07-27 01:30 UTC (permalink / raw) Since otherwise, building with ci-os-only will probably fail to use the normal cache, since the cache key is computed using both the task name and its *index* in the list of caches (internal/executor/cache.go:184). --- .cirrus.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index a3b84d3b1c0..061c8e1c7df 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -87,6 +87,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/freebsd + reupload_on_changes: true + # Workaround around performance issues due to 32KB block size repartition_script: src/tools/ci/gcp_freebsd_repartition.sh create_user_script: | @@ -181,6 +184,8 @@ task: ccache_cache: folder: ${CCACHE_DIR} + fingerprint_key: ccache/linux + reupload_on_changes: true sysinfo_script: | id @@ -359,6 +364,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/macos + reupload_on_changes: true + configure_script: | brewpath="/usr/local" PKG_CONFIG_PATH="${brewpath}/lib/pkgconfig:${PKG_CONFIG_PATH}" @@ -510,6 +518,8 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/warnings + reupload_on_changes: true setup_additional_packages_script: | #apt-get update -- 2.25.1 --I4VOKWutKNZEOIPu Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0004-cirrus-ccache-avoid-clearing-cache-until-after-all-c.patch" ^ permalink raw reply [nested|flat] 7+ messages in thread
* [PATCH 03/11] cirrus/ccache: add explicit cache keys.. @ 2022-07-27 01:30 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 7+ messages in thread From: Justin Pryzby @ 2022-07-27 01:30 UTC (permalink / raw) Since otherwise, building with ci-os-only will probably fail to use the normal cache, since the cache key is computed using both the task name and its *index* in the list of caches (internal/executor/cache.go:184). --- .cirrus.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index a3b84d3b1c0..061c8e1c7df 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -87,6 +87,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/freebsd + reupload_on_changes: true + # Workaround around performance issues due to 32KB block size repartition_script: src/tools/ci/gcp_freebsd_repartition.sh create_user_script: | @@ -181,6 +184,8 @@ task: ccache_cache: folder: ${CCACHE_DIR} + fingerprint_key: ccache/linux + reupload_on_changes: true sysinfo_script: | id @@ -359,6 +364,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/macos + reupload_on_changes: true + configure_script: | brewpath="/usr/local" PKG_CONFIG_PATH="${brewpath}/lib/pkgconfig:${PKG_CONFIG_PATH}" @@ -510,6 +518,8 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/warnings + reupload_on_changes: true setup_additional_packages_script: | #apt-get update -- 2.25.1 --I4VOKWutKNZEOIPu Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0004-cirrus-ccache-avoid-clearing-cache-until-after-all-c.patch" ^ permalink raw reply [nested|flat] 7+ messages in thread
* [PATCH 6/8] cirrus/ccache: add explicit cache keys.. @ 2022-07-27 01:30 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 7+ messages in thread From: Justin Pryzby @ 2022-07-27 01:30 UTC (permalink / raw) Since otherwise, building with ci-os-only will probably fail to use the normal cache, since the cache key is computed using both the task name and its *index* in the list of caches (internal/executor/cache.go:184). --- .cirrus.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 37fd79e5b77..221431e70c4 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -87,6 +87,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/freebsd + reupload_on_changes: true + # Workaround around performance issues due to 32KB block size repartition_script: src/tools/ci/gcp_freebsd_repartition.sh create_user_script: | @@ -181,6 +184,8 @@ task: ccache_cache: folder: ${CCACHE_DIR} + fingerprint_key: ccache/linux + reupload_on_changes: true sysinfo_script: | id @@ -359,6 +364,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/macos + reupload_on_changes: true + configure_script: | brewpath="/usr/local" PKG_CONFIG_PATH="${brewpath}/lib/pkgconfig:${PKG_CONFIG_PATH}" @@ -513,6 +521,8 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/warnings + reupload_on_changes: true setup_additional_packages_script: | #apt-get update -- 2.25.1 --rPFbv4B2w2tcwGo5 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0007-cirrus-ccache-disable-compression-and-show-stats.patch" ^ permalink raw reply [nested|flat] 7+ messages in thread
* [PATCH 04/23] cirrus/ccache: add explicit cache keys.. @ 2022-07-27 01:30 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 7+ messages in thread From: Justin Pryzby @ 2022-07-27 01:30 UTC (permalink / raw) Since otherwise, building with ci-os-only will probably fail to use the normal cache, since the cache key is computed using both the task name and its *index* in the list of caches (internal/executor/cache.go:184). --- .cirrus.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 54256570030..183e8746ce6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -68,6 +68,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/freebsd + reupload_on_changes: true + # Workaround around performance issues due to 32KB block size repartition_script: src/tools/ci/gcp_freebsd_repartition.sh create_user_script: | @@ -175,6 +178,8 @@ task: ccache_cache: folder: ${CCACHE_DIR} + fingerprint_key: ccache/linux + reupload_on_changes: true sysinfo_script: | id @@ -289,6 +294,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/macos + reupload_on_changes: true + configure_script: | brewpath="/usr/local" INCLUDES="${brewpath}/include:${INCLUDES}" @@ -519,6 +527,8 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/warnings + reupload_on_changes: true setup_additional_packages_script: | #apt-get update -- 2.17.1 --tKkaNMvYmhQvRCRK Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0005-cirrus-enable-various-runtime-checks-on-macos-and-fr.patch" ^ permalink raw reply [nested|flat] 7+ messages in thread
* [PATCH 04/25] cirrus/ccache: add explicit cache keys.. @ 2022-07-27 01:30 Justin Pryzby <pryzbyj@telsasoft.com> 0 siblings, 0 replies; 7+ messages in thread From: Justin Pryzby @ 2022-07-27 01:30 UTC (permalink / raw) Since otherwise, building with ci-os-only will probably fail to use the normal cache, since the cache key is computed using both the task name and its *index* in the list of caches (internal/executor/cache.go:184). --- .cirrus.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index c0616e8560d..4af6105aac7 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -68,6 +68,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/freebsd + reupload_on_changes: true + # Workaround around performance issues due to 32KB block size repartition_script: src/tools/ci/gcp_freebsd_repartition.sh create_user_script: | @@ -175,6 +178,8 @@ task: ccache_cache: folder: ${CCACHE_DIR} + fingerprint_key: ccache/linux + reupload_on_changes: true sysinfo_script: | id @@ -289,6 +294,9 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/macos + reupload_on_changes: true + configure_script: | brewpath="/usr/local" INCLUDES="${brewpath}/include:${INCLUDES}" @@ -513,6 +521,8 @@ task: ccache_cache: folder: $CCACHE_DIR + fingerprint_key: ccache/warnings + reupload_on_changes: true setup_additional_packages_script: | #apt-get update -- 2.17.1 --IS0zKkzwUGydFO0o Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0005-silence-make-distprep-and-generated-headers.patch" ^ permalink raw reply [nested|flat] 7+ messages in thread
* [PATCH v8a 07/14] ci: windows: Install bison flex via msys @ 2026-06-03 06:21 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 7+ messages in thread From: Andres Freund @ 2026-06-03 06:21 UTC (permalink / raw) That's a fair bit faster and fails less often. --- .github/workflows/pg-ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pg-ci.yml b/.github/workflows/pg-ci.yml index b05c3539ab6..e35170956e8 100644 --- a/.github/workflows/pg-ci.yml +++ b/.github/workflows/pg-ci.yml @@ -760,10 +760,25 @@ jobs: Add-Content $env:GITHUB_ENV "PATH=$filtered" Write-Host "Removed Mercurial entries from PATH" + # Install some dependencies via msys64, that seems to be the fastest and + # most reliable + - name: Install dependencies, Mingw + shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail "{0}"' + run: | + # Install some dependencies via msys64, that seems to be the fastest + # and most reliable + pacman -S --noconfirm --needed --asdeps \ + bison flex + + # Make bison and flex visible + echo C:/msys64/usr/bin >> "$GITHUB_PATH" + + # Don't prefer mingw's perl + echo C:/Strawberry/perl/bin >> "$GITHUB_PATH" + - name: Install dependencies shell: pwsh run: | - choco install -y --no-progress --limitoutput diffutils winflexbison3 # meson + ninja aren't preinstalled on windows-2022. Install via pip python -m pip install --upgrade meson ninja -- 2.54.0.380.gc69baaf57b --vphnza2cz5zw5t4a Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v8a-0008-ci-mingw-Don-t-install-make-use-asdeps.patch" ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2026-06-03 06:21 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-07-27 01:30 [PATCH 6/8] cirrus/ccache: add explicit cache keys.. Justin Pryzby <pryzbyj@telsasoft.com> 2022-07-27 01:30 [PATCH 03/11] cirrus/ccache: add explicit cache keys.. Justin Pryzby <pryzbyj@telsasoft.com> 2022-07-27 01:30 [PATCH 03/11] cirrus/ccache: add explicit cache keys.. Justin Pryzby <pryzbyj@telsasoft.com> 2022-07-27 01:30 [PATCH 6/8] cirrus/ccache: add explicit cache keys.. Justin Pryzby <pryzbyj@telsasoft.com> 2022-07-27 01:30 [PATCH 04/23] cirrus/ccache: add explicit cache keys.. Justin Pryzby <pryzbyj@telsasoft.com> 2022-07-27 01:30 [PATCH 04/25] cirrus/ccache: add explicit cache keys.. Justin Pryzby <pryzbyj@telsasoft.com> 2026-06-03 06:21 [PATCH v8a 07/14] ci: windows: Install bison flex via msys Andres Freund <andres@anarazel.de>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox