nandi/jolt-nativepublic Fork 0
5a37b4b044d0c02bb0e22fdb43377b5700f17800
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Build under buck2, with the toolchain pinned rather than found 460541b · on 5a37b4b044d0c02bb0e22fdb43377b5700f17800 · nandi · 19d ago
BUCK · 22 lines · 604 BPython Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Both shared objects, in one directory, under the names jolt's `:jolt/native`
# looks for. `just build` copies this directory's contents where a consumer
# points LD_LIBRARY_PATH.
genrule(
    name = "libvidya",
    out = "libvidya.so",
    cmd = "cp $(location //crates/jolt-vidya:vidya-ffi[shared]) $OUT",
    visibility = ["PUBLIC"],
)

genrule(
    name = "libjoltmoq",
    out = "libjoltmoq.so",
    cmd = "cp $(location //crates/jolt-moq:jolt-moq[shared]) $OUT",
    visibility = ["PUBLIC"],
)

filegroup(
    name = "libs",
    srcs = [":libjoltmoq", ":libvidya"],
    visibility = ["PUBLIC"],
)