-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: shared headers, rules_cc
support
#221
base: main
Are you sure you want to change the base?
Commits on Jan 6, 2024
-
feat: shared headers,
rules_cc
supportThis changeset adds `out_headers` and `additional_outputs`, which, together, allow a developer to add additional outputs to a regular `native_image` build. Because a header is generated per C entrypoint class, the developer needs to be able to declare as many as they want. Additionally, a `CcInfo` provider needs to be returned from the `native_image` target to facilitate downsream support for `rules_cc` targets. - feat: add `out_headers` and `additional_outputs` attributes - feat: add `default_outputs` attribute to opt-out of new behavior - feat: resolve and add `CcInfo` to shared library targets Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for c4188b4 - Browse repository at this point
Copy the full SHA c4188b4View commit details -
fix: restore cpp toolchain symbol for classic rules
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for b6c47ef - Browse repository at this point
Copy the full SHA b6c47efView commit details -
fix: inclusion of native jvm headers in
native-image
buildsSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 4e0f1bf - Browse repository at this point
Copy the full SHA 4e0f1bfView commit details -
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 55af619 - Browse repository at this point
Copy the full SHA 55af619View commit details -
fix: provide
GRAALVM_HOME
tonative-image
buildsSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 62d95e5 - Browse repository at this point
Copy the full SHA 62d95e5View commit details -
fix: gvm home parameter in classic rules
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 7b53b59 - Browse repository at this point
Copy the full SHA 7b53b59View commit details -
fix: off-by-one in graalvm home path
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 9d6d956 - Browse repository at this point
Copy the full SHA 9d6d956View commit details -
fix: include
data
attribute in direct inputsSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 223e0b8 - Browse repository at this point
Copy the full SHA 223e0b8View commit details
Commits on Jan 13, 2024
-
feat: makevar expansion for
extra_args
Adds Makefile variable expansion support to the `extra_args` flags passed to `native-image`. Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for ed40131 - Browse repository at this point
Copy the full SHA ed40131View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6a8e2 - Browse repository at this point
Copy the full SHA fb6a8e2View commit details
Commits on Jan 14, 2024
-
feat: initial work on shared native image rule
- create base attributes, split into main/shared target attrs - create new macro and rules Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 2a70e11 - Browse repository at this point
Copy the full SHA 2a70e11View commit details -
- support `main_module` attribute - format with `main_module` attr if present Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 3383a37 - Browse repository at this point
Copy the full SHA 3383a37View commit details -
fix: override native image tmpdir for shared libs
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for e5ec856 - Browse repository at this point
Copy the full SHA e5ec856View commit details -
feat: implement
strict
attribute- provide `strict` attribute in all `native_image` rules - inject `strict` arguments according to latest gvm version Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for ebfc421 - Browse repository at this point
Copy the full SHA ebfc421View commit details -
- add multi-label variants of config file attribuets for resources, jni, and so on - disallow use of singular and plural attributes together in one target definition Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for dd5f4a4 - Browse repository at this point
Copy the full SHA dd5f4a4View commit details -
fix: provide genfiles dir to native image env
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 36befe6 - Browse repository at this point
Copy the full SHA 36befe6View commit details -
feat: better
debug
build experience- don't delete local symbols for `debug` builds - enable source-level debugging by default for `debug` builds Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 19e679d - Browse repository at this point
Copy the full SHA 19e679dView commit details -
feat: implement support for output groups
- add common enum for output group names - add named output group for shared library headers - use default output group for binary or shared library Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for bb3ae0a - Browse repository at this point
Copy the full SHA bb3ae0aView commit details -
- add transitive inputs for compile-time jars - mark applicable dependencies with `neverlink` Relates-To: #243 Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for b61399c - Browse repository at this point
Copy the full SHA b61399cView commit details -
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 85cfed7 - Browse repository at this point
Copy the full SHA 85cfed7View commit details -
fix: don't pull in jvm external from main rule entrypoint
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for f3a8030 - Browse repository at this point
Copy the full SHA f3a8030View commit details -
fix: don't provide UnlockExperimentalOptions yet
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for e36ba06 - Browse repository at this point
Copy the full SHA e36ba06View commit details -
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 167d4f6 - Browse repository at this point
Copy the full SHA 167d4f6View commit details -
fix: artifact options with structs
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 811d5fe - Browse repository at this point
Copy the full SHA 811d5feView commit details -
fix: proper
print
for debug messageSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for ca03088 - Browse repository at this point
Copy the full SHA ca03088View commit details -
fix:
main_class
not available for shared librariesSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 2ed1f4f - Browse repository at this point
Copy the full SHA 2ed1f4fView commit details -
test: move to new
native_image_shared_library
ruleSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 1e9c24b - Browse repository at this point
Copy the full SHA 1e9c24bView commit details -
feat: ability to move specific deps to
modulepath
- add new `module_deps` attribute - add example of modular java use - wire in `main_module` attribute - process into separate module path (direct only) - append to `native-image` invocation as `--module-path` Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 5c674d1 - Browse repository at this point
Copy the full SHA 5c674d1View commit details -
chore: build locally with strict java deps
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 442935d - Browse repository at this point
Copy the full SHA 442935dView commit details -
chore: add local example for
shared
library useSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for db9f530 - Browse repository at this point
Copy the full SHA db9f530View commit details -
fix:
native
example reflection configSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for b9ce2c0 - Browse repository at this point
Copy the full SHA b9ce2c0View commit details -
fix: don't append
-bin
suffix to shared libsSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 1e79b60 - Browse repository at this point
Copy the full SHA 1e79b60View commit details -
chore: add
third_party
target forjacoco
Relates-To: #220 Relates-To: bazelbuild/bazel#12714 Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for a186a27 - Browse repository at this point
Copy the full SHA a186a27View commit details -
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 53686ca - Browse repository at this point
Copy the full SHA 53686caView commit details -
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 1aefe81 - Browse repository at this point
Copy the full SHA 1aefe81View commit details -
chore: drop old disabled tests
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 1662194 - Browse repository at this point
Copy the full SHA 1662194View commit details -
chore: add
nativeimage
artifactSigned-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 2dcad3f - Browse repository at this point
Copy the full SHA 2dcad3fView commit details -
chore: adopt new attr structure in macro entrypoints
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 8188160 - Browse repository at this point
Copy the full SHA 8188160View commit details -
- add rule and macro definition/entrypoint for test targets - rollup test targets dependencies in native image build - inject native test feature, runner as entrypoint - provide dependencies for junit5 Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for a5b91cc - Browse repository at this point
Copy the full SHA a5b91ccView commit details -
chore: relock bzlmod for tests
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 454dc5c - Browse repository at this point
Copy the full SHA 454dc5cView commit details
Commits on Jan 25, 2024
-
fix: expansion of profiles attr
Signed-off-by: Sam Gammon <sam@elide.ventures>
Configuration menu - View commit details
-
Copy full SHA for 72d7f6b - Browse repository at this point
Copy the full SHA 72d7f6bView commit details