Skip to content

Commit

Permalink
Libgpg_error_jll build 1.36.0+3
Browse files Browse the repository at this point in the history
  • Loading branch information
jlbuild committed Oct 16, 2020
1 parent 1fd6dbd commit 7eacfec
Show file tree
Hide file tree
Showing 19 changed files with 169 additions and 629 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
override/
5 changes: 4 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name = "Libgpg_error_jll"
uuid = "7add5ba3-2f88-524e-9cd5-f83b8a55f7b8"
version = "1.36.0+2"
version = "1.36.0+3"

[deps]
JLLWrappers = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"

[compat]
JLLWrappers = "1.1.0"
julia = "1.0"
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `Libgpg_error_jll.jl` (v1.36.0+2)
# `Libgpg_error_jll.jl` (v1.36.0+3)

This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/b81d0067d2dd19f6f1ffe2a15b3a595c4ccc204c/L/Libgpg_error/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree.
This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/7ba2d10fc09d381d00d04998b552851b0cded15f/L/Libgpg_error/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree. If you have any issue, please report it to the Yggdrasil [bug tracker](https://github.com/JuliaPackaging/Yggdrasil/issues).

For more details about JLL packages and how to use them, see `BinaryBuilder.jl` [documentation](https://juliapackaging.github.io/BinaryBuilder.jl/dev/jll/).

Expand All @@ -9,25 +9,25 @@ For more details about JLL packages and how to use them, see `BinaryBuilder.jl`
The tarballs for `Libgpg_error_jll.jl` have been built from these sources:

* compressed archive: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.36.tar.bz2 (SHA256 checksum: `babd98437208c163175c29453f8681094bcaf92968a15cafb1a276076b33c97c`)
* files in directory, relative to originating `build_tarballs.jl`: [`./bundled`](https://github.com/JuliaPackaging/Yggdrasil/tree/b81d0067d2dd19f6f1ffe2a15b3a595c4ccc204c/L/Libgpg_error/bundled)
* files in directory, relative to originating `build_tarballs.jl`: [`./bundled`](https://github.com/JuliaPackaging/Yggdrasil/tree/7ba2d10fc09d381d00d04998b552851b0cded15f/L/Libgpg_error/bundled)

## Platforms

`Libgpg_error_jll.jl` is available for the following platforms:

* `Linux(:aarch64, libc=:glibc)` (`aarch64-linux-gnu`)
* `Linux(:aarch64, libc=:musl)` (`aarch64-linux-musl`)
* `Linux(:armv7l, libc=:glibc, call_abi=:eabihf)` (`armv7l-linux-gnueabihf`)
* `Linux(:armv7l, libc=:musl, call_abi=:eabihf)` (`armv7l-linux-musleabihf`)
* `Linux(:i686, libc=:glibc)` (`i686-linux-gnu`)
* `Linux(:i686, libc=:musl)` (`i686-linux-musl`)
* `Windows(:i686)` (`i686-w64-mingw32`)
* `Linux(:powerpc64le, libc=:glibc)` (`powerpc64le-linux-gnu`)
* `MacOS(:x86_64)` (`x86_64-apple-darwin14`)
* `Linux(:x86_64, libc=:glibc)` (`x86_64-linux-gnu`)
* `Linux(:x86_64, libc=:musl)` (`x86_64-linux-musl`)
* `FreeBSD(:x86_64)` (`x86_64-unknown-freebsd11.1`)
* `Windows(:x86_64)` (`x86_64-w64-mingw32`)
* `Linux aarch64 {libc=glibc}` (`aarch64-linux-gnu`)
* `Linux aarch64 {libc=musl}` (`aarch64-linux-musl`)
* `Linux armv7l {call_abi=eabihf, libc=glibc}` (`armv7l-linux-gnueabihf`)
* `Linux armv7l {call_abi=eabihf, libc=musl}` (`armv7l-linux-musleabihf`)
* `Linux i686 {libc=glibc}` (`i686-linux-gnu`)
* `Linux i686 {libc=musl}` (`i686-linux-musl`)
* `Windows i686` (`i686-w64-mingw32`)
* `Linux powerpc64le {libc=glibc}` (`powerpc64le-linux-gnu`)
* `macOS x86_64` (`x86_64-apple-darwin`)
* `Linux x86_64 {libc=glibc}` (`x86_64-linux-gnu`)
* `Linux x86_64 {libc=musl}` (`x86_64-linux-musl`)
* `FreeBSD x86_64` (`x86_64-unknown-freebsd`)
* `Windows x86_64` (`x86_64-w64-mingw32`)

## Products

Expand Down
64 changes: 8 additions & 56 deletions src/Libgpg_error_jll.jl
Original file line number Diff line number Diff line change
@@ -1,57 +1,9 @@
module Libgpg_error_jll

if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel"))
@eval Base.Experimental.@optlevel 0
end

if VERSION < v"1.3.0-rc4"
# We lie a bit in the registry that JLL packages are usable on Julia 1.0-1.2.
# This is to allow packages that might want to support Julia 1.0 to get the
# benefits of a JLL package on 1.3 (requiring them to declare a dependence on
# this JLL package in their Project.toml) but engage in heroic hacks to do
# something other than actually use a JLL package on 1.0-1.2. By allowing
# this package to be installed (but not loaded) on 1.0-1.2, we enable users
# to avoid splitting their package versions into pre-1.3 and post-1.3 branches
# if they are willing to engage in the kinds of hoop-jumping they might need
# to in order to install binaries in a JLL-compatible way on 1.0-1.2. One
# example of this hoop-jumping being to express a dependency on this JLL
# package, then import it within a `VERSION >= v"1.3"` conditional, and use
# the deprecated `build.jl` mechanism to download the binaries through e.g.
# `BinaryProvider.jl`. This should work well for the simplest packages, and
# require greater and greater heroics for more and more complex packages.
error("Unable to import Libgpg_error_jll on Julia versions older than 1.3!")
end

using Pkg, Pkg.BinaryPlatforms, Pkg.Artifacts, Libdl
import Base: UUID

# We put these inter-JLL-package API values here so that they are always defined, even if there
# is no underlying wrapper held within this JLL package.
const PATH_list = String[]
const LIBPATH_list = String[]

# Load Artifacts.toml file
artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml")

# Extract all platforms
artifacts = Pkg.Artifacts.load_artifacts_toml(artifacts_toml; pkg_uuid=UUID("7add5ba3-2f88-524e-9cd5-f83b8a55f7b8"))
platforms = [Pkg.Artifacts.unpack_platform(e, "Libgpg_error", artifacts_toml) for e in artifacts["Libgpg_error"]]

# Filter platforms based on what wrappers we've generated on-disk
filter!(p -> isfile(joinpath(@__DIR__, "wrappers", replace(triplet(p), "arm-" => "armv7l-") * ".jl")), platforms)

# From the available options, choose the best platform
best_platform = select_platform(Dict(p => triplet(p) for p in platforms))

# Silently fail if there's no binaries for this platform
if best_platform === nothing
@debug("Unable to load Libgpg_error; unsupported platform $(triplet(platform_key_abi()))")
else
# Load the appropriate wrapper. Note that on older Julia versions, we still
# say "arm-linux-gnueabihf" instead of the more correct "armv7l-linux-gnueabihf",
# so we manually correct for that here:
best_platform = replace(best_platform, "arm-" => "armv7l-")
include(joinpath(@__DIR__, "wrappers", "$(best_platform).jl"))
end

# Use baremodule to shave off a few KB from the serialized `.ji` file
baremodule Libgpg_error_jll
using Base
using Base: UUID
import JLLWrappers

JLLWrappers.@generate_main_file_header("Libgpg_error")
JLLWrappers.@generate_main_file("Libgpg_error", UUID("7add5ba3-2f88-524e-9cd5-f83b8a55f7b8"))
end # module Libgpg_error_jll
52 changes: 10 additions & 42 deletions src/wrappers/aarch64-linux-gnu.jl
Original file line number Diff line number Diff line change
@@ -1,47 +1,15 @@
# Autogenerated wrapper script for Libgpg_error_jll for aarch64-linux-gnu
export libgpg_error

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

# Relative path to `libgpg_error`
const libgpg_error_splitpath = ["lib", "libgpg-error.so"]

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

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

# This must be `const` so that we can use it with `ccall()`
const libgpg_error = "libgpg-error.so.0"


"""
Open all libraries
"""
JLLWrappers.@generate_wrapper_header("Libgpg_error")
JLLWrappers.@declare_library_product(libgpg_error, "libgpg-error.so.0")
function __init__()
global artifact_dir = abspath(artifact"Libgpg_error")

# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
global libgpg_error_path = normpath(joinpath(artifact_dir, libgpg_error_splitpath...))

# Manually `dlopen()` this right now so that future invocations
# of `ccall` with its `SONAME` will find this path immediately.
global libgpg_error_handle = dlopen(libgpg_error_path)
push!(LIBPATH_list, dirname(libgpg_error_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(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':')


JLLWrappers.@generate_init_header()
JLLWrappers.@init_library_product(
libgpg_error,
"lib/libgpg-error.so",
RTLD_LAZY | RTLD_DEEPBIND,
)

JLLWrappers.@generate_init_footer()
end # __init__()

52 changes: 10 additions & 42 deletions src/wrappers/aarch64-linux-musl.jl
Original file line number Diff line number Diff line change
@@ -1,47 +1,15 @@
# Autogenerated wrapper script for Libgpg_error_jll for aarch64-linux-musl
export libgpg_error

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

# Relative path to `libgpg_error`
const libgpg_error_splitpath = ["lib", "libgpg-error.so"]

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

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

# This must be `const` so that we can use it with `ccall()`
const libgpg_error = "libgpg-error.so.0"


"""
Open all libraries
"""
JLLWrappers.@generate_wrapper_header("Libgpg_error")
JLLWrappers.@declare_library_product(libgpg_error, "libgpg-error.so.0")
function __init__()
global artifact_dir = abspath(artifact"Libgpg_error")

# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
global libgpg_error_path = normpath(joinpath(artifact_dir, libgpg_error_splitpath...))

# Manually `dlopen()` this right now so that future invocations
# of `ccall` with its `SONAME` will find this path immediately.
global libgpg_error_handle = dlopen(libgpg_error_path)
push!(LIBPATH_list, dirname(libgpg_error_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(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':')


JLLWrappers.@generate_init_header()
JLLWrappers.@init_library_product(
libgpg_error,
"lib/libgpg-error.so",
RTLD_LAZY | RTLD_DEEPBIND,
)

JLLWrappers.@generate_init_footer()
end # __init__()

52 changes: 10 additions & 42 deletions src/wrappers/armv7l-linux-gnueabihf.jl
Original file line number Diff line number Diff line change
@@ -1,47 +1,15 @@
# Autogenerated wrapper script for Libgpg_error_jll for armv7l-linux-gnueabihf
export libgpg_error

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

# Relative path to `libgpg_error`
const libgpg_error_splitpath = ["lib", "libgpg-error.so"]

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

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

# This must be `const` so that we can use it with `ccall()`
const libgpg_error = "libgpg-error.so.0"


"""
Open all libraries
"""
JLLWrappers.@generate_wrapper_header("Libgpg_error")
JLLWrappers.@declare_library_product(libgpg_error, "libgpg-error.so.0")
function __init__()
global artifact_dir = abspath(artifact"Libgpg_error")

# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
global libgpg_error_path = normpath(joinpath(artifact_dir, libgpg_error_splitpath...))

# Manually `dlopen()` this right now so that future invocations
# of `ccall` with its `SONAME` will find this path immediately.
global libgpg_error_handle = dlopen(libgpg_error_path)
push!(LIBPATH_list, dirname(libgpg_error_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(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':')


JLLWrappers.@generate_init_header()
JLLWrappers.@init_library_product(
libgpg_error,
"lib/libgpg-error.so",
RTLD_LAZY | RTLD_DEEPBIND,
)

JLLWrappers.@generate_init_footer()
end # __init__()

52 changes: 10 additions & 42 deletions src/wrappers/armv7l-linux-musleabihf.jl
Original file line number Diff line number Diff line change
@@ -1,47 +1,15 @@
# Autogenerated wrapper script for Libgpg_error_jll for armv7l-linux-musleabihf
export libgpg_error

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

# Relative path to `libgpg_error`
const libgpg_error_splitpath = ["lib", "libgpg-error.so"]

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

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

# This must be `const` so that we can use it with `ccall()`
const libgpg_error = "libgpg-error.so.0"


"""
Open all libraries
"""
JLLWrappers.@generate_wrapper_header("Libgpg_error")
JLLWrappers.@declare_library_product(libgpg_error, "libgpg-error.so.0")
function __init__()
global artifact_dir = abspath(artifact"Libgpg_error")

# Initialize PATH and LIBPATH environment variable listings
global PATH_list, LIBPATH_list
global libgpg_error_path = normpath(joinpath(artifact_dir, libgpg_error_splitpath...))

# Manually `dlopen()` this right now so that future invocations
# of `ccall` with its `SONAME` will find this path immediately.
global libgpg_error_handle = dlopen(libgpg_error_path)
push!(LIBPATH_list, dirname(libgpg_error_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(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':')


JLLWrappers.@generate_init_header()
JLLWrappers.@init_library_product(
libgpg_error,
"lib/libgpg-error.so",
RTLD_LAZY | RTLD_DEEPBIND,
)

JLLWrappers.@generate_init_footer()
end # __init__()

Loading

0 comments on commit 7eacfec

Please sign in to comment.