Skip to content

Commit

Permalink
Rename libscip target to scip to match BUILD file on BCR
Browse files Browse the repository at this point in the history
  • Loading branch information
mering committed Oct 30, 2024
1 parent c5c5a6b commit 7c4b309
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bazel/scip.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ BLISS_FILE = select({
})

cc_library(
name = "libscip",
name = "scip",
srcs = glob(
[
"src/*/*.c",
Expand Down
4 changes: 2 additions & 2 deletions ortools/gscip/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ cc_library(
name = "gscip_callback_result",
srcs = ["gscip_callback_result.cc"],
hdrs = ["gscip_callback_result.h"],
deps = ["@scip//:libscip"],
deps = ["@scip"],
)

cc_library(
Expand All @@ -147,6 +147,6 @@ cc_library(
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/types:span",
"@scip//:libscip",
"@scip",
],
)
2 changes: 1 addition & 1 deletion ortools/linear_solver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ cc_library(
srcs = ["lpi_glop.cpp"],
deps = [
"//ortools/glop:lp_solver",
"@scip//:libscip",
"@scip",
],
)

Expand Down
2 changes: 1 addition & 1 deletion ortools/linear_solver/proto_solver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ cc_library(
"@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/time",
] + select({
"//ortools/linear_solver:use_scip": ["@scip//:libscip"],
"//ortools/linear_solver:use_scip": ["@scip"],
"//conditions:default": [],
}),
)
Expand Down
2 changes: 1 addition & 1 deletion ortools/math_opt/io/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ cc_library(
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings",
"@scip//:libscip",
"@scip",
],
)
2 changes: 1 addition & 1 deletion ortools/math_opt/solvers/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ cc_library(
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:span",
"@com_google_protobuf//:protobuf",
"@scip//:libscip",
"@scip",
],
alwayslink = 1,
)
Expand Down
2 changes: 1 addition & 1 deletion ortools/math_opt/solvers/gscip/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ cc_library(
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/time",
"@scip//:libscip",
"@scip",
],
)

0 comments on commit 7c4b309

Please sign in to comment.