Skip to content

Commit

Permalink
[Runner] Fix creation of GCC symlinks for BSD systems (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored May 1, 2021
1 parent c60ad8d commit 2b8947e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BinaryBuilderBase"
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e"
authors = ["Elliot Saba <staticfloat@gmail.com>"]
version = "0.6.2"
version = "0.6.3"

[deps]
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
Expand Down
4 changes: 2 additions & 2 deletions src/Runner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -698,14 +698,14 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
if Sys.isbsd(p) && os_version(p) !== nothing
tmp_p = deepcopy(p)
delete!(tags(tmp_p), "os_version")
symlink("$(t)-gcc", joinpath(bin_path, "$(aatriplet(tmp_p))-gcc"))
symlink("$(t)-gcc", joinpath(bin_path, triplet(p), "$(aatriplet(tmp_p))-gcc"))
end
# Currently our Rust toolchain expects the linker for armv7l and
# armv6l with the platform "*l" suffix in the platform. Until
# https://github.com/JuliaPackaging/Yggdrasil/pull/2168 makes it to
# the Rust toolchain, we create a symlink to work around this issue.
if proc_family(p) == "arm" && nbits(p) == 32
symlink("$(t)-gcc", joinpath(bin_path, "$(triplet(abi_agnostic(p)))-gcc"))
symlink("$(t)-gcc", joinpath(bin_path, triplet(p), "$(triplet(abi_agnostic(p)))-gcc"))
end
end
end
Expand Down

2 comments on commit 2b8947e

@giordano
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/35756

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.3 -m "<description of version>" 2b8947e34a0f4bc6c603076d596055e311a506ac
git push origin v0.6.3

Please sign in to comment.