diff options
| author | Eric Fiselier <eric@efcs.ca> | 2019-03-21 00:04:31 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2019-03-21 00:04:31 +0000 |
| commit | f1d87f8b4c430d72e7ab07e13508336a7841c3e6 (patch) | |
| tree | 7c8a8cc30ee3f7518c734cf8204dd57fad8934bf /libcxx/utils | |
| parent | 49fc2655819fef5b733ee5fda5c10b434150ebf5 (diff) | |
| download | bcm5719-llvm-f1d87f8b4c430d72e7ab07e13508336a7841c3e6.tar.gz bcm5719-llvm-f1d87f8b4c430d72e7ab07e13508336a7841c3e6.zip | |
Allow disabling of filesystem library.
Summary: Filesystem doesn't work on Windows, so we need a mechanism to turn it off for the time being.
Reviewers: ldionne, serge-sans-paille, EricWF
Reviewed By: EricWF
Subscribers: mstorsjo, mgorny, christof, jdoerfert, libcxx-commits
Differential Revision: https://reviews.llvm.org/D59619
llvm-svn: 356633
Diffstat (limited to 'libcxx/utils')
| -rw-r--r-- | libcxx/utils/libcxx/test/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index c78e18982ee..cac4d7c91b5 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -435,6 +435,9 @@ class Configuration(object): if self.long_tests: self.config.available_features.add('long_tests') + if not self.get_lit_bool('enable_filesystem', default=True): + self.config.available_features.add('c++filesystem-disabled') + # Run a compile test for the -fsized-deallocation flag. This is needed # in test/std/language.support/support.dynamic/new.delete if self.cxx.hasCompileFlag('-fsized-deallocation'): |

