Skip to content

Commit

Permalink
[Open MPI] Use init_block to set env
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne authored Nov 29, 2021
1 parent 5379e78 commit d9c4ef1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion O/OpenMPI/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ dependencies = [
Dependency("CompilerSupportLibraries_jll"),
]

init_block = raw"""
ENV["OPAL_PREFIX"] = artifact_dir
"""

# Build the tarballs, and possibly a `build.jl` as well.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
julia_compat="1.6", preferred_gcc_version=v"5")
julia_compat="1.6", preferred_gcc_version=v"5", init_block=init_block)

0 comments on commit d9c4ef1

Please sign in to comment.