code: def get_openmp_flags():
      
  
      compile_flags = []
      link_flags = []
  
      if get_compiler_option() == 'msvc':
          compile_flags.append('-openmp')
      else:
  
          include_path = _get_flag_value_from_var('-I', 'CFLAGS')
          if include_path:
              compile_flags.append('-I' + include_path)
  
          lib_path = _get_flag_value_from_var('-L', 'LDFLAGS')
          if lib_path:
              link_flags.append('-L' + lib_path)
              link_flags.append('-Wl,-rpath,' + lib_path)
  
          compile_flags.append('-fopenmp')
          link_flags.append('-fopenmp')
  
      return {'compiler_flags': compile_flags, 'linker_flags': link_flags}
docs: Utility for returning compiler and linker flags possibly needed for
      OpenMP support.
  
      Returns
      -------
      result : `{'compiler_flags':<flags>, 'linker_flags':<flags>}`
  
      Notes
      -----
      The flags returned are not tested for validity, use
      `check_openmp_support(openmp_flags=get_openmp_flags())` to do so.