[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / libcxx / test / configs / nvptx-libc++-shared.cfg.in
blob9a3ca9c8da95093893f6f124625abc026c1d6a90
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 -march=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    '-L %{lib-dir} -lc++ -lc++abi '
12    '-Wl,--suppress-stack-size-warning '
13    '-Wl,-mllvm,-nvptx-lower-global-ctor-dtor=1 '
14    '-Wl,-mllvm,-nvptx-emit-init-fini-kernel'
16 config.substitutions.append(('%{exec}',
17     '%{executor} --no-parallelism'
20 config.stdlib = 'llvm-libc++'
22 import os, site
23 site.addsitedir(os.path.join('@LIBCXX_SOURCE_DIR@', 'utils'))
24 import libcxx.test.params, libcxx.test.config
25 libcxx.test.config.configure(
26     libcxx.test.params.DEFAULT_PARAMETERS,
27     libcxx.test.features.DEFAULT_FEATURES,
28     config,
29     lit_config