Skip to content
Snippets Groups Projects
Commit dc20c688 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist: Committed by Eleni Mathioulaki
Browse files

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

parent c3a2c755
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......@@ -533,8 +535,11 @@ class Bazel(Package):
" --verbose_explanations"
# Show (formatted) subcommands being executed
" --subcommands=pretty_print"
# 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),
)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment