Skip to content
Snippets Groups Projects
Commit 8522d1f0 authored by Sajid Ali's avatar Sajid Ali Committed by Adam J. Stewart
Browse files

build bazel with jdk (#14258)

* build bazel with jdk

* Flake 8

* Fix typo
parent 80495d83
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,10 @@ class Bazel(Package): ...@@ -87,7 +87,10 @@ class Bazel(Package):
version('0.3.0', sha256='357fd8bdf86034b93902616f0844bd52e9304cccca22971ab7007588bf9d5fb3') version('0.3.0', sha256='357fd8bdf86034b93902616f0844bd52e9304cccca22971ab7007588bf9d5fb3')
# https://docs.bazel.build/versions/master/install-compile-source.html#bootstrap-bazel # 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')) depends_on('python', type=('build', 'run'))
# Pass Spack environment variables to the build # Pass Spack environment variables to the build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment