diff options
author | Sajid Ali <30510036+s-sajid-ali@users.noreply.github.com> | 2019-12-20 19:40:05 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-20 19:40:05 -0600 |
commit | 8522d1f0cf710ceaf99fdb15a85c6358bda8b2a6 (patch) | |
tree | 3073eff8d14b9e22e6cbbe22318713046e52e339 /var | |
parent | 80495d83edbf8a0624c3bf317343a337e9ef588a (diff) | |
download | spack-8522d1f0cf710ceaf99fdb15a85c6358bda8b2a6.tar.gz spack-8522d1f0cf710ceaf99fdb15a85c6358bda8b2a6.tar.bz2 spack-8522d1f0cf710ceaf99fdb15a85c6358bda8b2a6.tar.xz spack-8522d1f0cf710ceaf99fdb15a85c6358bda8b2a6.zip |
build bazel with jdk (#14258)
* build bazel with jdk
* Flake 8
* Fix typo
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/bazel/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/bazel/package.py b/var/spack/repos/builtin/packages/bazel/package.py index b981fe409b..da3b2ce365 100644 --- a/var/spack/repos/builtin/packages/bazel/package.py +++ b/var/spack/repos/builtin/packages/bazel/package.py @@ -87,7 +87,10 @@ class Bazel(Package): version('0.3.0', sha256='357fd8bdf86034b93902616f0844bd52e9304cccca22971ab7007588bf9d5fb3') # https://docs.bazel.build/versions/master/install-compile-source.html#bootstrap-bazel - depends_on('java@8', type=('build', 'run')) + # Until https://github.com/spack/spack/issues/14058 is fixed, use jdk to build bazel + # Strict dependency on java@8 as per + # https://docs.bazel.build/versions/master/install-compile-source.html#bootstrap-unix-prereq + depends_on('jdk@1.8.0:1.8.999', type=('build', 'run')) depends_on('python', type=('build', 'run')) # Pass Spack environment variables to the build |