Skip to content

Commit

Permalink
MPICH_jll build 3.3.2+5
Browse files Browse the repository at this point in the history
  • Loading branch information
jlbuild committed Feb 25, 2020
1 parent 2e9fdc6 commit 31b2d12
Show file tree
Hide file tree
Showing 36 changed files with 2,229 additions and 132 deletions.
299 changes: 263 additions & 36 deletions Artifacts.toml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "MPICH_jll"
uuid = "7cb0a576-ebde-5e09-9194-50597f1243b4"
version = "3.3.2+4"
version = "3.3.2+5"

[deps]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Autogenerated wrapper script for MPICH_jll for aarch64-linux-gnu
# Autogenerated wrapper script for MPICH_jll for aarch64-linux-gnu-libgfortran3
export libmpi, mpiexec

## Global variables
Expand Down
85 changes: 85 additions & 0 deletions src/wrappers/aarch64-linux-gnu-libgfortran4.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Autogenerated wrapper script for MPICH_jll for aarch64-linux-gnu-libgfortran4
export libmpi, mpiexec

## Global variables
PATH = ""
LIBPATH = ""
LIBPATH_env = "LD_LIBRARY_PATH"

# Relative path to `libmpi`
const libmpi_splitpath = ["lib", "libmpi.so"]

# This will be filled out by __init__() for all products, as it must be done at runtime
libmpi_path = ""

# libmpi-specific global declaration
# This will be filled out by __init__()
libmpi_handle = C_NULL

# This must be `const` so that we can use it with `ccall()`
const libmpi = "libmpi.so.12"


# Relative path to `mpiexec`
const mpiexec_splitpath = ["bin", "mpiexec"]

# This will be filled out by __init__() for all products, as it must be done at runtime
mpiexec_path = ""

# mpiexec-specific global declaration
function mpiexec(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true)
global PATH, LIBPATH
env_mapping = Dict{String,String}()
if adjust_PATH
if !isempty(get(ENV, "PATH", ""))
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"])
else
env_mapping["PATH"] = PATH
end
end
if adjust_LIBPATH
if !isempty(get(ENV, LIBPATH_env, ""))
env_mapping[LIBPATH_env] = string(LIBPATH, ':', ENV[LIBPATH_env])
else
env_mapping[LIBPATH_env] = LIBPATH
end
end
withenv(env_mapping...) do
f(mpiexec_path)
end
end


"""
Open all libraries
"""
function __init__()
global artifact_dir = abspath(artifact"MPICH")

# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
# We first need to add to LIBPATH_list the libraries provided by Julia
append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
global libmpi_path = normpath(joinpath(artifact_dir, libmpi_splitpath...))

# Manually `dlopen()` this right now so that future invocations
# of `ccall` with its `SONAME` will find this path immediately.
global libmpi_handle = dlopen(libmpi_path)
push!(LIBPATH_list, dirname(libmpi_path))

global mpiexec_path = normpath(joinpath(artifact_dir, mpiexec_splitpath...))

push!(PATH_list, dirname(mpiexec_path))
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
filter!(!isempty, unique!(PATH_list))
filter!(!isempty, unique!(LIBPATH_list))
global PATH = join(PATH_list, ':')
global LIBPATH = join(LIBPATH_list, ':')

# Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms
# that don't honor our "already opened" trick)
#for lp in LIBPATH_list
# push!(DL_LOAD_PATH, lp)
#end
end # __init__()

85 changes: 85 additions & 0 deletions src/wrappers/aarch64-linux-gnu-libgfortran5.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Autogenerated wrapper script for MPICH_jll for aarch64-linux-gnu-libgfortran5
export libmpi, mpiexec

## Global variables
PATH = ""
LIBPATH = ""
LIBPATH_env = "LD_LIBRARY_PATH"

# Relative path to `libmpi`
const libmpi_splitpath = ["lib", "libmpi.so"]

