Skip to content
Snippets Groups Projects

fix(bazel): build on ju{suf,reca}

Merged Eric Müller requested to merge fix_bazel_jsc into master
1 file
+ 8
3
Compare changes
  • Side-by-side
  • Inline
+ 8
3
@@ -439,7 +439,9 @@ class Bazel(Package):
patch("cc_configure-0.3.0.patch", when="@0.3:0.4")
# Set CC and CXX
patch("compile-0.29.patch", when="@0.29:")
# begin EBRAINS: modified, bring upstream after checking since when this is breaking the build
patch("compile-0.29.patch", when="@0.29:5.3")
# end EBRAINS
patch("compile-0.21.patch", when="@0.21:0.28")
patch("compile-0.16.patch", when="@0.16:0.20")
patch("compile-0.13.patch", when="@0.13:0.15")
@@ -527,8 +529,11 @@ class Bazel(Package):
"--color=no --host_javabase=@local_jdk//:jdk"
# Enable verbose output for failures
" --verbose_failures"
# expose LD_LIBRARY_PATH (to fix protoc runtime error during build)
" --action_env=LD_LIBRARY_PATH"
# begin EBRAINS: modified, bring upstream after checking since when the compile-x.patch is breaking the build
# expose CC and CXX (the spack compiler wrappers)
" --action_env=CC"
" --action_env=CXX"
# end EBRAINS
" --jobs={0}".format(make_jobs),
)