code: def blas_ilp64_pre_build_hook(blas_info):
      """
      Pre-build hook for adding ILP64 BLAS compilation flags, and
      mangling Fortran source files to rename BLAS/LAPACK symbols when
      there are symbol suffixes.
  
      Examples
      --------
      ::
  
          from scipy._build_utils import blas_ilp64_pre_build_hook
          ext = config.add_extension(...)
          ext._pre_build_hook = blas_ilp64_pre_build_hook(blas_info)
  
      """
      return lambda cmd, ext: _blas_ilp64_pre_build_hook(
          cmd, ext, blas_info
      )
  
imports: import re
  import os
  import sys
  from distutils.util import get_platform
  import numpy
  from .system_info import combine_dict
label_desc: Use image node_id 10 for calling a global function with example usage: blas_ilp64_pre_build_hook(blas_info) and returns: function