Renamed llvm-openmp to llvm_openmp.

This commit is contained in:
ag.ramesh 2020-10-12 19:37:06 -07:00
parent 8754ae7756
commit 935a62e4de
4 changed files with 6 additions and 6 deletions
tensorflow
third_party
llvm
llvm_openmp
mkl

View File

@ -722,8 +722,8 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
# Intel openMP that is part of LLVM sources. # Intel openMP that is part of LLVM sources.
tf_http_archive( tf_http_archive(
name = "llvm-openmp", name = "llvm_openmp",
build_file = clean_dep("//third_party/llvm-openmp:BUILD"), build_file = clean_dep("//third_party/llvm_openmp:BUILD"),
sha256 = "d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44", sha256 = "d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44",
strip_prefix = "openmp-10.0.1.src", strip_prefix = "openmp-10.0.1.src",
urls = [ urls = [

View File

@ -3,7 +3,7 @@ py_binary(
srcs = ["expand_cmake_vars.py"], srcs = ["expand_cmake_vars.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
visibility = [ visibility = [
"@llvm-openmp//:__subpackages__", "@llvm_openmp//:__subpackages__",
"@llvm-project//:__subpackages__", "@llvm-project//:__subpackages__",
], ],
) )

View File

@ -34,7 +34,7 @@ filegroup(
name = "LICENSE", name = "LICENSE",
srcs = ["MKL_LICENSE"] + select({ srcs = ["MKL_LICENSE"] + select({
"@org_tensorflow//tensorflow:linux_x86_64": [ "@org_tensorflow//tensorflow:linux_x86_64": [
"@llvm-openmp//:LICENSE.txt", "@llvm_openmp//:LICENSE.txt",
], ],
"@org_tensorflow//tensorflow:macos": [ "@org_tensorflow//tensorflow:macos": [
"@mkl_darwin//:LICENSE", "@mkl_darwin//:LICENSE",
@ -48,12 +48,12 @@ filegroup(
) )
# TODO(Intel-tf) Remove the following call to cc_library and replace all uses # TODO(Intel-tf) Remove the following call to cc_library and replace all uses
# of mkl_libs_linux with @llvm-openmp//:libiomp5.so directly. # of mkl_libs_linux with @llvm_openmp//:libiomp5.so directly.
cc_library( cc_library(
name = "mkl_libs_linux", name = "mkl_libs_linux",
srcs = [ srcs = [
"@llvm-openmp//:libiomp5.so", "@llvm_openmp//:libiomp5.so",
], ],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )