ldc2 and llvm under macos #6289
Unanswered
tlahuizcalpantecutli
asked this question in
Everyday usage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
I have installed in my macos (through Homebrew) both llvm and ldc2.
When Homebrew upgrades llvm (last time, from 20.1.7 to 20.1.8), I need to manually change one line in ldc2.conf so that ld doesn't complain.
This file (/opt/homebrew/Cellar/ldc/1.41.0/etc/ldc2.conf) has a fixed reference to llvm:
...
lib-dirs = [
"/opt/homebrew/Cellar/ldc/1.41.0/lib",
"/opt/homebrew/Cellar/llvm/20.1.8/lib/clang/20/lib/darwin", // compiler-rt directory
];
...
Could perhaps the llvm scripts create a symbolic link to its latest version, allowing ldc2.conf, by using it, to be less version-specific, or some such?
Tks/rgds,
GlC
Beta Was this translation helpful? Give feedback.
All reactions