Skip to content

Commit ef595eb

Browse files
committed
Fix Bazel BUILD lint
1 parent 2076ee0 commit ef595eb

4 files changed

Lines changed: 17 additions & 3 deletions

File tree

envpool/atari/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ copy_to_directory(
2424
name = "gen_atari_roms",
2525
srcs = ["@atari_roms//:roms"],
2626
out = "roms",
27-
strip_prefix = "ROM/",
2827
flatten = True,
28+
strip_prefix = "ROM/",
2929
)
3030

3131
genrule(

envpool/mujoco/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ package(default_visibility = ["//visibility:public"])
2323
copy_to_directory(
2424
name = "gen_mujoco_gym_xml",
2525
srcs = [
26-
"@mujoco_gym_xml",
2726
"//third_party/mujoco_gym_xml_patches:patches",
27+
"@mujoco_gym_xml",
2828
],
2929
out = "assets_gym",
3030
strip_prefix = "assets/",

third_party/procgen/procgen.BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ cc_library(
3535
name = "procgen",
3636
srcs = glob(["src/**/*.cpp"]) + glob(["src/*.h"]),
3737
hdrs = glob(["src/*.h"]),
38-
alwayslink = True,
3938
copts = [
4039
"-fpic",
4140
],
@@ -45,4 +44,5 @@ cc_library(
4544
"@qt//:qt_core",
4645
"@qt//:qt_gui",
4746
],
47+
alwayslink = True,
4848
)

third_party/pybind11_bazel/BUILD

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2026 Garena Online Private Limited
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
exports_files([
216
"build_defs_rules_cc_defs.patch",
317
"pybind11_build_rules_cc_defs.patch",

0 commit comments

Comments
 (0)