Skip to content

Commit

Permalink
Fix Mac build: avoid duplicating TF symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Bogatyy committed Mar 24, 2017
1 parent 296d4f6 commit ce9504a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class StatelessComponentTest : public ::testing::Test {
};

TEST_F(StatelessComponentTest, ForwardsTransitionStates) {
const MockTransitionState mock_state_1, mock_state_2, mock_state_3;
MockTransitionState mock_state_1, mock_state_2, mock_state_3;
const std::vector<std::vector<const TransitionState *>> parent_states = {
{}, {&mock_state_1}, {&mock_state_2, &mock_state_3}};

Expand Down
2 changes: 0 additions & 2 deletions syntaxnet/dragnn/components/syntaxnet/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ cc_test(
"//dragnn/protos:spec_proto",
"//syntaxnet:task_context",
"//syntaxnet:test_main",
"@org_tensorflow//tensorflow/core:testlib",
],
)

Expand All @@ -110,6 +109,5 @@ cc_test(
"//syntaxnet:base",
"//syntaxnet:sentence_proto",
"//syntaxnet:test_main",
"@org_tensorflow//tensorflow/core:testlib",
],
)
1 change: 0 additions & 1 deletion syntaxnet/dragnn/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ cc_library(
":compute_session_op",
":resource_container",
"//syntaxnet:base",
"@org_tensorflow//tensorflow/core:protos_all_cc",
"@org_tensorflow//third_party/eigen3",
],
)
Expand Down

0 comments on commit ce9504a

Please sign in to comment.