Home
last modified time | relevance | path

Searched full:config (Results 1 – 25 of 3084) sorted by relevance

12345678910>>...124

/llvm-project/offload/test/
H A Dlit.cfg7 # Tell pylint that we know config and lit_config exist somewhere.
9 config = object()
14 config.environment['CUDA_VISIBLE_DEVICES'] = os.environ['CUDA_VISIBLE_DEVICES']
18 config.environment['ROCR_VISIBLE_DEVICES'] = os.environ['ROCR_VISIBLE_DEVICES']
22 config.environment['LIBOMPTARGET_DEBUG'] = os.environ['LIBOMPTARGET_DEBUG']
26 config.environment['LIBOMPTARGET_NEXTGEN_PLUGINS'] = os.environ['LIBOMPTARGET_NEXTGEN_PLUGINS']
29 config.environment['LIBOMPTARGET_LOCK_MAPPED_HOST_BUFFERS'] = os.environ['LIBOMPTARGET_LOCK_MAPPED_HOST_BUFFERS']
32 config.environment['OMP_TARGET_OFFLOAD'] = os.environ['OMP_TARGET_OFFLOAD']
35 config.environment['HSA_ENABLE_SDMA'] = os.environ['HSA_ENABLE_SDMA']
40 config
[all...]
/llvm-project/llvm/test/
H A Dlit.site.cfg.py.in5 config.host_triple = "@LLVM_HOST_TRIPLE@"
6 config.target_triple = "@LLVM_TARGET_TRIPLE@"
7 config.llvm_src_root = path(r"@LLVM_SOURCE_DIR@")
8 config.llvm_obj_root = path(r"@LLVM_BINARY_DIR@")
9 config.llvm_tools_dir = lit_config.substitute(path(r"@LLVM_TOOLS_DIR@"))
10 config.llvm_lib_dir = lit_config.substitute(path(r"@LLVM_LIBS_DIR@"))
11 config.llvm_shlib_dir = lit_config.substitute(path(r"@SHLIBDIR@"))
12 config.llvm_shlib_ext = "@SHLIBEXT@"
13 config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@"
14 config
[all...]
H A Dlit.cfg.py18 config.name = "LLVM"
21 config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
25 config.suffixes = [".ll", ".c", ".test", ".txt", ".s", ".mir", ".yaml", ".spv"]
30 config.excludes = ["Inputs", "CMakeLists.txt", "README.txt", "LICENSE.txt"]
33 config.test_source_root = os.path.dirname(__file__)
36 config.test_exec_root = os.path.join(config.llvm_obj_root, "test")
39 llvm_config.with_environment("PATH", config.llvm_tools_dir, append_path=True)
46 top_ocaml_lib = os.path.join(config.llvm_lib_dir, "ocaml")
65 not "Address" in config
[all...]
/llvm-project/openmp/runtime/test/
H A Dlit.cfg9 # Tell pylint that we know config and lit_config exist somewhere.
11 config = object()
15 target_arch = getattr(config, 'target_arch', None)
16 if config.operating_system == 'Windows':
19 elif config.operating_system == 'Darwin':
28 if name in config.environment:
29 config.environment[name] = path + sep + config.environment[name]
31 config.environment[name] = path
34 config.name = 'libomp'
37 config.suffixes = ['.c', '.cpp']
[all …]
/llvm-project/compiler-rt/test/
H A Dlit.common.cfg.py19 config.clang.strip(),
20 f"--target={config.target_triple}",
43 if config.compiler_id != "Clang":
45 f"Determining compiler's runtime directory is not supported for {config.compiler_id}"
53 shlex.split(config.target_cflags) + ["-print-runtime-dir"], allow_failure=True
69 if config.host_os == "Darwin":
80 def push_dynamic_library_lookup_path(config, new_path): argument
91 (new_path, config.environment.get(dynamic_library_lookup_var, ""))
93 config.environment[dynamic_library_lookup_var] = new_ld_library_path
98 (new_path, config
[all...]
/llvm-project/mlir/test/
H A Dlit.site.cfg.py.in5 config.target_triple = "@LLVM_TARGET_TRIPLE@"
6 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
7 config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
8 config.llvm_shlib_ext = "@SHLIBEXT@"
9 config.llvm_shlib_dir = lit_config.substitute(path(r"@SHLIBDIR@"))
10 config.python_executable = "@Python3_EXECUTABLE@"
11 config.enable_assertions = @ENABLE_ASSERTIONS@
12 config.native_target = "@LLVM_NATIVE_ARCH@"
13 config.host_os = "@HOST_OS@"
14 config
[all...]
H A Dlit.cfg.py20 config.name = "MLIR"
32 config.test_format = lit.formats.ShTest(execute_external=not use_lit_shell)
35 config.suffixes = [
49 config.test_source_root = os.path.dirname(__file__)
52 config.test_exec_root = os.path.join(config.mlir_obj_root, "test")
54 config.substitutions.append(("%PATH%", config.environment["PATH"]))
55 config.substitutions.append(("%shlibext", config
[all...]
/llvm-project/compiler-rt/test/asan/
H A Dlit.cfg.py11 def get_required_attr(config, attr_name): argument
12 attr_value = getattr(config, attr_name, None)
21 # Setup config name.
22 config.name = "AddressSanitizer" + config.name_suffix
25 default_asan_opts = list(config.default_sanitizer_opts)
29 if config.host_os == "Darwin" and config.apple_platform == "osx":
34 config.environment["ASAN_OPTIONS"] = default_asan_opts_str
36 config
[all...]
/llvm-project/openmp/tools/archer/tests/
H A Dlit.cfg9 # Tell pylint that we know config and lit_config exist somewhere.
11 config = object()
15 if config.operating_system == 'Windows':
18 elif config.operating_system == 'Darwin':
24 if name in config.environment:
25 config.environment[name] = path + sep + config.environment[name]
27 config.environment[name] = path
30 config.name = 'libarcher'
33 config
[all...]
/llvm-project/clang/test/
H A Dlit.site.cfg.py.in5 config.llvm_src_root = path(r"@LLVM_SOURCE_DIR@")
6 config.llvm_obj_root = path(r"@LLVM_BINARY_DIR@")
7 config.llvm_tools_dir = lit_config.substitute(path(r"@LLVM_TOOLS_DIR@"))
8 config.llvm_libs_dir = lit_config.substitute(path(r"@LLVM_LIBS_DIR@"))
9 config.llvm_shlib_dir = lit_config.substitute(path(r"@SHLIBDIR@"))
10 config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@"
11 config.lit_tools_dir = path(r"@LLVM_LIT_TOOLS_DIR@")
12 config.errc_messages = "@LLVM_LIT_ERRC_MESSAGES@"
13 config.clang_lit_site_cfg = __file__
14 config
[all...]
H A Dlit.cfg.py19 config.name = "Clang"
25 config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
28 config.suffixes = [
54 config.excludes = [
63 config.test_source_root = os.path.dirname(__file__)
66 config.test_exec_root = os.path.join(config.clang_obj_root, "test")
72 config.substitutions.append(("%src_include_dir", config.clang_src_dir + "/include"))
74 config
[all...]
/llvm-project/flang/test/
H A Dlit.cfg.py19 config.name = "Flang"
25 config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
28 config.suffixes = [
58 config.substitutions.append(("%PATH%", config.environment["PATH"]))
59 config.substitutions.append(("%llvmshlibdir", config.llvm_shlib_dir))
60 config.substitutions.append(("%pluginext", config.llvm_plugin_ext))
64 # ask llvm-config abou
[all...]
/llvm-project/clang/test/Driver/
H A Dconfig-file.c1 //--- Config file search directories
3 // RUN: %clang --config-system-dir=%S/Inputs/config --config-user-dir=%S/Inputs/config2 -o /dev/null -v 2>&1 | FileCheck %s -check-prefix CHECK-DIRS
4 // CHECK-DIRS: System configuration file directory: {{.*}}/Inputs/config
8 //--- Config file (full path) in output of -###
10 // RUN: %clang --config %S/Inputs/config-1.cfg -S %s -### 2>&1 | FileCheck %s -check-prefix CHECK-HHH
11 // RUN: %clang --config=%S/Inputs/config
[all...]
/llvm-project/lldb/test/API/
H A Dlit.site.cfg.py.in3 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5 config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
6 config.llvm_libs_dir = lit_config.substitute("@LLVM_LIBS_DIR@")
7 config.llvm_include_dir = lit_config.substitute("@LLVM_INCLUDE_DIR@")
8 config.llvm_shlib_dir = lit_config.substitute("@SHLIBDIR@")
9 config.llvm_build_mode = lit_config.substitute("@LLVM_BUILD_MODE@")
10 config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
11 config.lldb_obj_root = lit_config.substitute("@LLDB_BINARY_DIR@")
12 config
[all...]
/llvm-project/compiler-rt/test/lsan/
H A Dlit.common.cfg.py11 def get_required_attr(config, attr_name): argument
12 attr_value = getattr(config, attr_name, None)
23 config.test_source_root = os.path.dirname(__file__)
26 lsan_lit_test_mode = get_required_attr(config, "lsan_lit_test_mode")
27 target_arch = getattr(config, "target_arch", None)
30 config.name = "LeakSanitizer-Standalone"
32 config.available_features.add("lsan-standalone")
34 config.name = "LeakSanitizer-AddressSanitizer"
36 config.available_features.add("asan")
37 if config
[all...]
/llvm-project/compiler-rt/test/orc/
H A Dlit.cfg.py6 # Setup config name.
7 config.name = "ORC" + config.name_suffix
10 config.test_source_root = os.path.dirname(__file__)
13 host_arch_compatible = config.target_arch == config.host_arch
15 if config.host_arch == "x86_64h" and config.target_arch == "x86_64":
18 config.available_features.add("host-arch-compatible")
21 if not config
[all...]
/llvm-project/openmp/libompd/test/
H A Dlit.cfg9 # Tell pylint that we know config and lit_config exist somewhere.
11 config = object()
15 if config.operating_system == 'Windows':
18 elif config.operating_system == 'Darwin':
24 if name in config.environment:
25 config.environment[name] = path + sep + config.environment[name]
27 config.environment[name] = path
28 # config.environment['PYTHONPATH'] = config.ompd_module + sep + config.environment['PYTHON_PATH']
31 config.name = 'ompd-test'
34 config.suffixes = ['.c']
[all …]
/llvm-project/openmp/tools/multiplex/tests/
H A Dlit.cfg9 # Tell pylint that we know config and lit_config exist somewhere.
11 config = object()
15 if config.operating_system == 'Windows':
18 elif config.operating_system == 'Darwin':
24 if name in config.environment:
25 config.environment[name] = path + sep + config.environment[name]
27 config.environment[name] = path
30 config.name = 'OMPT multiplex'
33 config.suffixes = ['.c']
36 config.test_source_root = os.path.dirname(__file__)
[all …]
/llvm-project/compiler-rt/test/sanitizer_common/
H A Dlit.common.cfg.py4 config.test_source_root = os.path.join(os.path.dirname(__file__), "TestCases")
6 config.name = "SanitizerCommon-" + config.name_suffix
10 if config.tool_name == "asan":
13 elif config.tool_name == "hwasan":
15 if config.target_arch == "x86_64":
17 config.available_features.add("hwasan-aliasing")
19 if not config.has_lld:
20 config.unsupported = True
21 elif config
[all...]
/llvm-project/compiler-rt/test/memprof/
H A Dlit.cfg.py10 def get_required_attr(config, attr_name): argument
11 attr_value = getattr(config, attr_name, None)
21 # Setup config name.
22 config.name = "MemProfiler" + config.name_suffix
25 default_memprof_opts = list(config.default_sanitizer_opts)
29 config.environment["MEMPROF_OPTIONS"] = default_memprof_opts_str
31 config.substitutions.append(
36 config.test_source_root = os.path.dirname(__file__)
42 target_cflags = [get_required_attr(config, "target_cflag
[all...]
/llvm-project/compiler-rt/test/builtins/Unit/
H A Dlit.cfg.py22 def get_required_attr(config, attr_name): argument
23 attr_value = getattr(config, attr_name, None)
35 [config.clang.strip(), "-print-file-name=%s" % file]
36 + shlex.split(config.target_cflags),
38 env=config.environment,
52 [config.clang.strip(), "-print-libgcc-file-name"]
53 + shlex.split(config.target_cflags),
55 env=config.environment,
67 # Setup config name.
68 config
[all...]
/llvm-project/compiler-rt/test/profile/
H A Dlit.cfg.py7 def get_required_attr(config, attr_name): argument
8 attr_value = getattr(config, attr_name, None)
18 # Setup config name.
19 config.name = "Profile-" + config.target_arch
22 config.test_source_root = os.path.dirname(__file__)
26 hasattr(config, "profile_lit_binary_dir")
27 and config.profile_lit_binary_dir is not None
29 config.test_exec_root = os.path.join(config
[all...]
/llvm-project/compiler-rt/test/xray/
H A Dlit.cfg.py5 # Setup config name.
6 config.name = "XRay" + config.name_suffix
9 config.test_source_root = os.path.dirname(__file__)
12 clang_xray_cflags = ["-fxray-instrument", config.target_cflags]
17 if config.libcxx_used == "1" and config.host_os == "Linux":
19 ["-L%s -lc++ -Wl,-rpath=%s" % (config.llvm_shlib_dir, config.llvm_shlib_dir)]
22 clang_xray_cxxflags = config.cxx_mode_flags + clang_xray_cflags
26 return " " + " ".join([config.clang] + compile_flags) + " "
29 # Assume that llvm-xray is in the config.llvm_tools_dir.
30 llvm_xray = os.path.join(config.llvm_tools_dir, "llvm-xray")
[all …]
/llvm-project/compiler-rt/test/cfi/
H A Dlit.cfg.py4 config.name = "cfi" + config.name_suffix
5 config.suffixes = [".c", ".cpp", ".test"]
6 config.test_source_root = os.path.dirname(__file__)
10 return " " + " ".join([config.clang] + compile_flags) + " "
13 clang = build_invocation([config.target_cflags])
14 clangxx = build_invocation([config.target_cflags] + config.cxx_mode_flags)
16 config.substitutions.append((r"%clang ", clang + " "))
17 config.substitutions.append((r"%clangxx ", clangxx + " "))
19 if "darwin" in config.available_features:
21 config.unsupported = True
[all …]
/llvm-project/lldb/test/Shell/
H A Dlit.site.cfg.py.in3 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5 config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
6 config.llvm_libs_dir = lit_config.substitute("@LLVM_LIBS_DIR@")
7 config.llvm_shlib_dir = lit_config.substitute("@SHLIBDIR@")
8 config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
9 config.lldb_src_root = "@LLDB_SOURCE_DIR@"
10 config.lldb_obj_root = "@LLDB_BINARY_DIR@"
11 config.lldb_libs_dir = lit_config.substitute("@LLDB_LIBS_DIR@")
12 config
[all...]

12345678910>>...124