# This will be filled out by __init__() for all products, as it must be done at runtime
libmpi_path = ""

# libmpi-specific global declaration
# This will be filled out by __init__()
libmpi_handle = C_NULL

# This must be `const` so that we can use it with `ccall()`
const libmpi = "libmpi.so.12"


# Relative path to `mpiexec`
const mpiexec_splitpath = ["bin", "mpiexec"]

# This will be filled out by __init__() for all products, as it must be done at runtime
mpiexec_path = ""

# mpiexec-specific global declaration
function mpiexec(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true)
global PATH, LIBPATH
env_mapping = Dict{String,String}()
if adjust_PATH
if !isempty(get(ENV, "PATH", ""))
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"])
else
env_mapping["PATH"] = PATH
end
end
if adjust_LIBPATH
if !isempty(get(ENV, LIBPATH_env, ""))
env_mapping[LIBPATH_env] = string(LIBPATH, ':', ENV[LIBPATH_env])
else
env_mapping[LIBPATH_env] = LIBPATH
end
end
withenv(env_mapping...) do
f(mpiexec_path)
end
end


"""
Open all libraries
"""
function __init__()
global artifact_dir = abspath(artifact"MPICH")

# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
# We first need to add to LIBPATH_list the libraries provided by Julia
append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
global libmpi_path = normpath(joinpath(artifact_dir, libmpi_splitpath...))

# Manually `dlopen()` this right now so that future invocations
# of `ccall` with its `SONAME` will find this path immediately.
global libmpi_handle = dlopen(libmpi_path)
push!(LIBPATH_list, dirname(libmpi_path))

global mpiexec_path = normpath(joinpath(artifact_dir, mpiexec_splitpath...))

push!(PATH_list, dirname(mpiexec_path))
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
filter!(!isempty, unique!(PATH_list))
filter!(!isempty, unique!(LIBPATH_list))
global PATH = join(PATH_list, ':')
global LIBPATH = join(LIBPATH_list, ':')

# Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms
# that don't honor our "already opened" trick)
#for lp in LIBPATH_list
# push!(DL_LOAD_PATH, lp)
#end
end # __init__()

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Autogenerated wrapper script for MPICH_jll for aarch64-linux-musl
# Autogenerated wrapper script for MPICH_jll for aarch64-linux-musl-libgfortran3
export libmpi, mpiexec

## Global variables
Expand Down
85 changes: 85 additions & 0 deletions src/wrappers/aarch64-linux-musl-libgfortran4.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Autogenerated wrapper script for MPICH_jll for aarch64-linux-musl-libgfortran4
export libmpi, mpiexec

## Global variables
PATH = ""
LIBPATH = ""
LIBPATH_env = "LD_LIBRARY_PATH"

# Relative path to `libmpi`
const libmpi_splitpath = ["lib", "libmpi.so"]

# This will be filled out by __init__() for all products, as it must be done at runtime
libmpi_path = ""

# libmpi-specific global declaration
# This will be filled out by __init__()
libmpi_handle = C_NULL

# This must be `const` so that we can use it with `ccall()`
const libmpi = "libmpi.so.12"


# Relative path to `mpiexec`
const mpiexec_splitpath = ["bin", "mpiexec"]

# This will be filled out by __init__() for all products, as it must be done at runtime
mpiexec_path = ""

# mpiexec-specific global declaration
function mpiexec(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true)
global PATH, LIBPATH
env_mapping = Dict{String,String}()
if adjust_PATH
if !isempty(get(ENV, "PATH", ""))
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"])
else
env_mapping["PATH"] = PATH
end
end
if adjust_LIBPATH
if !isempty(get(ENV, LIBPATH_env, ""))
env_mapping[LIBPATH_env] = string(LIBPATH, ':', ENV[LIBPATH_env])
else
env_mapping[LIBPATH_env] = LIBPATH
end
end
withenv(env_mapping...) do
f(mpiexec_path)
end
end


