orbit icon indicating copy to clipboard operation
orbit copied to clipboard

Do you _really_ need to build your own copy of LLVM?

Open gtjoseph opened this issue 4 years ago • 2 comments

After building Orbit for 20 minutes, it finally bombed out with a "no space left on device" error. A quick look in the ~/.conan directorr revealed a whopping 58GB of built artifacts in the data/llvm directory. Fine. I moved the .conan directory off to another device and symlinked ~/.conan to it and restarted the build. What did it do??? It blew away the 58G of build products it already created and started from scratch.

Is there some reason you really need to build your own copy of llvm instead of using the system-installed version?

EDIT: I just checked my conan directory after a successful build. It contains 82GB of dependency build products.

gtjoseph avatar Jan 28 '21 01:01 gtjoseph

I'd also favor if conan could be removed as a hard requirement for building orbit. It's nice to have that convience to build all required dependencies if they cannot provided in any other means but this makes live harder for distro maintainers. (I'd like to package this for NixOS, which provides LLVM, Qt5, etc just fine and doesn't need the orbit build system to build its custom version)

knedlsepp avatar Feb 25 '21 14:02 knedlsepp

With https://github.com/google/orbit/pull/4309, we now depend on the system's llvm.

florian-kuebler avatar Nov 02 '22 13:11 florian-kuebler