Mercurial > hg > CbC > CbC_llvm
comparison libunwind/test/configs/llvm-libunwind-mingw.cfg.in @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
237:c80f45b162ad | 252:1f2b6ac9f198 |
---|---|
1 # This testing configuration handles running the test suite against LLVM's libunwind | |
2 # using either a DLL or a static library, with MinGW/Clang on Windows. | |
3 | |
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg') | |
5 | |
6 config.substitutions.append(('%{flags}', '')) | |
7 config.substitutions.append(('%{compile_flags}', | |
8 '-nostdinc++ -I %{include} -funwind-tables' | |
9 )) | |
10 config.substitutions.append(('%{link_flags}', | |
11 '-L %{lib} -lunwind' | |
12 )) | |
13 config.substitutions.append(('%{exec}', | |
14 '%{executor} --execdir %T --prepend_env PATH=%{lib} -- ' | |
15 )) | |
16 | |
17 import os, site | |
18 site.addsitedir(os.path.join('@LIBUNWIND_LIBCXX_PATH@', 'utils')) | |
19 import libcxx.test.params, libcxx.test.config | |
20 libcxx.test.config.configure( | |
21 libcxx.test.params.DEFAULT_PARAMETERS, | |
22 libcxx.test.features.DEFAULT_FEATURES, | |
23 config, | |
24 lit_config | |
25 ) |