Link LLVM dynamically on aarch64-apple-darwin dist#154839
Link LLVM dynamically on aarch64-apple-darwin dist#154839sgasho wants to merge 4 commits intorust-lang:mainfrom
Conversation
|
It looks like we are actually forcing the unversioned name to be used at another place: rust/src/bootstrap/src/core/build_steps/dist.rs Lines 2488 to 2499 in f92020a |
|
Yes, I checked that removing it produces libLLVM.dylib and libLLVM-.dylib, and ./x build did not fail. So it seems it worked. Two biggest reasons are
for 2, ln -s command that Nokel81 posted on the comment has a typo in the extension part. But we have no idea whether the symlink itself actually failed or whether the command was just pasted incorrectly. It's possible that my method for verifying symlinks is incorrect. So, we get to land copying PR first, then this symlink later on. |
With my suggestion there wouldn't be any symlink either, right? It would just be removing the special case for macOS such that everything is handled the same way as it is handled on Linux. |
|
mmm...symlink has been created. I think I'm misunderstanding something. Is something wrong with the image below? like, I'm looking at a wrong directory, or....
Am I misunderstanding this, or verification steps have some mistakes(#154986 (comment))
|

retry after: #154485
create a symlink from libLLVM-.....dylib to libLLVM.dylib in dist.rs