Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ load("@rules_license//rules:license.bzl", "license")

# Expose license for external usage through bazel.
licenses(["notice"])

exports_files(["LICENSE"])

license(
name = "license",
package_name = "or-tools",
license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"],
license_text = ":LICENSE",
name = "license",
package_name = "or-tools",
license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"],
license_text = ":LICENSE",
)

package(
default_applicable_licenses = [":license"],
default_applicable_licenses = [":license"],
)

# gazelle:build_file_name BUILD,BUILD.bazel
Expand Down
9 changes: 0 additions & 9 deletions bazel/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@

load("@rules_python//python:pip.bzl", "compile_pip_requirements")

exports_files([
"archive_helper.bzl",
"notebook_requirements.in",
"notebook_requirements.txt",
"ortools_requirements.in",
"ortools_requirements.txt",
"scip-v920.patch",
])

compile_pip_requirements(
name = "ortools_requirements",
extra_args = [
Expand Down
7 changes: 0 additions & 7 deletions examples/cpp/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

exports_files(
[
"shift_minimization.dat",
"wt40.txt",
],
)

# Constraint solver examples.
cc_binary(
name = "binpacking_2d_sat",
Expand Down
2 changes: 0 additions & 2 deletions ortools/base/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ cc_library(
cc_library(
name = "memfile",
hdrs = ["memfile.h"],
deps = [],
)

cc_library(
Expand Down Expand Up @@ -432,7 +431,6 @@ cc_library(
cc_library(
name = "mutable_memfile",
hdrs = ["mutable_memfile.h"],
deps = [],
)

cc_library(
Expand Down
2 changes: 0 additions & 2 deletions ortools/linear_solver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ load("@rules_cc//cc:cc_library.bzl", "cc_library")

package(default_visibility = ["//visibility:public"])

exports_files(["model_exporter_swig_helper.h"])

# OSS solvers
bool_flag(
name = "with_bop",
Expand Down
12 changes: 0 additions & 12 deletions ortools/linear_solver/wrappers/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@

load("@rules_cc//cc:cc_library.bzl", "cc_library")

# Public exports.
exports_files(
[
"README.md",
"BUILD.bazel",
"CMakeLists.txt",
] + glob([
"*.cc",
"*.h",
]),
)

cc_library(
name = "model_builder_helper",
srcs = ["model_builder_helper.cc"],
Expand Down
1 change: 0 additions & 1 deletion ortools/util/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ cc_library(
cc_library(
name = "random_engine",
hdrs = ["random_engine.h"],
deps = [],
)

cc_library(
Expand Down
5 changes: 0 additions & 5 deletions patches/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
# limitations under the License.

exports_files([
"abseil-cpp-20250512.0.patch",
"protobuf-v31.1.patch",
"pybind11_bazel.patch",
"pybind11_abseil.patch",
"pybind11_protobuf.patch",
"pybind11-v2.13.6.patch",
"scip-v922.patch",
])
Loading