Use consistent quotes in ngraph.BUILD.oss
PiperOrigin-RevId: 293387773 Change-Id: I6731cb539954987d23f285de52f8baed6c448593
This commit is contained in:
parent
e52ccb7174
commit
547d90ce17
2
third_party/llvm/llvm.bzl
vendored
2
third_party/llvm/llvm.bzl
vendored
@ -103,7 +103,7 @@ def _quote(s):
|
|||||||
command.
|
command.
|
||||||
"""
|
"""
|
||||||
return ('"' +
|
return ('"' +
|
||||||
s.replace("\\", "\\\\").replace("$", "\\$").replace('"', '\\"') +
|
s.replace("\\", "\\\\").replace("$", "\\$").replace('"', "\\\"") +
|
||||||
'"')
|
'"')
|
||||||
|
|
||||||
def cmake_var_string(cmake_vars):
|
def cmake_var_string(cmake_vars):
|
||||||
|
12
third_party/ngraph/ngraph.BUILD
vendored
12
third_party/ngraph/ngraph.BUILD
vendored
@ -108,10 +108,10 @@ cc_library(
|
|||||||
copts = [
|
copts = [
|
||||||
"-I external/ngraph/src",
|
"-I external/ngraph/src",
|
||||||
"-I external/nlohmann_json_lib/include/",
|
"-I external/nlohmann_json_lib/include/",
|
||||||
'-D SHARED_LIB_EXT=\\".so\\"',
|
"-D SHARED_LIB_EXT=\".so\"",
|
||||||
'-D NGRAPH_VERSION=\\"0.11.0\\"',
|
"-D NGRAPH_VERSION=\"0.11.0\"",
|
||||||
"-D NGRAPH_DEX_ONLY",
|
"-D NGRAPH_DEX_ONLY",
|
||||||
'-D PROJECT_ROOT_DIR=\\"\\"',
|
"-D PROJECT_ROOT_DIR=\"\"",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@ -151,9 +151,9 @@ cc_library(
|
|||||||
copts = [
|
copts = [
|
||||||
"-I external/ngraph/src",
|
"-I external/ngraph/src",
|
||||||
"-I external/nlohmann_json_lib/include/",
|
"-I external/nlohmann_json_lib/include/",
|
||||||
'-D SHARED_LIB_EXT=\\".so\\"',
|
"-D SHARED_LIB_EXT=\\\".so\\\"",
|
||||||
'-D NGRAPH_VERSION=\\"0.11.0\\"',
|
"-D NGRAPH_VERSION=\\\"0.11.0\\\"",
|
||||||
'-D PROJECT_ROOT_DIR=\\"\\"',
|
"-D PROJECT_ROOT_DIR=\\\"\\\"",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user