code: def get_compiler_settings():
      ctx = Context(".", _env={}, _argv=[])
      sysconfig.get_config_vars()
      compiler = ccompiler.new_compiler()
      sysconfig.customize_compiler(compiler)
      settings = build.get_compiler_setting(ctx, False)
      return compiler, settings
  
file_path: cupy/tests/install_tests/test_cupy_builder/test_features.py
imports: from distutils import ccompiler
  from distutils import sysconfig
  from cupy_builder._context import Context
  from cupy_builder._features import CUDA_cuda
  from cupy_builder import install_build
  import cupy
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: get_compiler_settings() and returns: compiler,  settings