Yes, you can use the USE_SYSTEM_ build options for this. Otherwise, building everything ourselves is the best way to guarantee a working system, with compatible versions of everything. In particular, LLVM changes very significantly from version to version, and in general we need a specific version. (It also helps to have our local patches that fix bugs in LLVM we happen to hit.) In some cases distro maintainers have literally refused to provide a package for the version of LLVM we need, instead arbitrarily picking one version that will be available on their system.
On Sat, Jan 30, 2016 at 2:45 PM, Yichao Yu <[email protected]> wrote: > On Sat, Jan 30, 2016 at 2:33 PM, <[email protected]> wrote: >> Why is it that when building Julia, it wants to compile almost all >> dependencies itself? >> I think users should either check dependencies and build them themselves or >> install them through package manager. Doesn't seem to me the job of Julia to >> do this. >> I know that LLVM has some optimizations that are not yet upstreamed. But >> when they are upstreamed in the future, will Julia stop compiling LLVM then? >> What about all other deps? > > Use the `USE_SYSTEM_*` options.
