-
Notifications
You must be signed in to change notification settings - Fork 146
Graal scala3 #830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graal scala3 #830
Conversation
6f70b21
to
3520784
Compare
f489b88
to
61eb8da
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some comments, but don't we want to move the graal processing stuff to its own project? It does pretty general things, that may also be used by projects others than Scala CLI.
Also, I'm not sure the global caching logic is fine with concurrency (file locks or atomic moves should be used to ensure it's fine). But are the computations it caches that slow? Couldn't a per-project cache work?
modules/cli/src/main/scala/scala/cli/packaging/NativeImage.scala
Outdated
Show resolved
Hide resolved
modules/scala3-graal/src/main/scala/scala/cli/graal/BytecodeProcessor.scala
Outdated
Show resolved
Hide resolved
modules/scala3-graal/src/main/scala/scala/cli/graal/BytecodeProcessor.scala
Outdated
Show resolved
Hide resolved
modules/scala3-graal/src/main/scala/scala/cli/graal/BytecodeProcessor.scala
Outdated
Show resolved
Hide resolved
...i/src/main/resources/META-INF/native-image/org.virtuslab/scala-cli-core/resource-config.json
Show resolved
Hide resolved
fc1b66a
to
c40c47e
Compare
Wouldn't it be published with Scala CLI anyway? I can also do that once its stabilize and it can be another lib that we can test publishing from Scala CLI on.scala-cli
I think I can change it back to process everything every time ( |
Switch scala-cli to use TempCache and create DirCache for our build Move some classes from BytecodeProcessor to dedicated files
a115a4c
to
ac767a0
Compare
No description provided.