"""
Open all libraries
"""
function __init__()
global artifact_dir = abspath(artifact"MPICH")

# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
# We first need to add to LIBPATH_list the libraries provided by Julia
append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
global libmpi_path = normpath(joinpath(artifact_dir, libmpi_splitpath...))

# Manually `dlopen()` this right now so that future invocations
# of `ccall` with its `SONAME` will find this path immediately.
global libmpi_handle = dlopen(libmpi_path)
push!(LIBPATH_list, dirname(libmpi_path))

global mpiexec_path = normpath(joinpath(artifact_dir, mpiexec_splitpath...))

push!(PATH_list, dirname(mpiexec_path))
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
filter!(!isempty, unique!(PATH_list))
filter!(!isempty, unique!(LIBPATH_list))
global PATH = join(PATH_list, ':')
global LIBPATH = join(LIBPATH_list, ':')

# Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms
# that don't honor our "already opened" trick)
#for lp in LIBPATH_list
# push!(DL_LOAD_PATH, lp)
#end
end # __init__()

85 changes: 85 additions & 0 deletions src/wrappers/aarch64-linux-musl-libgfortran5.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Autogenerated wrapper script for MPICH_jll for aarch64-linux-musl-libgfortran5
export libmpi, mpiexec

## Global variables
PATH = ""
LIBPATH = ""
LIBPATH_env = "LD_LIBRARY_PATH"

# Relative path to `libmpi`
const libmpi_splitpath = ["lib", "libmpi.so"]

# This will be filled out by __init__() for all products, as it must be done at runtime
libmpi_path = ""

# libmpi-specific global declaration
# This will be filled out by __init__()
libmpi_handle = C_NULL

# This must be `const` so that we can use it with `ccall()`
const libmpi = "libmpi.so.12"


# Relative path to `mpiexec`
const mpiexec_splitpath = ["bin", "mpiexec"]

# This will be filled out by __init__() for all products, as it must be done at runtime
mpiexec_path = ""

# mpiexec-specific global declaration
function mpiexec(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true)
global PATH, LIBPATH
env_mapping = Dict{String,String}()
if adjust_PATH
if !isempty(get(ENV, "PATH", ""))
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"])
else
env_mapping["PATH"] = PATH
end
end
if adjust_LIBPATH
if !isempty(get(ENV, LIBPATH_env, ""))
env_mapping[LIBPATH_env] = string(LIBPATH, ':', ENV[LIBPATH_env])
else
env_mapping[LIBPATH_env] = LIBPATH
end
end
withenv(env_mapping...) do
f(mpiexec_path)
end
end


"""
Open all libraries
"""
function __init__()
global artifact_dir = abspath(artifact"MPICH")

# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
# We first need to add to LIBPATH_list the libraries provided by Julia
append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
global libmpi_path = normpath(joinpath(artifact_dir, libmpi_splitpath...))

# Manually `dlopen()` this right now so that future invocations
# of `ccall` with its `SONAME` will find this path immediately.
global libmpi_handle = dlopen(libmpi_path)
push!(LIBPATH_list, dirname(libmpi_path))

global mpiexec_path = normpath(joinpath(artifact_dir, mpiexec_splitpath...))

push!(PATH_list, dirname(mpiexec_path))
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
filter!(!isempty, unique!(PATH_list))
filter!(!isempty, unique!(LIBPATH_list))
global PATH = join(PATH_list, ':')
global LIBPATH = join(LIBPATH_list, ':')

# Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms
# that don't honor our "already opened" trick)
#for lp in LIBPATH_list
# push!(DL_LOAD_PATH, lp)
#end
end # __init__()

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Autogenerated wrapper script for MPICH_jll for armv7l-linux-gnueabihf
# Autogenerated wrapper script for MPICH_jll for armv7l-linux-gnueabihf-libgfortran3
export libmpi, mpiexec

## Global variables
Expand Down
Loading

0 comments on commit 31b2d12

Please sign in to comment.