Skip to content

Commit

Permalink
METIS_jll build 4.0.3+0
Browse files Browse the repository at this point in the history
  • Loading branch information
jlbuild committed Feb 20, 2020
1 parent 35f27bb commit 772a0ec
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 67 deletions.
116 changes: 58 additions & 58 deletions Artifacts.toml
Original file line number Diff line number Diff line change
@@ -1,113 +1,113 @@
[[METIS]]
arch = "i686"
git-tree-sha1 = "96d67e9ca6a6d77328ac4090d5cca090cdd647d8"
libc = "glibc"
arch = "aarch64"
git-tree-sha1 = "4a49e028dc9b09a26cfbba2f59a6186685d6f71b"
libc = "musl"
os = "linux"

[[METIS.download]]
sha256 = "64e1a4d6bd20a979af1f1201c3eb5825df8e23ca6bbe2a5b24ed66f736ecaaa4"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.i686-linux-gnu.tar.gz"
sha256 = "f031286651d7c7791113d4846eef1664a0c614a4e18f1687cbc6e6388dce31a3"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.aarch64-linux-musl.tar.gz"
[[METIS]]
arch = "i686"
git-tree-sha1 = "3df9adb22c1e3cdbb1ec1f20f626cee5580f12d8"
libc = "musl"
os = "linux"
git-tree-sha1 = "d664f42d1e65e3770056804a92e97f0419e05995"
os = "windows"

[[METIS.download]]
sha256 = "4bebbcb0a6dc08f6b986d72f5d11d068317de770dbc1788a2a00de20d2d76f28"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.i686-linux-musl.tar.gz"
sha256 = "080fac7198f9691663e35508327f81303709f7170d065ad39086797972f3a845"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.i686-w64-mingw32.tar.gz"
[[METIS]]
arch = "x86_64"
git-tree-sha1 = "fed2bc6996d89a1ced7b409a4efd0bbf3789efb2"
os = "macos"
git-tree-sha1 = "dfa7f949106be3d16ce6d50d13cafdb0724780cd"
libc = "musl"
os = "linux"

[[METIS.download]]
sha256 = "84234c422820081e4759f8e644768f52cd30bea67f1c7b807b9eee54147db34a"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.x86_64-apple-darwin14.tar.gz"
sha256 = "6d05a4ec14a1e286b348075d220cbe88a04797a36c6524e68b01cdc387a8d376"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.x86_64-linux-musl.tar.gz"
[[METIS]]
arch = "powerpc64le"
git-tree-sha1 = "7b1b78c9b55bf0fc54c8c9f627c78ceee23a3d4a"
arch = "i686"
git-tree-sha1 = "7962c68c07746bef7bdb3a0d144486042f92e4a6"
libc = "glibc"
os = "linux"

[[METIS.download]]
sha256 = "e8576ba1bd9502db1cf95e24998da9bc71942914e7cf02df843d1ebd7a772b81"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.powerpc64le-linux-gnu.tar.gz"
sha256 = "04f69b9c97a525430a2edf16078aba0af717dcd579b1c45b8e9f39842412d9d7"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.i686-linux-gnu.tar.gz"
[[METIS]]
arch = "aarch64"
git-tree-sha1 = "7ac5a8b87e800cd4a39748e2b376abd1b87e43a6"
arch = "armv7l"
git-tree-sha1 = "05a75af6afeaea1af1fd8bceecd33abfbdfc49cc"
libc = "glibc"
os = "linux"

[[METIS.download]]
sha256 = "7e3fa9fc1e53683e7c14accc049e62b18b712fae71b5a4d29e212a7bf8da9a52"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.aarch64-linux-gnu.tar.gz"
sha256 = "f9b5fd5d7b56cf66337dc707e5e4982101b2376bc0f5ab73bc07f0f5b4509674"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.armv7l-linux-gnueabihf.tar.gz"
[[METIS]]
arch = "x86_64"
git-tree-sha1 = "9db7d09de201aed256501d86299739e2a289ab40"
libc = "musl"
arch = "aarch64"
git-tree-sha1 = "9f2517817b5bf7a61673537d8269c4c449026d7d"
libc = "glibc"
os = "linux"

