This is neeeded since the CMake value is used for the SOVERSION.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
This LGTM given that Eric accepted your previous change. I'm happy to accept it in a day or two if he hasn't gotten the chance to take a look by then.
libcxx/CMakeLists.txt | ||
---|---|---|
101 ↗ | (On Diff #142041) | I prefer DEFAULT_ABI_VERSION to ABI_VERSION_DEFAULT |
I had something similar in D45304 but Eric suggested removing it. What I haven't realized is that this value is also used to set the SOVERSION so it's indeed needed.
OK, so we need to bump the SO version -- However I don't want to generate a site_config header because of that if the config header is sufficient. I would like to see a solution that takes that into account.
There shouldn't be any __site_config generated now since we compare LIBCXX_ABI_VERSION to the default version so it'll only be generated if the change the default value (2 on Fuchsia, 1 everywhere else).