NightOwl888 commented on PR #852:
URL: https://github.com/apache/lucenenet/pull/852#issuecomment-1550331398

   Okay, looks like MavenReference is a bust for now: 
https://github.com/ikvmnet/ikvm-maven/issues/10#issuecomment-1550300017.
   
   The fix for that is similar to how we do the file locking in Lucene.NET on 
macOS in the 
[NativeFSLockFactory](https://github.com/apache/lucenenet/blob/19cb0c1d806462aad2b6297e0885491062887456/src/Lucene.Net/Store/NativeFSLockFactory.cs).
 Unfortunately, IKVM requires nearly 100 GB to build, and I don't have that 
kind of disk space to spare. But if you want to have a go at it, you are 
welcome.
   
   We have yet another issue with this addition - referencing IKVM adds about 4 
minutes of build time to Azure DevOps and will almost certainly slow down the 
GitHub Actions builds as well. Unfortunately, the size of the IKVM NuGet 
package and dependencies has exploded. In both Azure DevOps and GitHub Actions, 
there are options for caching NuGet packages so they don't have to be 
downloaded per build. We used to have it set up on Azure DevOps, but it wasn't 
set up to invalidate the cache when `.build/dependencies.props` changes and I 
couldn't figure out how to get it cleared after versions of dependencies were 
updated. So, we will need to investigate this, also. The cache key we need to 
use should include all `*.props`, `*.targets` and `*.csproj` files.
   
   


-- 
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: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to