[cfe-dev] libc++ documentation of LIBCXX_CXX_ABI_LIBNAME wrong?
Dimitry Andric via cfe-dev
cfe-dev at lists.llvm.org
Thu Aug 30 13:32:59 PDT 2018
Yes, the CMake variable to use is LIBCXX_CXX_ABI. For FreeBSD, I always set it to -D LIBCXX_CXX_ABI=libcxxrt, and optionally I also set -D LIBCXX_CXX_ABI_INCLUDE_PATHS.
-Dimitry
> On 30 Aug 2018, at 16:09, Louis Dionne via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>
> I do think the documentation is correct. libcxx/CMakeLists.txt:166 actually sets LIBCXX_CXX_ABI_LIBNAME from LIBCXX_CXX_ABI. My understanding is that LIBCXX_CXX_ABI_LIBNAME is an internal variable and LIBCXX_CXX_ABI is the (documented) user-facing setting. I can take a look if you can provide a reproducer (setting LIBCXX_CXX_ABI and it not working).
>
> Louis
>
>> On Aug 25, 2018, at 10:04, Andrew Brownsword via cfe-dev <cfe-dev at lists.llvm.org <mailto:cfe-dev at lists.llvm.org>> wrote:
>>
>> It appears that the option LIBCXX_CXX_ABI_LIBNAME is incorrectly mentioned repeatedly as LIBCXX_CXX_ABI on this webpage: https://libcxx.llvm.org/docs/BuildingLibcxx.html#abi-library-specific-options <https://libcxx.llvm.org/docs/BuildingLibcxx.html#abi-library-specific-options>
>>
>> The build wasn’t working for me until I looked into the cmake module and noticed that it was checking the longer name.
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org <mailto:cfe-dev at lists.llvm.org>
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180830/aac756d4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180830/aac756d4/attachment.sig>
More information about the cfe-dev
mailing list