Should `llvm` stop shpping `libomp`?

(Wu Yongwei) #1

llvm has its own libomp, which basically renders the libomp formula useless for other formulae, as superenv is now kind of mandatory, and with it you always have -L/usr/local/opt/llvm/lib before other library paths.

I would suggest llvm should stop shipping libomp. If people want to use OpenMP, they should always use the libomp formula. After all, the dependency on llvm is not wanted (it is 2.8 GB on my installation), while libomp is a light dependency (only 1.2 MB).

I have checked that llvm itself does not use libomp, so it looks pretty safe to me. Good idea or bad idea?

(Sean Molenaar) #2

This is better discussed in a pull request or an issue for homebrew-core. This forum is mostly for support.

(Wu Yongwei) #3

I thought the issue page might not be good for general discussions (my understanding). But since you asked it, I have opened an issue there: