-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bin postfix for shared library targets
- fix: use `dylib` postfix for shared library outputs on mac - fix: use `so` postfix for shared library outputs on linux - fix: consolidate bin postfix `exe` with new behavior - test: add integration test for shared libs on all platforms Closes: #216 Signed-off-by: Sam Gammon <[email protected]>
- Loading branch information
Showing
11 changed files
with
1,072 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build --enable_bzlmod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.0.0-pre.20230816.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
"Sample bzlmod-style project which uses the GraalVM Rules for Bazel." | ||
|
||
module( | ||
name = "rules_graalvm_bzlmod_sample", | ||
version = "0.0.1", | ||
) | ||
|
||
bazel_dep( | ||
name = "rules_java", | ||
version = "6.4.0", | ||
) | ||
bazel_dep( | ||
name = "rules_graalvm", | ||
version = "0.0.0", | ||
) | ||
local_path_override( | ||
module_name = "rules_graalvm", | ||
path = "../../..", | ||
) | ||
|
||
gvm = use_extension("@rules_graalvm//:extensions.bzl", "graalvm") | ||
gvm.graalvm( | ||
name = "graalvm", | ||
distribution = "ce", | ||
java_version = "20", | ||
version = "20.0.2", | ||
) | ||
use_repo( | ||
gvm, | ||
"graalvm", | ||
) | ||
|
||
register_toolchains("@graalvm//:jvm") | ||
|
||
register_toolchains("@graalvm//:sdk") |
Oops, something went wrong.