Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjain-stanford committed Oct 19, 2023
1 parent f72ec14 commit b95abe0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Also available under a BSD-style license. See LICENSE.

third_party/
third_party/
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ bazel-bin
bazel-out
bazel-mlir-tcp
bazel-testlogs
third_party/
third_party/
28 changes: 6 additions & 22 deletions local_repos.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,25 @@
# $ git update-index --assume-unchanged local_repos.bzl

def use_local_llvm_repo():
# Change this to return True to have RoboCompiler use the source tree at
# Change this to return True to have mlir-tcp use the source tree at
# `local_llvm_repo_path()`
return False

def use_local_torch_mlir_repo():
# Change this to return True to have RoboCompiler use the source tree at
# Change this to return True to have mlir-tcp use the source tree at
# `local_torch_mlir_repo_path()`
return False

def use_local_mlir_tcp_repo():
# Change this to return True to have RoboCompiler use the source tree at
# `local_mlir_tcp_repo_path()`
return False

def use_local_stablehlo_repo():
# Change this to return True to have RoboCompiler use the source tree at
# Change this to return True to have mlir-tcp use the source tree at
# `local_stablehlo_repo_path()`
return False

def use_local_torch_tensorrt_repo():
# Change this to return True to have RoboCompiler use the source tree at
# `local_torch_tensorrt_repo_path()`
return False

def local_llvm_repo_path():
return "../mla-robocomp-llvm-project"
return "./third_party/llvm-project"

def local_torch_mlir_repo_path():
return "../mla-robocomp-torch-mlir"

def local_mlir_tcp_repo_path():
return "../mla-robocomp-mlir-tcp"
return "./third_party/torch-mlir"

def local_stablehlo_repo_path():
return "../mla-robocomp-stablehlo"

def local_torch_tensorrt_repo_path():
return "../mla-robocomp-torch-tensorrt"
return "./third_party/stablehlo"

0 comments on commit b95abe0

Please sign in to comment.