Skip to content

Conversation

@hamzaremmal
Copy link
Member

@hamzaremmal hamzaremmal commented Feb 10, 2025

No description provided.

@hamzaremmal hamzaremmal self-assigned this Feb 10, 2025
.withLocal(buildCache.local.withEnabled(false))
.withRemote(buildCache.remote.withEnabled(false))
.withLocal(buildCache.local
.withDirectory(file("/nfs-cache/.develocity/build-cache"))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This directory should only be configured when we run on the CI

@hamzaremmal hamzaremmal force-pushed the hr/develocity-local-cache branch 5 times, most recently from d16c9ed to 3aa19d6 Compare February 10, 2025 22:07
@hamzaremmal hamzaremmal force-pushed the hr/develocity-local-cache branch from 3aa19d6 to 1bc1df9 Compare February 10, 2025 22:20
@adpi2
Copy link
Member

adpi2 commented Feb 11, 2025

Looks like it's working: the build-bootstrapped could restore the non-bootstrapped compilation from the cache:

[info] Restoring compiler state for scala3-compiler / Compile from build cache with key 38d3173a09b8fc66852272c916ac0538. 

🥳

@adpi2
Copy link
Member

adpi2 commented Feb 20, 2025

Same bug, we got a full recompilation of scala3-library-bootstrapped after a cache hit:

[info] Restoring compiler state for scala3-library-bootstrapped / Compile from build cache with key 4480199833a4f55e1fe518f44a742faf. ... [info] compiling 102 Scala sources and 25 Java sources to /__w/scala3/scala3/out/bootstrap/scala3-library-bootstrapped/scala-3.7.0-RC1-bin-SNAPSHOT-nonbootstrapped/classes ... 
@hamzaremmal hamzaremmal force-pushed the hr/develocity-local-cache branch from 8a107ca to c74549d Compare February 21, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants