Skip to content

Commit 6eb4a23

Browse files
committed
Update to latest bazel
1 parent 037ae0f commit 6eb4a23

File tree

9 files changed

+99
-30
lines changed

9 files changed

+99
-30
lines changed

.bazelversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
latest

.bazelversion.license

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.bazelversion
2+
AVO2 Library
3+
4+
SPDX-FileCopyrightText: 2010 University of North Carolina at Chapel Hill
5+
SPDX-License-Identifier: Apache-2.0
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
https://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
Please send all bug reports to <[email protected]>.
20+
21+
The authors may be contacted via:
22+
23+
Jur van den Berg, Jamie Snape, Stephen J. Guy, and Dinesh Manocha
24+
Dept. of Computer Science
25+
201 S. Columbia St.
26+
Frederick P. Brooks, Jr. Computer Science Bldg.
27+
Chapel Hill, N.C. 27599-3175
28+
United States of America
29+
30+
<https://gamma.cs.unc.edu/AVO/>

.gitattributes

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@
6363

6464
.bazelignore text whitespace-4
6565
.bazelrc text whitespace-4
66+
.bazelversion text whitespace-4
6667
.clang-format text whitespace-2
6768
.clang-tidy text whitespace-2
6869
.dockerignore text whitespace-2
6970
.editorconfig text whitespace-2
7071
.gitattributes text export-ignore whitespace-2
7172
.gitignore text export-ignore whitespace-2
72-
.zenodo.json linguist-documentation
73+
.zenodo.json export-ignore linguist-documentation
7374
Brewfile text diff=ruby export-ignore whitespace-4
7475
CMakeLists.txt whitespace-2
7576
CODEOWNERS text whitespace-2
@@ -78,6 +79,7 @@ Dockerfile text whitespace-2
7879
LICENSE text linguist-documentation linguist-vendored whitespace-0
7980
README.md linguist-documentation
8081
requirements.txt whitespace-2
82+
triggers whitespace-0
8183

