# Modifications Copyright (c) 2024-2025 Advanced Micro Devices, Inc. # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. @AUTO_GEN_COMMENT@ config.cxx_under_test = "@LIBCUDACXX_CUDA_COMPILER@" config.cxx_first_arg = "@LIBCUDACXX_CUDA_COMPILER_ARG1@" config.project_obj_root = "@CMAKE_BINARY_DIR@" config.libcudacxx_src_root = "@libhipcxx_SOURCE_DIR@" config.libcudacxx_obj_root = "@LIBCUDACXX_BINARY_DIR@" config.cxx_library_root = "@LIBCUDACXX_LIBRARY_DIR@" config.std = "@LIBCUDACXX_TEST_STANDARD_VER@" config.enable_exceptions = True config.enable_experimental = False config.enable_filesystem = False config.enable_rtti = False config.enable_shared = False config.enable_32bit = False config.cxx_abi = "none" config.is_nvrtc = @LIBCUDACXX_CUDA_TEST_WITH_NVRTC@ config.is_hiprtc = @LIBCUDACXX_HIP_TEST_WITH_HIPRTC@ config.configuration_variant = "libcudacxx" config.host_triple = "@LLVM_HOST_TRIPLE@" config.target_triple = "@TARGET_TRIPLE@" config.use_target = bool("@LIBCUDACXX_TARGET_TRIPLE@") config.generate_coverage = False config.target_info = "@LIBCUDACXX_TARGET_INFO@" config.test_linker_flags = "@LIBCUDACXX_TEST_LINKER_FLAGS@" config.test_compiler_flags = "@LIBCUDACXX_TEST_COMPILER_FLAGS@" config.compute_archs = "@LIBCUDACXX_COMPUTE_ARCHS_STRING@" config.nvcc_host_compiler = "@CMAKE_CUDA_HOST_COMPILER@" config.cuda_path = "@CMAKE_CUDA_COMPILER_TOOLKIT_ROOT@" config.executor = "@LIBCUDACXX_EXECUTOR@" config.llvm_unwinder = False config.has_libatomic = False config.use_libatomic = False config.debug_build = False config.libcxxabi_shared = False config.cxx_ext_threads = False config.maxIndividualTestTime = @LIBCUDACXX_TEST_TIMEOUT@ # Let the main config do the real work. config.loaded_site_config = True lit_config.load_config(config, "@libhipcxx_SOURCE_DIR@/test/lit.cfg")