Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
libcxx/test/configs/apple-libc++-backdeployment.cfg.in
Show All 39 Lines | libcxx.test.dsl.Parameter(name='unwind_runtime_root', type=str, | ||||
the tests. | the tests. | ||||
"""), | """), | ||||
] | ] | ||||
config.substitutions.append(('%{flags}', | config.substitutions.append(('%{flags}', | ||||
'-isysroot {}'.format('@CMAKE_OSX_SYSROOT@') if '@CMAKE_OSX_SYSROOT@' else '' | '-isysroot {}'.format('@CMAKE_OSX_SYSROOT@') if '@CMAKE_OSX_SYSROOT@' else '' | ||||
)) | )) | ||||
config.substitutions.append(('%{compile_flags}', | config.substitutions.append(('%{compile_flags}', | ||||
'-nostdinc++ -isystem %{install}/include/c++/v1 -I %{libcxx}/test/support' | '-nostdinc++ -I %{include} -I %{libcxx}/test/support' | ||||
)) | )) | ||||
config.substitutions.append(('%{link_flags}', | config.substitutions.append(('%{link_flags}', | ||||
'-nostdlib++ -L %{install}/lib -lc++' | '-nostdlib++ -L %{lib} -lc++' | ||||
)) | )) | ||||
config.substitutions.append(('%{exec}', | config.substitutions.append(('%{exec}', | ||||
'%{executor} --execdir %T --env DYLD_LIBRARY_PATH="%{cxx-runtime-root}:%{abi-runtime-root}:%{unwind-runtime-root}" -- ' | '%{executor} --execdir %T --env DYLD_LIBRARY_PATH="%{cxx-runtime-root}:%{abi-runtime-root}:%{unwind-runtime-root}" -- ' | ||||
)) | )) | ||||
libcxx.test.newconfig.configure( | libcxx.test.newconfig.configure( | ||||
libcxx.test.params.DEFAULT_PARAMETERS + BACKDEPLOYMENT_PARAMETERS, | libcxx.test.params.DEFAULT_PARAMETERS + BACKDEPLOYMENT_PARAMETERS, | ||||
libcxx.test.features.DEFAULT_FEATURES, | libcxx.test.features.DEFAULT_FEATURES, | ||||
config, | config, | ||||
lit_config | lit_config | ||||
) | ) |