Skip to content

Conversation

giordano
Copy link
Member

No description provided.


# If we're on macOS, we give a hint to things like `configure` that they should use this as the linker
if Sys.isapple(platform)
mapping["LD"] = "/opt/$(target)/bin/ld64.macos"
Copy link
Member Author

Choose a reason for hiding this comment

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

@staticfloat why was this set to this value? There is no such file in our environment:

sandbox:${WORKSPACE} # qfind /opt -name "ld64*"
/opt/bin/x86_64-apple-darwin14-libgfortran3-cxx03/ld64.x86_64-apple-darwin14

Copy link
Member

Choose a reason for hiding this comment

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

Hmmmm...... looks like I stopped doing this in JuliaPackaging/Yggdrasil@d787aa2#diff-37a7da7ede42eaf0bfe29fb575ba5a7450bbc8a3621dd2a9d758fb04c749d07cL648, but I don't remember what allowed me to get rid of it. In any case, if this passes the shard testsuite, I'm okay with it.

Copy link
Member Author

@giordano giordano Jun 29, 2021

Choose a reason for hiding this comment

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

I don't think the macOS linker is used anywhere in our tests, since at the moment this is broken:

sandbox:${WORKSPACE} # echo ${LD}
/opt/x86_64-apple-darwin14/bin/ld64.macos
sandbox:${WORKSPACE} # ls ${LD}
ls: /opt/x86_64-apple-darwin14/bin/ld64.macos: No such file or directory

🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants