From 172e41d897907504880df0020ffefbc1f8946cf6 Mon Sep 17 00:00:00 2001 From: Nathan Daly Date: Thu, 1 Aug 2019 08:12:51 -0400 Subject: [PATCH] Remove debugging printlns from build.jl --- .appveyor.yml | 2 +- deps/build.jl | 20 +++++++------------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 2835343..3229773 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -8,7 +8,7 @@ environment: platform: - x86 # 32-bit - #- x64 # 64-bit + - x64 # 64-bit # # Uncomment the following lines to allow failures on nightly julia # # (tests will run but not make your overall status red) diff --git a/deps/build.jl b/deps/build.jl index 5d8bdf3..b98c192 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -37,17 +37,13 @@ if any(!satisfied(p; verbose=verbose) for p in products) # Download and install binaries url, tarball_hash = choose_download(download_info) install(url, tarball_hash; prefix=prefix, force=true, verbose=true) - # we need to move the binary on windows from `prefix` to `prefix/bin` - dir = splitext(splitext(basename(url))[1])[1] - destpath = dirname(go_pprof.path) - binaryname = basename(go_pprof.path) - - mkpath(destpath) - @info "installing" prefix dir destpath binaryname go_pprof.path - cp(joinpath(prefix, dir, binaryname), go_pprof.path) - iswin = BinaryProvider.platform_key_abi() isa BinaryProvider.Windows - @info "platform" BinaryProvider.platform_key_abi() iswin - @info "locating" locate(go_pprof; verbose=true) + # we need to move the unpacked binary from `prefix` to `prefix/bin` + dir = splitext(splitext(basename(url))[1])[1] + destpath = dirname(go_pprof.path) + binaryname = basename(go_pprof.path) + + mkpath(destpath) + cp(joinpath(prefix, dir, binaryname), go_pprof.path) catch e if typeof(e) <: ArgumentError error("Your platform $(Sys.MACHINE) is not supported by this package!") @@ -59,5 +55,3 @@ if any(!satisfied(p; verbose=verbose) for p in products) # Finally, write out a deps.jl file write_deps_file(joinpath(@__DIR__, "deps.jl"), products) end - -print(stderr, readchomp(joinpath(@__DIR__, "deps.jl")))