https://github.com/ericdallo/nrepl-graalvm-sample
Sample project testing graalvm compilation with nrepl
https://github.com/ericdallo/nrepl-graalvm-sample
Last synced: 2 months ago
JSON representation
Sample project testing graalvm compilation with nrepl
- Host: GitHub
- URL: https://github.com/ericdallo/nrepl-graalvm-sample
- Owner: ericdallo
- License: epl-1.0
- Created: 2021-11-15T14:40:34.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-15T15:16:25.000Z (about 4 years ago)
- Last Synced: 2024-12-27T22:17:51.316Z (about 1 year ago)
- Language: Clojure
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# nrepl-graalvm-sample
Sample project that tests [nrepl/nrepl](https://github.com/nrepl/nrepl) usage with a native image compiled with GraalVM.
## Usage
1. Build a local jar of [this PR](https://github.com/nrepl/nrepl/pull/258) as it contains the necessary fixes for graalvm compilation.
2. Run the script to generate the jar and then compile with graalvm.
```bash
bash ./graalvm/native-unix-compile.sh
```
3. If everything goes well, it should generate a `nrepl-graalvm-sample` executable on the root of this project where you can run and see:
```
Evaluated sucessfully: [7]
```
`
## License
Copyright © 2021 Eric Dallo
_EPLv1.0 is just the default for projects generated by `clj-new`: you are not_
_required to open source this project, nor are you required to use EPLv1.0!_
_Feel free to remove or change the `LICENSE` file and remove or update this_
_section of the `README.md` file!_
Distributed under the Eclipse Public License version 1.0.