@@ -8,18 +8,39 @@ To use iceoryx2 as an external dependency, ensure the following setup is present
8
8
in your ` WORKSPACE ` file:
9
9
10
10
``` bazel
11
- ICEORYX2_VERSION = " branch-tag-or-commit-hash"
11
+ # Load iceoryx2 rules
12
+ ICEORYX2_VERSION = " 0248ea57d0c405383ab099e14293ed8be2d23dac"
12
13
13
14
http_archive(
14
15
name = " iceoryx2" ,
15
- sha256 = " add-the-correct-sha256-sum " ,
16
+ sha256 = " 8844b229d2ba23597dfe17df7a3baabd086a62944534aa804d482a6e46bdf5b8 " ,
16
17
strip_prefix = " iceoryx2-{} " .format(ICEORYX2_VERSION ),
17
18
urls = [
18
19
" https://github.com/eclipse-iceoryx/iceoryx2/archive/{} .tar.gz" .format(ICEORYX2_VERSION ),
19
20
],
20
21
)
21
22
22
23
24
+ # Load iceoryx rules
25
+ ICEORYX_VERSION = " 2.95.3"
26
+
27
+ maybe(
28
+ name = " iceoryx" ,
29
+ repo_rule = http_archive,
30
+ sha256 = " 14b854906b58a48140a5d074167d5f3a5af2d578574940501a330954af79b9d4" ,
31
+ strip_prefix = " iceoryx-{} " .format(ICEORYX_VERSION ),
32
+ url = " https://github.com/eclipse-iceoryx/iceoryx/archive/v{} .tar.gz" .format(ICEORYX_VERSION ),
33
+ )
34
+
35
+ load(" @iceoryx//bazel:load_repositories.bzl" , " load_repositories" )
36
+
37
+ load_repositories()
38
+
39
+ load(" @iceoryx//bazel:setup_repositories.bzl" , " setup_repositories" )
40
+
41
+ setup_repositories()
42
+
43
+
23
44
# Load Rust rules
24
45
# Use v0.26 to support bazel v6.2
25
46
maybe(
@@ -107,6 +128,25 @@ maybe(
107
128
load(" @crate_index//:defs.bzl" , " crate_repositories" )
108
129
109
130
crate_repositories()
131
+
132
+
133
+ # Load skylib rules
134
+ BAZEL_SKYLIB_VERSION = " 1.7.1"
135
+
136
+ # Load skylib for custom build config
137
+ maybe(
138
+ name = " bazel_skylib" ,
139
+ repo_rule = http_archive,
140
+ sha256 = " bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f" ,
141
+ urls = [
142
+ " https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/{version} /bazel-skylib-{version} .tar.gz" .format(version = BAZEL_SKYLIB_VERSION ),
143
+ " https://github.com/bazelbuild/bazel-skylib/releases/download/{version} /bazel-skylib-{version} .tar.gz" .format(version = BAZEL_SKYLIB_VERSION ),
144
+ ],
145
+ )
146
+
147
+ load(" @bazel_skylib//:workspace.bzl" , " bazel_skylib_workspace" )
148
+
149
+ bazel_skylib_workspace()
110
150
```
111
151
112
152
### Syncing Dependencies
0 commit comments