Skip to content

Commit

Permalink
Merge commit for internal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Seungil You committed Nov 9, 2017
2 parents cb03edf + c4d45f6 commit 5aa7845
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tensorflow_lattice/tensorflow.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _make_search_paths(prefix, levels_to_root, add_tf=False):
paths += ("," + _add_tf_search_path(prefix, levels_to_root))
return paths

def _rpath_linkopts(name, add_tf=False):
def _rpath_linkopts(name):
# Search parent directories up to the TensorFlow root directory for shared
# object dependencies, even if this op shared object is deeply nested
# (e.g. tensorflow/contrib/package:python/ops/_op_lib.so). tensorflow/ is then
Expand All @@ -257,12 +257,12 @@ def _rpath_linkopts(name, add_tf=False):
clean_dep("@org_tensorflow//tensorflow:darwin"): [
"-Wl,%s" % (_make_search_paths("@loader_path",
levels_to_root,
add_tf),),
add_tf=True),),
],
"//conditions:default": [
"-Wl,%s" % (_make_search_paths("$$ORIGIN",
levels_to_root,
add_tf),),
add_tf=False),),
],
})

Expand Down

0 comments on commit 5aa7845

Please sign in to comment.