@@ -126,7 +126,7 @@ def configure(self):
126
126
self .configure_deployment ()
127
127
self .configure_src_root ()
128
128
self .configure_obj_root ()
129
- self .configure_cxx_stdlib_under_test ( )
129
+ self .cxx_stdlib_under_test = self . get_lit_conf ( 'cxx_stdlib_under_test' , 'libc++' )
130
130
self .cxx_library_root = self .get_lit_conf ('cxx_library_root' , self .libcxx_obj_root )
131
131
self .abi_library_root = self .get_lit_conf ('abi_library_path' , None )
132
132
self .cxx_runtime_root = self .get_lit_conf ('cxx_runtime_root' , self .cxx_library_root )
@@ -257,22 +257,6 @@ def configure_obj_root(self):
257
257
else :
258
258
self .libcxx_obj_root = self .project_obj_root
259
259
260
- def configure_cxx_stdlib_under_test (self ):
261
- self .cxx_stdlib_under_test = self .get_lit_conf (
262
- 'cxx_stdlib_under_test' , 'libc++' )
263
- if self .cxx_stdlib_under_test not in \
264
- ['libc++' , 'libstdc++' , 'msvc' , 'cxx_default' ]:
265
- self .lit_config .fatal (
266
- 'unsupported value for "cxx_stdlib_under_test": %s'
267
- % self .cxx_stdlib_under_test )
268
- self .config .available_features .add (self .cxx_stdlib_under_test )
269
- if self .cxx_stdlib_under_test == 'libstdc++' :
270
- # Manually enable the experimental and filesystem tests for libstdc++
271
- # if the options aren't present.
272
- # FIXME this is a hack.
273
- if self .get_lit_conf ('enable_experimental' ) is None :
274
- self .config .enable_experimental = 'true'
275
-
276
260
def configure_features (self ):
277
261
additional_features = self .get_lit_conf ('additional_features' )
278
262
if additional_features :
0 commit comments