8284
.circleci/** export-ignore
8385
.github/** export-ignore

.github/workflows/ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
/var/lib/pacman/sync/*
6565
shell: bash
6666
- name: checkout
67-
uses: actions/checkout@v3
67+
uses: actions/checkout@v4
6868
- name: build test package
6969
run: bazel test --enable_bzlmod=0 --flaky_test_attempts=3 ...
7070
shell: bash
@@ -74,7 +74,7 @@ jobs:
7474
runs-on: macos-latest
7575
steps:
7676
- name: checkout
77-
uses: actions/checkout@v3
77+
uses: actions/checkout@v4
7878
- name: setup
7979
run: |
8080
rm -f \
@@ -140,7 +140,7 @@ jobs:
140140
DEBIAN_FRONTEND: noninteractive
141141
shell: bash
142142
- name: checkout
143-
uses: actions/checkout@v3
143+
uses: actions/checkout@v4
144144
- name: build test package
145145
run: bazel test --enable_bzlmod=0 --flaky_test_attempts=3 ...
146146
shell: bash
@@ -164,7 +164,7 @@ jobs:
164164
/var/lib/pacman/sync/*
165165
shell: bash
166166
- name: checkout
167-
uses: actions/checkout@v3
167+
uses: actions/checkout@v4
168168
- name: build test package
169169
run: bazel test --enable_bzlmod=1 --flaky_test_attempts=3 ...
170170
shell: bash
@@ -174,7 +174,7 @@ jobs:
174174
runs-on: macos-latest
175175
steps:
176176
- name: checkout
177-
uses: actions/checkout@v3
177+
uses: actions/checkout@v4
178178
- name: setup
179179
run: |
180180
rm -f \
@@ -240,7 +240,7 @@ jobs:
240240
DEBIAN_FRONTEND: noninteractive
241241
shell: bash
242242
- name: checkout
243-
uses: actions/checkout@v3
243+
uses: actions/checkout@v4
244244
- name: build test package
245245
run: bazel test --enable_bzlmod=1 --flaky_test_attempts=3 ...
246246
shell: bash
@@ -264,7 +264,7 @@ jobs:
264264
pkgconf
265265
shell: sh
266266
- name: checkout
267-
uses: actions/checkout@v3
267+
uses: actions/checkout@v4
268268
- name: build test package
269269
run: |
270270
mkdir _build
@@ -308,7 +308,7 @@ jobs:
308308
/var/lib/pacman/sync/*
309309
shell: bash
310310
- name: checkout
311-
uses: actions/checkout@v3
311+
uses: actions/checkout@v4
312312
- name: build test package
313313
run: |
314314
mkdir _build
@@ -355,7 +355,7 @@ jobs:
355355
rm -rf /var/cache/yum
356356
shell: bash
357357
- name: checkout
358-
uses: actions/checkout@v3
358+
uses: actions/checkout@v4
359359
- name: build test package
360360
run: |
361361
mkdir _build
@@ -383,7 +383,7 @@ jobs:
383383
runs-on: macos-latest
384384
steps:
385385
- name: checkout
386-
uses: actions/checkout@v3
386+
uses: actions/checkout@v4
387387
- name: setup
388388
run: |
389389
rm -f \
@@ -459,7 +459,7 @@ jobs:
459459
rm -rf /var/cache/yum
460460
shell: bash
461461
- name: checkout
462-
uses: actions/checkout@v3
462+
uses: actions/checkout@v4
463463
- name: build test package
464464
run: |
465465
mkdir _build
@@ -522,7 +522,7 @@ jobs:
522522
DEBIAN_FRONTEND: noninteractive
523523
shell: bash
524524
- name: checkout
525-
uses: actions/checkout@v3
525+
uses: actions/checkout@v4
526526
- name: build test package
527527
run: |
528528
mkdir _build
@@ -550,7 +550,7 @@ jobs:
550550
runs-on: windows-latest
551551
steps:
552552
- name: checkout
553-
uses: actions/checkout@v3
553+
uses: actions/checkout@v4
554554
- name: setup
555555
run: |
556556
choco upgrade cmake.install -r -y --install-arguments=ADD_CMAKE_TO_PATH=System `

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
runs-on: ubuntu-22.04
5151
steps:
5252
- name: checkout
53-
uses: actions/checkout@v3
53+
uses: actions/checkout@v4
5454
- name: initialize codeql
55-
uses: github/codeql-action/init@v2
55+
uses: github/codeql-action/init@v3
5656
with:
5757
languages: cpp
5858
- name: autobuild
59-
uses: github/codeql-action/autobuild@v2
59+
uses: github/codeql-action/autobuild@v3
6060
- name: perform codeql analysis
61-
uses: github/codeql-action/analyze@v2
61+
uses: github/codeql-action/analyze@v3

BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ pkg_deb(
170170
package = "avo",
171171
priority = "optional",
172172
section = "libdevel",
173+
triggers = "triggers",
173174
version = "1.0.1",
174175
visibility = ["//visibility:private"],
175176
)

MODULE.bazel

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ module(
4141

4242
bazel_dep(
4343
name = "apple_support",
44-
version = "1.6.0",
45-
repo_name = "build_bazel_apple_support"
44+
version = "1.11.1",
45+
repo_name = "build_bazel_apple_support",
4646
)
4747

4848
apple_cc_configure = use_extension(
@@ -51,6 +51,7 @@ apple_cc_configure = use_extension(
5151
)
5252
use_repo(apple_cc_configure, "local_config_apple_cc")
5353

54-
bazel_dep(name = "rules_cc", version = "0.0.6")
55-
bazel_dep(name = "rules_license", version = "0.0.4")
54+
bazel_dep(name = "rules_cc", version = "0.0.9")
55+
bazel_dep(name = "rules_license", version = "0.0.7")
56+
5657
bazel_dep(name = "rules_pkg", version = "0.9.1", dev_dependency = True)

WORKSPACE.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4040

4141
http_archive(
4242
name = "build_bazel_apple_support",
43-
sha256 = "9f7bb62c3ae889e0eae8c18458fd8764e2e537687d9a1d85885d6af980e4fc31",
44-
urls = ["https://github.com/bazelbuild/apple_support/releases/download/1.6.0/apple_support.1.6.0.tar.gz"],
43+
sha256 = "cf4d63f39c7ba9059f70e995bf5fe1019267d3f77379c2028561a5d7645ef67c",
44+
urls = ["https://github.com/bazelbuild/apple_support/releases/download/1.11.1/apple_support.1.11.1.tar.gz"],
4545
)
4646

4747
load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies")
@@ -50,9 +50,9 @@ apple_support_dependencies()
5050

5151
http_archive(
5252
name = "rules_cc",
53-
sha256 = "3d9e271e2876ba42e114c9b9bc51454e379cbf0ec9ef9d40e2ae4cec61a31b40",
54-
strip_prefix = "rules_cc-0.0.6",
55-
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.6/rules_cc-0.0.6.tar.gz"],
53+
sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf",
54+
strip_prefix = "rules_cc-0.0.9",
55+
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"],
5656
)
5757

5858
load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies", "rules_cc_toolchains")
@@ -63,10 +63,10 @@ rules_cc_toolchains()
6363

6464
http_archive(
6565
name = "rules_license",
66-
sha256 = "6157e1e68378532d0241ecd15d3c45f6e5cfd98fc10846045509fb2a7cc9e381",
66+
sha256 = "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360",
6767
urls = [
68-
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
69-
"https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
68+
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz",
69+
"https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz",
7070
],
7171
)
7272

triggers

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# triggers
3+
# AVO2 Library
4+
#
5+
# SPDX-FileCopyrightText: 2010 University of North Carolina at Chapel Hill
6+
# SPDX-License-Identifier: Apache-2.0
7+
#
8+
# Licensed under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# https://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# Unless required by applicable law or agreed to in writing, software
15+
# distributed under the License is distributed on an "AS IS" BASIS,
16+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# See the License for the specific language governing permissions and
18+
# limitations under the License.
19+
#
20+
# Please send all bug reports to <[email protected]>.
21+
#
22+
# The authors may be contacted via:
23+
#
24+
# Jur van den Berg, Jamie Snape, Stephen J. Guy, and Dinesh Manocha
25+
# Dept. of Computer Science
26+
# 201 S. Columbia St.
27+
# Frederick P. Brooks, Jr. Computer Science Bldg.
28+
# Chapel Hill, N.C. 27599-3175
29+
# United States of America
30+
#
31+
# <https://gamma.cs.unc.edu/AVO/>
32+
#
33+
34+
interest-await ldconfig

0 commit comments

Comments
 (0)