update bazel requirements, move BUILD to BUILD.bazel

This commit is contained in:
Laurent Perron
2023-11-17 14:15:35 +01:00
parent 8a135c3503
commit 425a39da80
9 changed files with 75 additions and 1 deletions

View File

@@ -1,3 +1,16 @@
# Copyright 2010-2022 Google LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
cc_library(
name = "libbliss",
srcs = [
@@ -27,4 +40,4 @@ cc_library(
],
includes = ["."],
visibility = ["//visibility:public"],
)
)

View File

@@ -1,3 +1,16 @@
# Copyright 2010-2022 Google LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
cc_library(
name = "glpk",
srcs = glob(

View File

@@ -1,5 +1,6 @@
# OR-Tools code dependencies
absl-py==2.0.0
immutabledict==3.0.0
numpy==1.26.1
protobuf==4.25.0
scipy==1.11.3

View File

@@ -65,6 +65,8 @@ idna==3.4
# anyio
# jsonschema
# requests
immutabledict==3.0.0
# via -r bazel/notebook_requirements.in
ipykernel==6.25.2
# via
# jupyter

View File

@@ -1,5 +1,6 @@
# OR-Tools code dependencies
absl-py==2.0.0
immutabledict==3.0.0
numpy==1.26.1
protobuf==4.25.0
scipy==1.11.3
@@ -12,3 +13,4 @@ black==23.10.1
# Example dependencies
pandas==2.1.2
svgwrite==1.4.3

View File

@@ -14,6 +14,8 @@ distlib==0.3.7
# via virtualenv
filelock==3.12.2
# via virtualenv
immutabledict==3.0.0
# via -r bazel/ortools_requirements.in
mypy==1.6.1
# via -r bazel/ortools_requirements.in
mypy-extensions==1.0.0
@@ -49,6 +51,8 @@ scipy==1.11.3
# via -r bazel/ortools_requirements.in
six==1.16.0
# via python-dateutil
svgwrite==1.4.3
# via -r bazel/ortools_requirements.in
types-protobuf==4.24.0.0
# via mypy-protobuf
typing-extensions==4.8.0

View File

@@ -1,3 +1,16 @@
# Copyright 2010-2022 Google LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
load("@bazel_skylib//rules:copy_file.bzl", "copy_file")

View File

@@ -1,3 +1,16 @@
# Copyright 2010-2022 Google LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
exports_files(
["src/lpi/lpi_glop.cpp"],
)

View File

@@ -1,3 +1,16 @@
# Copyright 2010-2022 Google LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
licenses(["restricted"]) # GPLv3
exports_files(["LICENSE"])