
* use bazel commit in #13112, and add version 0.24.1, and corresponding cc_env patch * undo preferred java version by dodo47 * patch for v0.26 * Update install steps * Add patches for more versions * Add unit tests * Update patches for new Spack env vars * env is already defined, use spackEnv
12 lines
459 B
Diff
12 lines
459 B
Diff
--- a/compile.sh
|
|
+++ b/compile.sh
|
|
@@ -85,7 +85,7 @@
|
|
log "Building output/bazel"
|
|
# We set host and target platform directly since the defaults in @bazel_tools
|
|
# have not yet been generated.
|
|
-bazel_build "src:bazel${EXE_EXT}" \
|
|
+CC=$SPACK_CC CXX=$SPACK_CXX bazel_build "src:bazel${EXE_EXT}" \
|
|
--experimental_host_platform=//tools/platforms:host_platform \
|
|
--experimental_platforms=//tools/platforms:target_platform \
|
|
|| fail "Could not build Bazel"
|