llvm-project/libcxx/utils
Louis Dionne bbdddb7b0e [libc++] Only add dylib-related features when using the system's libc++
Otherwise, when testing trunk libc++ on an older system, lit will think
that the dylib features are disabled. Ideally, we'd have a notion of
running the tests with/without a deployment target (or, equivalently,
a deployment target representing trunk where everything is as recent
as can be). Since we always have a deployment target right now (which
defaults to the current system), we only enable those features when
we're going to also be testing with the system libc++.

We also need to disable the availability markup when we are not running
a system library flavor, because availability markup does not make sense
when building against the trunk libc++ (which has everything regardless
of what the current system is).

This is a re-application of r353319, which had been reverted due to
CI breakage. This time around, I made sure it didn't break our internal
CI before submitting.

This is also a partial undoing of r348296, in spirit at least. However,
with this patch, availability markup is enabled based on whether we're
using a system library or not, whereas previously one could enable
it or disable it arbitrarily. This was confusing as it led to testing
configurations that don't make sense (such as testing a system library
without availability markup, or trunk testing with availability markup).

llvm-svn: 355451
2019-03-05 22:42:45 +00:00
..
ci [NFC][libc++] Update comment about oldest supported macosx for back-deployment 2019-02-27 23:36:22 +00:00
docker Install GCC 5 on buildbots to replace GCC 4.9. 2019-03-04 20:49:18 +00:00
google-benchmark Update google benchmark again 2018-12-14 03:48:09 +00:00
libcxx [libc++] Only add dylib-related features when using the system's libc++ 2019-03-05 22:42:45 +00:00
symcheck-blacklists Start libc++ python cleanup and consolidation. 2017-02-09 22:53:14 +00:00
cat_files.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
gen_link_script.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
generate_feature_test_macro_components.py Fix double curlies 2019-02-05 05:34:12 +00:00
merge_archives.py [libcxx] Preserve order, avoid duplicates when merging static archives 2019-02-11 08:48:47 +00:00
not.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
sym_diff.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
sym_extract.py Make the sym_diff utilities more useful. 2019-02-12 00:00:43 +00:00
sym_match.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00