[llvm-dev] Disk space and RAM requirements in docs
Nicolai Hähnle via llvm-dev
llvm-dev at lists.llvm.org
Tue Apr 30 05:02:40 PDT 2019
On 30.04.19 10:58, Alex Bradbury via llvm-dev wrote:
>> And lastly is there a way to reduce the space consumption by Clang unittests and Tooling tests aside of disabling those?
>
> Setting -DBUILD_SHARED_LIBS=True will reduce space requirements by
> using shared libraries rather than static libraries. It will impact
> the time taken to run LLVM and Clang tests though, due to greater
> startup time.
Presumably it'll also increase runtime due to ELF interposing requirements.
LLVM_BUILD_LLVM_DYLIB, which builds the large monolithic shared library,
could be better on that front if symbol visibility is set correctly
(which I haven't double-checked).
Cheers,
Nicolai
>
> Best,
>
> Alex
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the llvm-dev
mailing list