build bazel with jdk (#14258)
* build bazel with jdk * Flake 8 * Fix typo
This commit is contained in:
parent
80495d83ed
commit
8522d1f0cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user