code: def create_staticlib(output, inputs, ar=None):
      """Create static library.
  
      Parameters
      ----------
      output : str
          The target shared library.
  
      inputs : List[str]
          List of inputs files. Each input file can be a tarball
          of objects or an object file.
  
      ar : Optional[str]
          Path to the ar command to be used
      """
  
      if _is_linux_like():
          return _linux_ar(output, inputs, ar)
      else:
          raise ValueError("Unsupported platform")
  
file_path: tvm/python/tvm/contrib/cc.py
imports: import sys
  import shutil
  import os
  import subprocess
  from .None import utils, tar
  from .._ffi.base import py_str
label_desc: Use image node_id 6 for calling a global function with example usage: create_staticlib(output, inputs, ar) and returns: _linux_ar