Skip to content
Snippets Groups Projects
Commit e35ceaee authored by Xiao Pan's avatar Xiao Pan
Browse files

chore: Replace submodules with releases and update MantleAPI to v2.0.0

parent ae4a882e
No related branches found
No related tags found
No related merge requests found
[submodule "ThirdParty/mantle_api"]
path = ThirdParty/mantle_api
url = https://gitlab.eclipse.org/eclipse/openpass/mantle-api.git
branch = master
[submodule "ThirdParty/map_sdk"]
path = ThirdParty/map_sdk
url = https://gitlab.eclipse.org/eclipse/openpass/map-sdk.git
......@@ -40,7 +40,7 @@
### mantle_api (MantleAPI)
- License: [Eclipse Public License 2.0](https://gitlab.eclipse.org/eclipse/simopenpass/scenario_api/-/blob/master/LICENSE.txt)
- Repository: https://gitlab.eclipse.org/eclipse/simopenpass/scenario_api
- Commit: see https://gitlab.eclipse.org/eclipse/openpass/mantle-api/-/tags/v0.0.2
- Commit: see https://gitlab.eclipse.org/eclipse/openpass/mantle-api/-/tags/v2.0.0
### map_sdk
- License: [Eclipse Public License 2.0](https://gitlab.eclipse.org/eclipse/openpass/map-sdk/-/blob/main/LICENSE.txt)
......
......@@ -4,7 +4,8 @@ load("@//ThirdParty/units:units.bzl", "units_nhh")
load("@//ThirdParty/eigen:eigen.bzl", "eigen")
load("@//ThirdParty/rtree:rtree.bzl", "rtree")
load("@//ThirdParty/bazel_clang_tidy:bazel_clang_tidy.bzl", "bazel_clang_tidy")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@//ThirdParty/mantle_api:mantle_api.bzl", "mantle_api")
load("@//ThirdParty/map_sdk:map_sdk.bzl", "map_sdk")
def third_party_deps():
"""
......@@ -16,16 +17,5 @@ def third_party_deps():
eigen()
rtree()
bazel_clang_tidy()
def submodules_dependencies():
maybe(
native.local_repository,
name = "mantle_api",
path = "ThirdParty/mantle_api",
)
maybe(
native.local_repository,
name = "map_sdk",
path = "ThirdParty/map_sdk",
)
mantle_api()
map_sdk()
Subproject commit ac55217f3fc104a0b11aeb2baf45b59c9c04ed7e
alias(
name = "mantle_api",
actual = "@mantle_api",
visibility = ["@//:__subpackages__"],
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
_TAG = "v2.0.0"
def mantle_api():
maybe(
http_archive,
name = "mantle_api",
url = "https://gitlab.eclipse.org/eclipse/openpass/mantle-api/-/archive/{tag}/mantle-api-{tag}.tar.gz".format(tag = _TAG),
sha256 = "4b3da5d1d9f00e96745f9f307c5d179d00e57df996b388f20119429d8ad2a46c",
strip_prefix = "mantle-api-{tag}".format(tag = _TAG),
type = "tar.gz",
)
Subproject commit a2f93d5b98e7b2f4caf054ba80155ffa34f41605
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
_TAG = "v0.0.3"
def map_sdk():
maybe(
http_archive,
name = "map_sdk",
url = "https://gitlab.eclipse.org/eclipse/openpass/map-sdk/-/archive/{tag}/map-sdk-{tag}.tar.gz".format(tag = _TAG),
sha256 = "cef65cac9f8e246b0123b3c1ff955e8dc76586a44d197d56d0aa53f0a074dfbf",
strip_prefix = "map-sdk-{tag}".format(tag = _TAG),
type = "tar.gz",
)
......@@ -45,8 +45,6 @@ load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_
hedron_compile_commands_setup()
load("//ThirdParty:dependencies.bzl", "submodules_dependencies", "third_party_deps")
load("//ThirdParty:dependencies.bzl", "third_party_deps")
third_party_deps()
submodules_dependencies()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment