github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/tensorrt/build_defs.bzl.tpl (about)

     1  # Build configurations for TensorRT.
     2  
     3  def if_tensorrt(if_true, if_false=[]):
     4    """Tests whether TensorRT was enabled during the configure process."""
     5    return %{if_tensorrt}