[[METIS.download]]
sha256 = "18e1eecfd432da5fab3583922edfe82b7b8854fdf20cb47da951811827ac52e7"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.x86_64-linux-musl.tar.gz"
sha256 = "5b0c408d58f9ecdae427c95fcb5ac155c5b207916b6fbd1b85f3a4a27f6cb27d"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.aarch64-linux-gnu.tar.gz"
[[METIS]]
arch = "aarch64"
git-tree-sha1 = "f149dab195684f29e66107ff34616852e2879fdf"
libc = "musl"
arch = "x86_64"
git-tree-sha1 = "9f233c9c626cda07f2c075769778bb59cabecac0"
libc = "glibc"
os = "linux"

[[METIS.download]]
sha256 = "95ac689b2f12ec84d6a708706c8ac002785e4467d0b848bd2c5e9f82db59ff55"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.aarch64-linux-musl.tar.gz"
sha256 = "19613ba0a121f874c2c688cfd09c020c41a998828de7c32c785483a9ed33067d"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.x86_64-linux-gnu.tar.gz"
[[METIS]]
arch = "armv7l"
git-tree-sha1 = "c4c82cb053ee58d2e2d7f079514764247a608eb9"
libc = "musl"
arch = "powerpc64le"
git-tree-sha1 = "bc01cacf3dc384a228ab05bb298438616858480b"
libc = "glibc"
os = "linux"

[[METIS.download]]
sha256 = "f343a7b714b32939bcc858d9a6072960c8036a532bc81a149db62011314d985d"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.arm-linux-musleabihf.tar.gz"
sha256 = "f613c25fcb65f8fb7b74257d088f18f0faf636267da5a4a7ba0ebf47f1446fa2"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.powerpc64le-linux-gnu.tar.gz"
[[METIS]]
arch = "i686"
git-tree-sha1 = "1b5785d4ead86706e0ff6dfb4ec8dfb6e227aaac"
os = "windows"
arch = "x86_64"
git-tree-sha1 = "2b1fa41df4b964fff9cae187b4f04ec66c26c42d"
os = "macos"

[[METIS.download]]
sha256 = "4d7113ce4cf7bf09041f822b63202bf120e0cf5794860a8ca2f2c0b04d4ad7ef"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.i686-w64-mingw32.tar.gz"
sha256 = "e49668ea068b4ef4737b6dbc1562fe6fa6897967b859d5f5a0556afee3e7c62a"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.x86_64-apple-darwin14.tar.gz"
[[METIS]]
arch = "x86_64"
git-tree-sha1 = "c1613091020569da225b8c83f4e1217b21696798"
git-tree-sha1 = "7c58a2e330cd92018a15d5feb76c652ef36cf994"
os = "freebsd"

[[METIS.download]]
sha256 = "cb8c28b51d1f80b2f6bd026bfc256f65d4a568a0779f189cc8e8794085bab1a2"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.x86_64-unknown-freebsd11.1.tar.gz"
sha256 = "91edb47074d6670823629c747f730d673df2a80149c77fc731c26ebe0ba20da9"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.x86_64-unknown-freebsd11.1.tar.gz"
[[METIS]]
arch = "armv7l"
git-tree-sha1 = "87edd3c20b904c3b5211b582efae662b71e147a9"
libc = "glibc"
arch = "i686"
git-tree-sha1 = "cb6f775fb2cca88b6c7cbe9419f0f1e85e876d20"
libc = "musl"
os = "linux"

[[METIS.download]]
sha256 = "6689d37634edb40a2d788f23e0744d6597d63797ac4a15fb54a6956e16fe6931"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.arm-linux-gnueabihf.tar.gz"
sha256 = "76e393eb0fc8bea6ce43331721efe42e83864ce5daccfde2302e284481907efc"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.i686-linux-musl.tar.gz"
[[METIS]]
arch = "x86_64"
git-tree-sha1 = "9427c26484a30d5e42a1b9e9e107436b99e37a5a"
libc = "glibc"
arch = "armv7l"
git-tree-sha1 = "41e25ba4fb1d740868558c2b7b2afec4f2d82a0c"
libc = "musl"
os = "linux"

