-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Build GraalVM Native Image nightly for ShardingSphere Proxy #21051
Comments
|
I remember that building GraalVM Native Image consumes a lot of memory (I used GraalVM Native image in 2020, it took 20~30 GB to compile a not complicate project to Native Image). Machine of GitHub Actions only have 7 GB RAM. |
|
Could ShardingSphere-Proxy be compiled to Native Image at present? |
|
|
Not sure what happened to the Github Package, I opened https://github.com/orgs/community/discussions/35042. |
Feature Request
For English only, other languages will not accept.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
Yes, this issue continues Consider suggesting the package name of assertThat in
Code of Conduct
#19845 and Update Mockito to 4.5.0 or newer to help with GraalVM integration #17451 for the issue of unit testing in GraalVM Native Image via JUnit Platform which the discussion content of .For observing build errors of GraalVM Native Image, this issue is an extension of Graalvm native image cause with Groovy 4 #17779 .
The target of this issue may be related to Support Quarkus extension #12594 .
Describe the feature you would like.
According to GraalVM team members at https://twitter.com/fniephaus/status/1565419507346071552?t=B2SPn4OIVDpiGeIkzSrDVA&s=19 ,
GraalVM 22.2
has been integrated with Github Action friendly, which means something like https://twitter.com/mraible/status/1498471457638293507?t=KFjwXLVc5QxTtCnTuTcIoQ&s=19 slow build mentioned by should be sufficiently mitigated.Due to the launch of the https://github.com/oracle/graalvm-reachability-metadata repository, for the metadata-related json required for GraalVM builds, we no longer need to consider how to place the json tested in the environment in the master branch of ShardingSphere and how to place them that cannot be used in JDK8 CI. For files missing from the build, we can commit directly to https://github.com/oracle/graalvm-reachability-metadata .
Although considering the impact of Apache Calcite's dependencies with dynamic libraries, it is impossible to build the master branch of ShardingSphere directly using the
native-image
plugin of GraalVM, but I still think that setting up a nightly build in Github Action will help improve development of the user's test, and finally achieve the purpose of building a successful. After all, for regular developers, building GraalVM Native Image locally is very time-consuming, and devices with different operating systems behave differently. Joining a nightly build I think is a reasonable move.For Calcite, refer to https://twitter.com/intjesus/status/1567276748257259520?s=19 .
The purpose of this issue is to provide a new specific
dockerfile
andstart.sh
and create a new cron timed CI job under https://github.com/apache/shardingsphere/tree/master/.github%2Fworkflows . At the same time the job must be allowed to fail.The text was updated successfully, but these errors were encountered: