[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / libcxx / test / configs / amdgpu-libc++-shared.cfg.in
blob80c80ebaa8bd0d1490efed2c597f7d6a8500d86f
1 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
3 config.substitutions.append(('%{flags}',
4   f'--target={config.target_triple} -Wno-multi-gpu -flto -mcpu=native'))
5 config.substitutions.append(('%{compile_flags}',
6     '-nogpulib -fno-builtin-printf -I %{include-dir} '
7     '-I %{target-include-dir} -I %{libcxx-dir}/test/support'
8 ))
9 config.substitutions.append(('%{link_flags}',
10   '-nostdlib++ -startfiles -stdlib '
11   '-Wl,-mllvm,-amdgpu-lower-global-ctor-dtor=0 '
12   '-L %{lib-dir} -lc++ -lc++abi -lclang_rt.builtins'
15 config.substitutions.append(('%{exec}',
16     '%{executor}'
19 config.stdlib = 'llvm-libc++'
21 import os, site
22 site.addsitedir(os.path.join('@LIBCXX_SOURCE_DIR@', 'utils'))
23 import libcxx.test.params, libcxx.test.config
24 libcxx.test.config.configure(
25     libcxx.test.params.DEFAULT_PARAMETERS,
26     libcxx.test.features.DEFAULT_FEATURES,
27     config,
28     lit_config