Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
libcxxabi/test/configs/ibm-libc++abi-shared.cfg.in
# Testing configuration for libc++abi on AIX. | # Testing configuration for libc++abi on AIX. | ||||
lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg') | lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg') | ||||
config.substitutions.append(('%{flags}','')) | config.substitutions.append(('%{flags}','')) | ||||
config.substitutions.append(('%{compile_flags}', | config.substitutions.append(('%{compile_flags}', | ||||
'-nostdinc++ -I %{install}/include/c++/v1 ' + | '-nostdinc++ -I %{include} ' + | ||||
'-D__LIBC_NO_CPP_MATH_OVERLOADS__ -DLIBCXXABI_NO_TIMER ' + | '-D__LIBC_NO_CPP_MATH_OVERLOADS__ -DLIBCXXABI_NO_TIMER ' + | ||||
'-D_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS ' + | '-D_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS ' + | ||||
'-I %{libcxx}/test/support -I %{libcxx}/src' | '-I %{libcxx}/test/support -I %{libcxx}/src' | ||||
)) | )) | ||||
config.substitutions.append(('%{link_flags}', | config.substitutions.append(('%{link_flags}', | ||||
'-nostdlib++ -L %{install}/lib -lc++ -lc++abi -Wl,-bbigtoc' | '-nostdlib++ -L %{lib} -lc++ -lc++abi -Wl,-bbigtoc' | ||||
)) | )) | ||||
config.substitutions.append(('%{exec}', | config.substitutions.append(('%{exec}', | ||||
'%{executor} --execdir %T --env LIBPATH=%{install}/lib -- ' | '%{executor} --execdir %T --env LIBPATH=%{lib} -- ' | ||||
)) | )) | ||||
import os, site | import os, site | ||||
site.addsitedir(os.path.join('@LIBCXXABI_LIBCXX_PATH@', 'utils')) | site.addsitedir(os.path.join('@LIBCXXABI_LIBCXX_PATH@', 'utils')) | ||||
import libcxx.test.params, libcxx.test.newconfig, libcxx.test.newconfig | import libcxx.test.params, libcxx.test.newconfig, libcxx.test.newconfig | ||||
libcxx.test.newconfig.configure( | libcxx.test.newconfig.configure( | ||||
libcxx.test.params.DEFAULT_PARAMETERS, | libcxx.test.params.DEFAULT_PARAMETERS, | ||||
libcxx.test.features.DEFAULT_FEATURES, | libcxx.test.features.DEFAULT_FEATURES, | ||||
config, | config, | ||||
lit_config | lit_config | ||||
) | ) |