Skip to content

Commit

Permalink
feat: add byte track [email protected] (#3440)
Browse files Browse the repository at this point in the history
- as title

---------

Signed-off-by: wep21 <[email protected]>
  • Loading branch information
wep21 authored Dec 18, 2024
1 parent bde96c5 commit 2bc37ab
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/byte_track_eigen/2.1.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module(
name = "byte_track_eigen",
version = "2.1.0",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 1,
)

bazel_dep(name = "eigen", version = "3.4.0.bcr.1")
bazel_dep(name = "rules_cc", version = "0.1.0")
12 changes: 12 additions & 0 deletions modules/byte_track_eigen/2.1.0/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "byte_track_eigen",
srcs = glob(["src/**/*.cpp"]),
hdrs = glob(["include/**/*.h"]),
includes = ["include"],
visibility = ["//visibility:public"],
deps = [
"@eigen",
],
)
1 change: 1 addition & 0 deletions modules/byte_track_eigen/2.1.0/overlay/MODULE.bazel
26 changes: 26 additions & 0 deletions modules/byte_track_eigen/2.1.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- ubuntu2404
bazel: [7.x, 8.x, rolling]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@byte_track_eigen//:byte_track_eigen'
verify_windows_targets:
name: Verify build targets
platform: windows
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=/std:c++17'
- '--host_cxxopt=/std:c++17'
build_targets:
- '@byte_track_eigen//:byte_track_eigen'
10 changes: 10 additions & 0 deletions modules/byte_track_eigen/2.1.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-JSe5BbrKb8JoWmsZpXKE4jfS7dG4TOC+9uI5FUJjOBQ=",
"strip_prefix": "byte-track-eigen-2.1.0",
"url": "https://github.com/cj-mills/byte-track-eigen/archive/refs/tags/2.1.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-pN1Q2V1mytFKJmHcZ8cSTp9lAvFVHl39y/zaF8HAU/g=",
"BUILD.bazel": "sha256-EO76VzxLTF5ccR9D9AFAVFpB5CyPBhRU32Jr5RjYO84="
}
}
17 changes: 17 additions & 0 deletions modules/byte_track_eigen/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/cj-mills/byte-track-eigen",
"maintainers": [
{
"email": "[email protected]",
"github": "wep21",
"name": "Daisuke Nishimatsu"
}
],
"repository": [
"github:cj-mills/byte-track-eigen"
],
"versions": [
"2.1.0"
],
"yanked_versions": {}
}

0 comments on commit 2bc37ab

Please sign in to comment.