mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[copybara] mostrobotpy to allwpilib (#8503)
Resync with `mostrobotpy` This mostly involves the big "ignore almost everything in the HAL project" and some fixups for the Addressable LED classes. Required two small hand fixes to get it building over here with bazel, and with more compiler warnings on. I also manually zeroed out the `repo_url` field in the toml files to avoid unnecessary churn whenever it goes from a release build to a development build. I already did this with `version` field in there, and will do a follow up PR that updates the copybara script to do it automatically. --------- Co-authored-by: Default email <default@default.com>
This commit is contained in:
4
romiVendordep/robotpy_pybind_build_info.bzl
generated
4
romiVendordep/robotpy_pybind_build_info.bzl
generated
@@ -49,7 +49,7 @@ def romi_extension(srcs = [], header_to_dat_deps = [], extra_hdrs = [], includes
|
||||
gen_libinit(
|
||||
name = "romi.gen_lib_init",
|
||||
output_file = "src/main/python/romi/_init__romi.py",
|
||||
modules = ["native.romi._init_robotpy_native_romi", "wpilib._init__wpilib", "wpimath.geometry._init__geometry"],
|
||||
modules = ["native.romi._init_robotpy_native_romi", "wpilib._init__wpilib", "wpimath._init__wpimath"],
|
||||
)
|
||||
|
||||
gen_pkgconf(
|
||||
@@ -101,7 +101,7 @@ def romi_extension(srcs = [], header_to_dat_deps = [], extra_hdrs = [], includes
|
||||
"//wpilibc:wpilib_pybind_library",
|
||||
"//wpilibc:wpilibc",
|
||||
"//wpimath:wpimath",
|
||||
"//wpimath:wpimath_geometry_pybind_library",
|
||||
"//wpimath:wpimath_pybind_library",
|
||||
],
|
||||
dynamic_deps = [
|
||||
"//romiVendordep:shared/romiVendordep",
|
||||
|
||||
@@ -23,7 +23,7 @@ packages = ["src/native"]
|
||||
[[tool.hatch.build.hooks.robotpy.maven_lib_download]]
|
||||
artifact_id = "romiVendordep-cpp"
|
||||
group_id = "org.wpilib.romiVendordep"
|
||||
repo_url = "https://frcmaven.wpi.edu/artifactory/release-2027"
|
||||
repo_url = ""
|
||||
version = "0.0.0"
|
||||
|
||||
extract_to = "src/native/romi"
|
||||
|
||||
@@ -45,7 +45,7 @@ update_init = ["romi"]
|
||||
name = "romi"
|
||||
wraps = ["robotpy-native-romi"]
|
||||
depends = [
|
||||
"wpilib", "wpimath_geometry"
|
||||
"wpilib", "wpimath"
|
||||
]
|
||||
|
||||
[tool.semiwrap.extension_modules."romi._romi".headers]
|
||||
|
||||
Reference in New Issue
Block a user