hi, why does brew have a formula for LLVM when osx includes it. Does it not go against the goal of not duplicating libraries in homebrew? Also, according to the Acceptable-Formula page, including zsh was a mistake. why is that? https://github.com/mxcl/homebrew/wiki/Acceptable-Formula Maybe it is a good idea to specify the reason to duplicate in the Formula itself. cheers, deepak
On 25 March 2011 08:25, deepak kannan <kannan.deepak@gmail.com> wrote: > why does brew have a formula for LLVM when osx includes it. Does it not go > against the goal of not duplicating libraries in homebrew? Yes and it'll probably be removed eventually. > Also, according to the Acceptable-Formula page, including zsh was a mistake. > why is that? It is a system duplicate. > Maybe it is a good idea to specify the reason to duplicate in the Formula > itself. This is probably going to happen. Also, when we get multiple repository support we'll probably be removing all system duplicates that aren't hard dependencies from the main repository. -- Mike McQuaid http://mikemcquaid.com
On Fri, Mar 25, 2011 at 6:35 AM, Mike McQuaid <mike@mikemcquaid.com> wrote: > On 25 March 2011 08:25, deepak kannan <kannan.deepak@gmail.com> wrote: > > why does brew have a formula for LLVM when osx includes it. Does it not > go > > against the goal of not duplicating libraries in homebrew? > > Yes and it'll probably be removed eventually. As far as I can tell, the LLVM formula *is not* a duplicate---XCode ships compilers based on LLVM (clang and llvm-gcc), but not the actual LLVM libraries themselves. For confirmation, try locating libLLVMcore in the OS X or XCode installation. These libraries are required by anyone who wants to use the LLVM toolkit to build their own compiler or JIT interpreter. The part of the LLVM formula that could be considered a duplicate is the option to build Clang as that compiler is shipped as part of XCode. If we ever added another option to build llvm-gcc, that would be a duplicate as well. -Charlie
On 25 March 2011 15:31, Charlie Sharpsteen <chuck@sharpsteen.net> wrote: > On Fri, Mar 25, 2011 at 6:35 AM, Mike McQuaid <mike@mikemcquaid.com> wrote: >> >> On 25 March 2011 08:25, deepak kannan <kannan.deepak@gmail.com> wrote: >> > why does brew have a formula for LLVM when osx includes it. Does it not >> > go >> > against the goal of not duplicating libraries in homebrew? >> >> Yes and it'll probably be removed eventually. > > As far as I can tell, the LLVM formula *is not* a duplicate---XCode ships > compilers based on LLVM (clang and llvm-gcc), but not the actual LLVM > libraries themselves. For confirmation, try locating libLLVMcore in the OS > X or XCode installation. > These libraries are required by anyone who wants to use the LLVM toolkit to > build their own compiler or JIT interpreter. Interesting, I stand corrected, thanks. -- Mike McQuaid http://mikemcquaid.com
It was put in before LLVM was standard with Xcode. Also, with the current investigations into providing a build chain in homebrew (due to the xcode distribution changes/fears) - it's best it sticks around. -- Lee Packham Sent with Sparrow On Friday, 25 March 2011 at 13:25, deepak kannan wrote: > hi, > why does brew have a formula for LLVM when osx includes it. Does it not go against the goal of not duplicating libraries in homebrew? > > Also, according to the Acceptable-Formula page, including zsh was a mistake. why is that? > https://github.com/mxcl/homebrew/wiki/Acceptable-Formula > > Maybe it is a good idea to specify the reason to duplicate in the Formula itself. > > cheers, > deepak >