[[METIS.download]]
sha256 = "1a0caf4f2a2038cd080261dd63998ca0a7a59bc0df181d4ff0df8d2a9c1f15dc"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.x86_64-linux-gnu.tar.gz"
sha256 = "fe80b95e0b340ef3651289a1478344f2aa2aa9ae3b51b4b1577c2d7c83362700"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.armv7l-linux-musleabihf.tar.gz"
[[METIS]]
arch = "x86_64"
git-tree-sha1 = "3bc52a8ecc2836c9a93eb0a83425d2cb3871b08b"
git-tree-sha1 = "4c7e6c1f510289b2f804684549f0afcbc421eaf0"
os = "windows"

[[METIS.download]]
sha256 = "dea7a009681a6ee059182dc8524cac49d1aa4dbbc6eadcdddf1bc9b6cc9d245a"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v5.1.0+1/METIS.v5.1.0.x86_64-w64-mingw32.tar.gz"
sha256 = "6427b64bd9c277c2dcae53d0f7ba2a8d9dbc923fc50fc8492865545dffa5445a"
url = "https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v4.0.3+0/METIS.v4.0.3.x86_64-w64-mingw32.tar.gz"
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "METIS_jll"
uuid = "d00139f3-1899-568f-a2f0-47f597d42d70"
version = "5.1.0+1"
version = "4.0.3+0"

[deps]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand Down
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@

This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl).

## Usage
## Products

The code bindings within this package are autogenerated from the `Products` defined within the `build_tarballs.jl` file that generated this package. For example purposes, we will assume that the following products were defined:
The code bindings within this package are autogenerated from the following `Products` defined within the `build_tarballs.jl` file that generated this package:

```julia
products = [
LibraryProduct(["libmetis"], :libmetis)
]
```

## Usage example

For example purposes, we will assume that the following products were defined in the imaginary package `Example_jll`:

```julia
products = [
Expand All @@ -14,18 +24,18 @@ products = [
]
```

With such products defined, this package will contain `data_txt`, `libdataproc` and `mungify_exe` symbols exported. For `FileProduct` variables, the exported value is a string pointing to the location of the file on-disk. For `LibraryProduct` variables, it is a string corresponding to the `SONAME` of the desired library (it will have already been `dlopen()`'ed, so typical `ccall()` usage applies), and for `ExecutableProduct` variables, the exported value is a function that can be called to set appropriate environment variables. Example:
With such products defined, `Example_jll` would contain `data_txt`, `libdataproc` and `mungify_exe` symbols exported. For `FileProduct` variables, the exported value is a string pointing to the location of the file on-disk. For `LibraryProduct` variables, it is a string corresponding to the `SONAME` of the desired library (it will have already been `dlopen()`'ed, so typical `ccall()` usage applies), and for `ExecutableProduct` variables, the exported value is a function that can be called to set appropriate environment variables. Example:

```julia
using METIS_jll
using Example_jll

# For file products, you can access its file location directly:
data_lines = open(data_txt, "r") do io
readlines(io)
end

# For library products, you can use the exported variable name in `ccall()` invocations directly
num_chars = ccall((libdataproc, :count_characters), Cint, (Cstring, Cint), data_lines[1], length(data_lines[1]))
num_chars = ccall((:count_characters, libdataproc), Cint, (Cstring, Cint), data_lines[1], length(data_lines[1]))

# For executable products, you can use the exported variable name as a function that you can call
mungify_exe() do mungify_exe_path
Expand Down
5 changes: 4 additions & 1 deletion src/METIS_jll.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ best_platform = select_platform(Dict(p => triplet(p) for p in platforms))
if best_platform === nothing
@debug("Unable to load METIS; unsupported platform $(triplet(platform_key_abi()))")
else
# Load the appropriate wrapper
# 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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Autogenerated wrapper script for METIS_jll for arm-linux-gnueabihf
# Autogenerated wrapper script for METIS_jll for armv7l-linux-gnueabihf
export libmetis

## Global variables
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Autogenerated wrapper script for METIS_jll for arm-linux-musleabihf
# Autogenerated wrapper script for METIS_jll for armv7l-linux-musleabihf
export libmetis

## Global variables
Expand Down

0 comments on commit 772a0ec

Please sign in to comment.