This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The following targets will be added to deal with the libc++ standard library: - libcxx_static - libcxx_shared - libcxx_copy_shared - libcxx_abi_static - libcxx_abi_shared - libcxx_copy_abi_shared The 'libcxx' prefix can be configured in the 'WORKSPACE' file using the 'libcxx_prefix' optional parameter of the 'llvm_configure' repository rule. To protect adding of the targets as dependencies, a number of macroses are put into the 'llvm_config.bzl' generated file: the `if_cxx_linked` function that evaluated its first argument when the local LLVM installation is linked against libc++ and 'llvm_cxx_copts' array that contains the `-stdlib=libc++` compiler option in this case. Signed-off-by: Pavel Samolysov <samolisov@gmail.com>
- Loading branch information
Showing
6 changed files
with
159 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters