Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bazel] MVP for building with bazel #6994

Merged
merged 38 commits into from
Oct 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
3636e48
[bazel] MVP for building wpiutil with bazel
pjreiniger Aug 23, 2024
ccfe170
Add wpinet
pjreiniger Aug 23, 2024
7e3cf21
Add ntcore
pjreiniger Aug 23, 2024
8ddbdb9
Add hal
pjreiniger Aug 23, 2024
80e6627
Add hal
pjreiniger Aug 23, 2024
2a63894
wpiunits
pjreiniger Aug 23, 2024
3799ff2
Opencv
pjreiniger Aug 23, 2024
99c7b85
wpimath
pjreiniger Aug 23, 2024
d155569
cameraserver
pjreiniger Aug 23, 2024
ea8c009
wpilibj
pjreiniger Aug 23, 2024
da393c1
lint
pjreiniger Aug 23, 2024
64e180b
Suppress bazel changes in upstream utils
pjreiniger Aug 23, 2024
e167510
Fixup flags
pjreiniger Aug 24, 2024
856eb29
Share compiler flags across similar arch
pjreiniger Aug 24, 2024
e488f76
Amalgamate build files
pjreiniger Aug 25, 2024
5ba87d5
Fixup amalgamation
pjreiniger Aug 25, 2024
3205b9c
Code review
pjreiniger Aug 25, 2024
c62253f
Fixup
pjreiniger Aug 25, 2024
27a07a9
Code review
pjreiniger Aug 27, 2024
fbef3bd
Add readme, run debug builds
pjreiniger Aug 29, 2024
341e7fa
format
pjreiniger Aug 30, 2024
951ce90
Remove old language from readme
pjreiniger Aug 31, 2024
20afb6e
Apply suggestions from code review
pjreiniger Aug 31, 2024
30324d8
Fixup review suggestions
pjreiniger Aug 31, 2024
90967d4
Buildifier
pjreiniger Aug 31, 2024
efbef29
Fix build after units update; cherry-pick from maven experimental branch
pjreiniger Sep 8, 2024
0faf27e
Merge and fix new third party library
pjreiniger Sep 12, 2024
1fafe61
Blindly try artifactory endpoint
pjreiniger Sep 12, 2024
e21e104
Fixup
pjreiniger Sep 12, 2024
b9e7b82
Forgot to add bazel auth include
pjreiniger Sep 12, 2024
424f06e
Try without auth to see what happens
pjreiniger Sep 12, 2024
ce489b8
Was using the wrong parameter...
pjreiniger Sep 12, 2024
c5db8e6
Change back to buildbuddy
pjreiniger Sep 19, 2024
3499bda
Whoops
pjreiniger Sep 19, 2024
58aa6e0
(finally) transition to wpilibsuite owned libraries
pjreiniger Oct 5, 2024
ec5692b
Update ni libraries
pjreiniger Oct 12, 2024
30c3248
Simplify ntcore
pjreiniger Oct 12, 2024
e066cda
Update repo url
pjreiniger Oct 13, 2024
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
Prev Previous commit
Next Next commit
Code review
pjreiniger committed Oct 13, 2024
commit 27a07a9fc6162478143097da943d8e24226d27cc
19 changes: 2 additions & 17 deletions hal/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -15,26 +15,11 @@ filegroup(
visibility = ["//hal:__subpackages__"],
)

ATHENA_SRCS = glob([
"src/main/native/athena/*.cpp",
"src/main/native/athena/*.h",
"src/main/native/athena/cpp/*.cpp",
"src/main/native/athena/ctre/*.cpp",
"src/main/native/athena/ctre/*.h",
"src/main/native/athena/rev/*.cpp",
"src/main/native/athena/rev/*.h",
"src/main/native/athena/frccansae/*.h",
"src/main/native/athena/mockdata/*.cpp",
])
ATHENA_SRCS = glob(["src/main/native/athena/**"])

ATHENA_DEPS = ["@bzlmodrio-ni//libraries/cpp/ni:shared"]

SIM_SRCS = glob([
"src/main/native/sim/*.cpp",
"src/main/native/sim/mockdata/*.cpp",
"src/main/native/sim/*.h",
"src/main/native/sim/mockdata/*.h",
])
SIM_SRCS = glob(["src/main/native/sim/**"])

SIM_DEPS = []

4 changes: 2 additions & 2 deletions wpinet/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -88,8 +88,8 @@ filegroup(

generate_resources(
name = "generate-resources",
namespace = "dlt",
prefix = "DLT",
namespace = "wpi",
prefix = "WPI",
resource_files = glob(["src/main/native/resources/*"]),
)

4 changes: 2 additions & 2 deletions wpiutil/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -116,8 +116,8 @@ cc_library(

generate_resources(
name = "generate-resources",
namespace = "dlt",
prefix = "DLT",
namespace = "wpi",
prefix = "WPI",
resource_files = glob(["src/main/native/resources/*"]),
)