code: def extra_ldflags(self):
      ccl_root_path = os.environ.get("CCL_ROOT")
      if ccl_root_path is None:
          raise ValueError(
              "Didn't find CCL_ROOT, install oneCCL from https://github.com/oneapi-src/oneCCL and source its environment variable"
          )
          return []
      else:
          return ["-lccl", f"-L{ccl_root_path}/lib"]
  
file_path: DeepSpeed/op_builder/cpu/comm.py
imports: import os
  from .builder import CPUOpBuilder
label_desc: Use image node_id 7 for calling the CCLCommBuilder obj's underlying member method code with example usage: obj.extra_ldflags() and returns: list, list