CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
70 lines
2.8 KiB
Plaintext
Executable File
70 lines
2.8 KiB
Plaintext
Executable File
#!@Python3_EXECUTABLE@
|
|
import os
|
|
import subprocess
|
|
import sys
|
|
|
|
dotest_path = '@LLDB_SOURCE_DIR_CONFIGURED@/test/API/dotest.py'
|
|
dotest_common_args_str = '@LLDB_TEST_COMMON_ARGS_CONFIGURED@'
|
|
dotest_user_args_str = '@LLDB_TEST_USER_ARGS_CONFIGURED@'
|
|
triple = '@LLDB_TEST_TRIPLE@'
|
|
executable = '@LLDB_TEST_EXECUTABLE_CONFIGURED@'
|
|
compiler = '@LLDB_TEST_COMPILER_CONFIGURED@'
|
|
dsymutil = '@LLDB_TEST_DSYMUTIL_CONFIGURED@'
|
|
make = '@LLDB_TEST_MAKE_CONFIGURED@'
|
|
lldb_build_dir = '@LLDB_TEST_BUILD_DIRECTORY_CONFIGURED@'
|
|
lldb_build_intel_pt = "@LLDB_BUILD_INTEL_PT@"
|
|
lldb_build_mock_accelerator = "@LLDB_ENABLE_MOCK_ACCELERATOR_PLUGIN@"
|
|
lldb_framework_dir = "@LLDB_FRAMEWORK_DIR_CONFIGURED@"
|
|
lldb_libs_dir = "@LLDB_LIBS_DIR_CONFIGURED@"
|
|
llvm_tools_dir = "@LLVM_TOOLS_DIR_CONFIGURED@"
|
|
lldb_obj_root = "@LLDB_BINARY_DIR@"
|
|
lldb_launcher = "@LLDB_LAUNCHER_CONFIGURED@"
|
|
has_libcxx = @LLDB_HAS_LIBCXX@
|
|
libcxx_libs_dir = "@LIBCXX_LIBRARY_DIR@"
|
|
libcxx_include_dir = "@LIBCXX_GENERATED_INCLUDE_DIR@"
|
|
libcxx_include_target_dir = "@LIBCXX_GENERATED_INCLUDE_TARGET_DIR@"
|
|
cmake_build_type = "@CMAKE_BUILD_TYPE@"
|
|
lldb_enable_arm64e_debugserver = @LLDB_USE_ARM64E_DEBUGSERVER@
|
|
|
|
if __name__ == '__main__':
|
|
wrapper_args = sys.argv[1:]
|
|
dotest_args = []
|
|
# split on an empty string will produce [''] and if you
|
|
# add that to the command, it will be treated as a directory...
|
|
if dotest_common_args_str:
|
|
dotest_args.extend(dotest_common_args_str.split(';'))
|
|
if dotest_user_args_str:
|
|
dotest_args.extend(dotest_user_args_str.split(';'))
|
|
# Build dotest.py command.
|
|
cmd = [sys.executable, dotest_path]
|
|
cmd.extend(['--triple', triple])
|
|
cmd.extend(dotest_args)
|
|
cmd.extend(['--build-dir', lldb_build_dir])
|
|
cmd.extend(['--executable', executable])
|
|
cmd.extend(['--compiler', compiler])
|
|
cmd.extend(['--dsymutil', dsymutil])
|
|
cmd.extend(['--make', make])
|
|
cmd.extend(['--lldb-libs-dir', lldb_libs_dir])
|
|
cmd.extend(['--llvm-tools-dir', llvm_tools_dir])
|
|
if has_libcxx:
|
|
cmd.extend(['--libcxx-include-dir', libcxx_include_dir])
|
|
if libcxx_include_target_dir:
|
|
cmd.extend(['--libcxx-include-target-dir', libcxx_include_target_dir])
|
|
cmd.extend(['--libcxx-library-dir', libcxx_libs_dir])
|
|
if lldb_framework_dir:
|
|
cmd.extend(['--framework', lldb_framework_dir])
|
|
if lldb_build_intel_pt == "1":
|
|
cmd.extend(['--enable-plugin', 'intel-pt'])
|
|
if lldb_build_mock_accelerator == "1":
|
|
cmd.extend(['--enable-plugin', 'mock-accelerator'])
|
|
if lldb_enable_arm64e_debugserver:
|
|
cmd.extend(['--arm64e-debugserver'])
|
|
cmd.extend(['--lldb-obj-root', lldb_obj_root])
|
|
cmd.extend(['--cmake-build-type', cmake_build_type])
|
|
cmd.extend(wrapper_args)
|
|
if lldb_launcher:
|
|
cmd = [lldb_launcher] + cmd
|
|
# Invoke dotest.py and return exit code.
|
|
print(' '.join(cmd))
|
|
sys.exit(subprocess.call(cmd))
|