Mercurial > hg > CbC > CbC_llvm
comparison libunwind/test/configs/apple-libunwind-backdeployment.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 | c4bab56944e8 |
children |
comparison
equal
deleted
inserted
replaced
237:c80f45b162ad | 252:1f2b6ac9f198 |
---|---|
5 # a developer building their application using recent tools but with the goal of deploying | 5 # a developer building their application using recent tools but with the goal of deploying |
6 # on existing devices running an older OS (and hence an older dylib). | 6 # on existing devices running an older OS (and hence an older dylib). |
7 | 7 |
8 import os, site | 8 import os, site |
9 site.addsitedir(os.path.join('@LIBUNWIND_LIBCXX_PATH@', 'utils')) | 9 site.addsitedir(os.path.join('@LIBUNWIND_LIBCXX_PATH@', 'utils')) |
10 import libcxx.test.params, libcxx.test.newconfig, libcxx.test.dsl | 10 import libcxx.test.params, libcxx.test.config, libcxx.test.dsl |
11 | 11 |
12 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg') | 12 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg') |
13 | 13 |
14 BACKDEPLOYMENT_PARAMETERS = [ | 14 BACKDEPLOYMENT_PARAMETERS = [ |
15 libcxx.test.dsl.Parameter(name='cxx_runtime_root', type=str, | 15 libcxx.test.dsl.Parameter(name='cxx_runtime_root', type=str, |
52 )) | 52 )) |
53 config.substitutions.append(('%{exec}', | 53 config.substitutions.append(('%{exec}', |
54 '%{executor} --execdir %T --env DYLD_LIBRARY_PATH="%{cxx-runtime-root}:%{abi-runtime-root}:%{unwind-runtime-root}" -- ' | 54 '%{executor} --execdir %T --env DYLD_LIBRARY_PATH="%{cxx-runtime-root}:%{abi-runtime-root}:%{unwind-runtime-root}" -- ' |
55 )) | 55 )) |
56 | 56 |
57 config.stdlib = 'apple-libc++' | |
58 | |
57 import os, site | 59 import os, site |
58 import libcxx.test.params, libcxx.test.newconfig, libcxx.test.newconfig | 60 import libcxx.test.params, libcxx.test.config |
59 libcxx.test.newconfig.configure( | 61 libcxx.test.config.configure( |
60 libcxx.test.params.DEFAULT_PARAMETERS + BACKDEPLOYMENT_PARAMETERS, | 62 libcxx.test.params.DEFAULT_PARAMETERS + BACKDEPLOYMENT_PARAMETERS, |
61 libcxx.test.features.DEFAULT_FEATURES, | 63 libcxx.test.features.DEFAULT_FEATURES, |
62 config, | 64 config, |
63 lit_config | 65 lit_config |
64 ) | 66 ) |