Skip to content

Commit

Permalink
fix(aarch64): fixes and issues for aarch64 toolchain
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Dasan <[email protected]>
Signed-off-by: Naren Dasan <[email protected]>
  • Loading branch information
narendasan committed Jul 8, 2020
1 parent 7889ebd commit 9a6cccd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 0 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,12 @@ http_archive(
#new_local_repository(
# name = "libtorch",
# path = "/usr/local/lib/python3.6/dist-packages/torch",
# # Use below for aarch64
# #path = "/home/nvidia/.local/lib/python3.6/site-packages/torch",
# build_file = "third_party/libtorch/BUILD"
#)

#new_local_repository(
# name = "libtorch_pre_cxx11_abi",
# path = "/usr/local/lib/python3.6/dist-packages/torch",
# # Use below for aarch64
# #path = "/home/nvidia/.local/lib/python3.6/site-packages/torch",
# build_file = "third_party/libtorch/BUILD"
#)

Expand Down
2 changes: 0 additions & 2 deletions tests/core/converters/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,3 @@ test_suite(
":test_stack"
]
)


1 change: 1 addition & 0 deletions tests/util/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ cc_library(
"//core/conversion",
"//core/util:prelude",
"//cpp/api:trtorch",
"@tensorrt//:nvinfer"
] + select({
":use_pre_cxx11_abi": [
"@libtorch_pre_cxx11_abi//:libtorch",
Expand Down
6 changes: 3 additions & 3 deletions third_party/cuda/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cc_library(
name = "cudart",
srcs = select({
":aarch64_linux": [
"targets/aarch64-linux-gnu/lib/libcudart.so",
"targets/aarch64-linux/lib/libcudart.so",
],
"//conditions:default": [
"targets/x86_64-linux/lib/libcudart.so",
Expand All @@ -30,7 +30,7 @@ cc_library(
name = "nvToolsExt",
srcs = select({
":aarch64_linux": [
"targets/aarch64-linux-gnu/lib/libnvToolsExt.so.1",
"targets/aarch64-linux/lib/libnvToolsExt.so.1",
],
"//conditions:default": [
"targets/x86_64-linux/lib/libnvToolsExt.so.1",
Expand All @@ -42,7 +42,7 @@ cc_library(
name = "cuda",
srcs = select({
":aarch64_linux": glob([
"targets/aarch64-linux-gnu/lib/**/lib*.so",
"targets/aarch64-linux/lib/**/lib*.so",
]),
"//conditions:default": glob([
"targets/x86_64-linux/lib/**/lib*.so",
Expand Down

0 comments on commit 9a6cccd

Please sign in to comment.