diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-08-06 07:56:51 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-08-09 09:22:07 +0200 |
commit | 3282049bdf62d053a7ac9a0157ca3ef0f0c4ec27 (patch) | |
tree | b7710bc10daf7f89e1551b054659e4774f07b169 /WORKSPACE.bazel | |
parent | fe5e2bd92cfd89d74b83dffe620bc08d459a398c (diff) | |
download | jazzer-api-3282049bdf62d053a7ac9a0157ca3ef0f0c4ec27.tar.gz |
Find libjvm with a repository rule
libjvm lives in different subpaths of JAVA_HOME, depending both on the
OS and the Java version. Since it is currently not possible to select a
dependency based on the Java version, supporting Java 8 required a
custom build setting. This also broke bazel query (but not cquery).
By loading libjvm from a simple repository rule, we can cover all
OSes and Java versions with a single dependency, even if libjvm.so is
installed in a non-standard location.
Diffstat (limited to 'WORKSPACE.bazel')
0 files changed, 0 insertions, 0 deletions