Skip to content

Commit 4593b4e

Browse files
authored
Update BinaryBuilderBase (#972)
* Update for latest changes in BinaryBuilderBase * Test Rust 1.43
1 parent ab246e5 commit 4593b4e

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

Manifest.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
2828

2929
[[BinaryBuilderBase]]
3030
deps = ["CodecZlib", "Downloads", "InteractiveUtils", "JSON", "LibGit2", "Libdl", "Logging", "OutputCollectors", "Pkg", "Random", "SHA", "SimpleBufferStream", "TOML", "Tar", "UUIDs", "p7zip_jll"]
31-
git-tree-sha1 = "5df61db5de60080b894f1e1d00460d4490e4f422"
31+
git-tree-sha1 = "670fa00c09d08e4d78dd592cdfdf440161d5d951"
3232
repo-rev = "master"
3333
repo-url = "https://github.com/JuliaPackaging/BinaryBuilderBase.jl.git"
3434
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e"
@@ -85,9 +85,9 @@ version = "0.1.6"
8585

8686
[[GitHub]]
8787
deps = ["Base64", "Dates", "HTTP", "JSON", "MbedTLS", "Sockets"]
88-
git-tree-sha1 = "587c993cedac5707f72ce082f4f33d525e80ac40"
88+
git-tree-sha1 = "599dec6adb9f1b73b9c31c9cd4302a01d2575d81"
8989
uuid = "bc5e4493-9b4d-5f90-b8aa-2b2bcaad7a26"
90-
version = "5.1.8"
90+
version = "5.2.0"
9191

9292
[[HTTP]]
9393
deps = ["Base64", "Dates", "IniFile", "MbedTLS", "Sockets"]

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ jobs:
2323
clean: true
2424
- bash: |
2525
set -e
26+
$(JULIA) -e 'using Pkg; Pkg.instantiate()'
2627
$(JULIA) -e 'using BinaryBuilder; BinaryBuilder.versioninfo()'
2728
$(JULIA) -e 'using Pkg; Pkg.status()'
2829
name: SystemInfo
2930
3031
- job: Test
32+
dependsOn: Info
3133
timeoutInMinutes: 360
3234
strategy:
3335
matrix:

src/auditor/compiler_abi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function cppfilt(symbol_names::Vector, platform::AbstractPlatform)
173173
output = IOBuffer()
174174
mktempdir() do dir
175175
ur = preferred_runner()(dir; cwd="/workspace/", platform=platform)
176-
run_interactive(ur, `/opt/bin/c++filt`; stdin=input, stdout=output)
176+
run_interactive(ur, `/opt/bin/$(triplet(ur.platform))/c++filt`; stdin=input, stdout=output)
177177
end
178178

179179
return filter!(s -> !isempty(s), split(String(take!(output)), "\n"))

src/auditor/dynamic_linkage.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function relink_to_rpath(prefix::Prefix, platform::AbstractPlatform, path::Abstr
303303
relink_cmd = ``
304304

305305
if Sys.isapple(platform)
306-
install_name_tool = "/opt/bin/install_name_tool"
306+
install_name_tool = "/opt/bin/$(triplet(ur.platform))/install_name_tool"
307307
relink_cmd = `$install_name_tool -change $(old_libpath) @rpath/$(libname) $(rel_path)`
308308
elseif Sys.islinux(platform) || Sys.isbsd(platform)
309309
patchelf = "/usr/bin/patchelf"
@@ -340,7 +340,7 @@ function fix_identity_mismatch(prefix::Prefix, platform::AbstractPlatform, path:
340340
end
341341

342342
ur = preferred_runner()(prefix.path; cwd="/workspace/", platform=platform)
343-
install_name_tool = "/opt/bin/install_name_tool"
343+
install_name_tool = "/opt/bin/$(triplet(ur.platform))/install_name_tool"
344344
id_cmd = `$install_name_tool -id $(new_id) $(rel_path)`
345345

346346
# Create a new linkage that looks like @rpath/$lib on OSX,
@@ -374,7 +374,7 @@ function update_linkage(prefix::Prefix, platform::AbstractPlatform, path::Abstra
374374
add_rpath = x -> ``
375375
relink = (x, y) -> ``
376376
patchelf = "/usr/bin/patchelf"
377-
install_name_tool = "/opt/bin/install_name_tool"
377+
install_name_tool = "/opt/bin/$(triplet(ur.platform))/install_name_tool"
378378
if Sys.isapple(platform)
379379
normalize_rpath = rp -> begin
380380
if !startswith(rp, "@loader_path")

src/auditor/soname_matching.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function ensure_soname(prefix::Prefix, path::AbstractString, platform::AbstractP
6767
set_soname_cmd = ``
6868

6969
if Sys.isapple(platform)
70-
install_name_tool = "/opt/bin/install_name_tool"
70+
install_name_tool = "/opt/bin/$(triplet(ur.platform))/install_name_tool"
7171
set_soname_cmd = `$install_name_tool -id $(soname) $(rel_path)`
7272
elseif Sys.islinux(platform) || Sys.isbsd(platform)
7373
patchelf = "/usr/bin/patchelf"

0 commit comments

Comments
 (0)