baibaichen commented on PR #11469:
URL: 
https://github.com/apache/incubator-gluten/pull/11469#issuecomment-3796455995

   > > How is the cache generated? Is there a shared disk that we mount for 
each test?
   > 
   > https://github.com/apache/incubator-gluten/actions/caches. You can't mount 
it. You can copy it. The whole cache size is limited
   
   I see. I agree with proposal of @FelixYBW. We can set up a daily or weekly 
job to generate the .m2 cache.
   
   **Note**: Since Java Jar files are independent of the OS and Java version, 
we only need to maintain a single, unified cache for .m2.
   
   To populate this cache comprehensively, we can execute the following 
commands. Theoretically, this sequence should download all necessary 
dependencies for our various build profiles into the cache:
   
   ```shell
   build/mvn -P java-17,spark-4.0,scala-2.13,backends-velox,hadoop-3.3,spark-ut 
-Piceberg,iceberg-test,delta,paimon clean test-compile
   build/mvn -P java-17,spark-3.5,backends-velox,hadoop-3.3,spark-ut 
-Piceberg,iceberg-test,delta,paimon clean test-compile
   build/mvn -P java-17,spark-3.4,backends-velox,hadoop-3.3,spark-ut 
-Piceberg,iceberg-test,delta,paimon clean test-compile
   build/mvn -P java-17,spark-3.3,backends-velox,hadoop-3.3,spark-ut 
-Piceberg,delta,paimon clean test-compile
   build/mvn -P java-17,spark-4.1,scala-2.13,backends-velox,hadoop-3.3,spark-ut 
clean test-compile
   ```
   
   Regarding `.ccache`, do we currently update it only when upgrading Velox?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to