<p dir="ltr">>> Yes, I used the same inputs for both.  To get thin archives, pass the T option to ar or llvm-ar. <br>
><br>
> Any idea where I put that in my CMakeCache/config? <br>
><br>
> I just tried putting T here:<br>
><br>
> CMAKE_AR:FILEPATH=/usr/bin/ar T<br>
><br>
> but I imagine that's wrong/will probably break in a minute when the build gets to that point.</p>
<p dir="ltr">I set DCMAKE_CXX_CREATE_STATIC_LIBRARY. See <br>
<a href="https://github.com/espindola/llvm-scripts/blob/master/common.py">https://github.com/espindola/llvm-scripts/blob/master/common.py</a></p>
<p dir="ltr">Cheers, Rafael </p>