MCPcopy
hub / github.com/NVIDIA/TensorRT-LLM / cmake_parse

Function cmake_parse

scripts/build_cpp_examples.py:33–34  ·  view source on GitHub ↗
(path: PathLike)

Source from the content-addressed store, hash-verified

31 assert trt_dir.is_dir()
32
33 def cmake_parse(path: PathLike) -> str:
34 return str(path).replace("\\", "/")
35
36 # Remove the build directory if it exists
37 if build_dir.exists():

Callers 1

build_cpp_examplesFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected