Skip to content
Snippets Groups Projects
Commit 7d718dd7 authored by Andreas Rauschert's avatar Andreas Rauschert
Browse files

Merge branch 'fix_bazel_standalone_build' into 'main'

fix: broken bazel standalone build after removing submodules

See merge request !170
parents 82e2c1c3 462deabf
No related branches found
No related tags found
No related merge requests found
.cache .cache
.clwb
.pytest_cache .pytest_cache
build build
bin bin
......
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
ECLIPSE_GITLAB = "https://gitlab.eclipse.org/eclipse"
MANTLE_API_TAG = "v0.0.3"
UNITS_TAG = "2.3.3"
YASE_TAG = "v0.0.1"
def osc_engine_deps(): def osc_engine_deps():
"""Load dependencies""" """Load dependencies"""
native.local_repository( maybe(
http_archive,
name = "mantle_api", name = "mantle_api",
path = "deps/scenario_api/", url = ECLIPSE_GITLAB + "/openpass/mantle-api/-/archive/{tag}/mantle-api-{tag}.tar.gz".format(tag = MANTLE_API_TAG),
sha256 = "b16b3f2d83d085260c9dd33c2436cfaa7b67037a037d4b8997b9ff87ab56fac9",
strip_prefix = "mantle-api-{tag}".format(tag = MANTLE_API_TAG),
) )
native.new_local_repository( maybe(
http_archive,
name = "units_nhh", name = "units_nhh",
path = "deps/units/", url = "https://github.com/nholthaus/units/archive/refs/tags/v{tag}.tar.gz".format(tag = UNITS_TAG),
sha256 = "b1f3c1dd11afa2710a179563845ce79f13ebf0c8c090d6aa68465b18bd8bd5fc",
strip_prefix = "./units-{tag}".format(tag= UNITS_TAG),
build_file = "//bazel:units.BUILD", build_file = "//bazel:units.BUILD",
) )
native.local_repository( maybe(
http_archive,
name = "yase", name = "yase",
path = "deps/yase", url = ECLIPSE_GITLAB + "/openpass/yase/-/archive/{tag}/yase-{tag}.tar.gz".format(tag = YASE_TAG),
sha256 = "243d710172dff4c4e7ab95e5bd68a6d8335cf8a3fdd1efa87d118250e3b85ee3",
strip_prefix = "yase-{tag}".format(tag = YASE_TAG),
) )
http_archive( http_archive(
......
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