From 66104ba0cfebdea55a4cc4de77f30bdc118bd45b Mon Sep 17 00:00:00 2001 From: ZHUO Qingliang Date: Fri, 19 Jun 2020 16:11:10 +0800 Subject: [PATCH] support arch ppc64le (#72) * support arch ppc64le * bump up version to 0.4.2 --- Project.toml | 2 +- deps/build.jl | 15 ++++++++------- deps/build_dylib.sh | 4 ++++ deps/build_tarballs.jl | 3 ++- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/Project.toml b/Project.toml index e9a212e6..d0044127 100644 --- a/Project.toml +++ b/Project.toml @@ -3,7 +3,7 @@ uuid = "6f1fad26-d15e-5dc8-ae53-837a1d7b8c9f" license = "MIT" desc = "C shim for task copying in Turing" repo = "https://github.com/TuringLang/Libtask.jl.git" -version = "0.4.1" +version = "0.4.2" [deps] BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232" diff --git a/deps/build.jl b/deps/build.jl index 48b9dcb9..b58575dc 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -25,16 +25,17 @@ length(products_tmp) == 0 && (products_tmp = [products[end]]) products = products_tmp # Download binaries from hosted location -bin_prefix = "https://github.com/JuliaBinaryWrappers/Libtask_jll.jl/releases/download/Libtask-v0.3.1+0" +bin_prefix = "https://github.com/JuliaBinaryWrappers/Libtask_jll.jl/releases/download/Libtask-v0.3.2+0" # Listing of files generated by BinaryBuilder: download_info = Dict( - Linux(:aarch64, libc=:glibc) => ("$bin_prefix/Libtask.v0.3.1.aarch64-linux-gnu.tar.gz", "ad342e90969280fcd198993947fb27a052357c278e40645574b93f13b9f49f25"), - Linux(:i686, libc=:glibc) => ("$bin_prefix/Libtask.v0.3.1.i686-linux-gnu.tar.gz", "a4061a2098da96cd6c49300b2895a61ce02d822c603ba85995d300149c9cec5e"), - Windows(:i686) => ("$bin_prefix/Libtask.v0.3.1.i686-w64-mingw32.tar.gz", "e38da986025dac5767da841cc3666973a303061f4b853c0821fc25de4802f674"), - MacOS(:x86_64) => ("$bin_prefix/Libtask.v0.3.1.x86_64-apple-darwin14.tar.gz", "93bf6be03236252eea33998c5fa4f0a8173d44b20266e8e05473a2ae957eebde"), - Linux(:x86_64, libc=:glibc) => ("$bin_prefix/Libtask.v0.3.1.x86_64-linux-gnu.tar.gz", "349fc5fdd1d1234f1c1467fd655b9a5e18ac926e5b16db4ba7743b75a9540739"), - Windows(:x86_64) => ("$bin_prefix/Libtask.v0.3.1.x86_64-w64-mingw32.tar.gz", "837410807715caf15b931f04c968a3ca8967bd0d70df888d1ed535a1679030d0"), + Linux(:aarch64, libc=:glibc) => ("$bin_prefix/Libtask.v0.3.2.aarch64-linux-gnu.tar.gz", "11fb468221a7da7fe8aedfa7701296207362870ced59a1d0b5c9988cd3697830"), + Linux(:i686, libc=:glibc) => ("$bin_prefix/Libtask.v0.3.2.i686-linux-gnu.tar.gz", "911ac6d3f5340ece7bc55f06bed880d4ca44520c5d55b50dcf722853b4072559"), + Windows(:i686) => ("$bin_prefix/Libtask.v0.3.2.i686-w64-mingw32.tar.gz", "3dd17460d7bdeb9914e0a67b6517a998f456a5fc51e07e3d584cd0ad23f5ff22"), + Linux(:powerpc64le, libc=:glibc) => ("$bin_prefix/Libtask.v0.3.2.powerpc64le-linux-gnu.tar.gz", "ab6bdb03193763800c3fabd108d851718b089c498e30950118cb771559c75039"), + MacOS(:x86_64) => ("$bin_prefix/Libtask.v0.3.2.x86_64-apple-darwin14.tar.gz", "9eb6c3492444103492cfcb7c6ced082c558574b5c6e57577e3a48385a14038e6"), + Linux(:x86_64, libc=:glibc) => ("$bin_prefix/Libtask.v0.3.2.x86_64-linux-gnu.tar.gz", "c8f0a224ef342345ea1002a6726d29969b9236f4d3b1427999a56fe2e71b39fe"), + Windows(:x86_64) => ("$bin_prefix/Libtask.v0.3.2.x86_64-w64-mingw32.tar.gz", "fb1b060d94b955107e384c033db20c4ea23ed0265165e47e6ea5e0d68fa56093"), ) # Install unsatisfied or updated dependencies: diff --git a/deps/build_dylib.sh b/deps/build_dylib.sh index 0c1ad273..9704469a 100644 --- a/deps/build_dylib.sh +++ b/deps/build_dylib.sh @@ -19,6 +19,10 @@ RELEASES=( x86_64-linux-gnu@v1_1@https://julialang-s3.julialang.org/bin/linux/x64/1.1/julia-1.1.0-linux-x86_64.tar.gz x86_64-linux-gnu@v1_2@https://julialang-s3.julialang.org/bin/linux/x64/1.2/julia-1.2.0-linux-x86_64.tar.gz x86_64-linux-gnu@v1_3@https://julialang-s3.julialang.org/bin/linux/x64/1.3/julia-1.3.0-linux-x86_64.tar.gz + powerpc64le-linux-gnu@v1_0@http://cxan.kdr2.com/julia/releases/julia-1.0.0-linux-ppc64le.tar.gz + powerpc64le-linux-gnu@v1_1@http://cxan.kdr2.com/julia/releases/julia-1.1.0-linux-ppc64le.tar.gz + powerpc64le-linux-gnu@v1_2@http://cxan.kdr2.com/julia/releases/julia-1.2.0-linux-ppc64le.tar.gz + powerpc64le-linux-gnu@v1_3@http://cxan.kdr2.com/julia/releases/julia-1.3.0-linux-ppc64le.tar.gz x86_64-w64-mingw32@v1_0@http://cxan.kdr2.com/julia/releases/julia-1.0.0-win64.tar.gz x86_64-w64-mingw32@v1_1@http://cxan.kdr2.com/julia/releases/julia-1.1.0-win64.tar.gz x86_64-w64-mingw32@v1_2@http://cxan.kdr2.com/julia/releases/julia-1.2.0-win64.tar.gz diff --git a/deps/build_tarballs.jl b/deps/build_tarballs.jl index f50403c1..39d2d3f3 100644 --- a/deps/build_tarballs.jl +++ b/deps/build_tarballs.jl @@ -49,7 +49,8 @@ script = read(joinpath(dirname(@__FILE__), "build_dylib.sh"), String) platforms = [ Linux(:i686, :glibc), Linux(:x86_64, :glibc), - Linux(:armv7l, :glibc, :eabihf), + Linux(:powerpc64le, libc=:glibc), + # Linux(:armv7l, :glibc, :eabihf), Linux(:aarch64), MacOS(:x86_64), Windows(:i686),