scripts/cfg_files.py
def copy_base_ld_script(cfg: config.Config, lib_spec_name: str) -> None:
    """Copy the linker script to target-specific directory."""
    base_ld_src = os.path.join(cfg.source_dir, 'ldscript', 'base.ld')
    base_ld_dest = os.path.join(cfg.target_llvm_rt_dir, lib_spec_name,
                                'base.ld')
    if cfg.verbose:
        logging.info('Copying %s to %s', base_ld_src, base_ld_dest)
    shutil.copy(base_ld_src, base_ld_dest)
Copy the linker script to target-specific directory.
Copy the linker script to target-specific directory.
Copy the linker script to target - specific directory .
def copy_base_ld_script(cfg: config.Config, lib_spec_name: str) -> None:
    base_ld_src = os.path.join(cfg.source_dir, 'ldscript', 'base.ld')
    base_ld_dest = os.path.join(cfg.target_llvm_rt_dir, lib_spec_name,
                                'base.ld')
    if cfg.verbose:
        logging.info('Copying %s to %s', base_ld_src, base_ld_dest)
    shutil.copy(base_ld_src, base_ld_dest)
def copy_base_ld_script ( cfg : config . Config , lib_spec_name : str ) -> None : base_ld_src = os . path . join ( cfg . source_dir , 'ldscript' , 'base.ld' ) base_ld_dest = os . path . join ( cfg . target_llvm_rt_dir , lib_spec_name , 'base.ld' ) if cfg . verbose : logging . info ( 'Copying %s to %s' , base_ld_src , base_ld_dest ) shutil . copy ( base_ld_src , base_ld_dest )
Copy the linker script to target-specific directory.
Copy the linker script to target - specific directory .
"""Copy the linker script to target-specific directory."""
cfg
config.Config
lib_spec_name
str