mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-25 08:13:14 +00:00
chore(submodule): update zerokit submodule to v0.5.1 (#2782)
This commit is contained in:
parent
2db7f2a385
commit
e70881d85a
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -143,7 +143,7 @@
|
||||
path = vendor/zerokit
|
||||
url = https://github.com/vacp2p/zerokit.git
|
||||
ignore = dirty
|
||||
branch = v0.3.4
|
||||
branch = v0.5.1
|
||||
[submodule "vendor/nim-regex"]
|
||||
path = vendor/nim-regex
|
||||
url = https://github.com/nitely/nim-regex.git
|
||||
|
||||
6
Makefile
6
Makefile
@ -136,10 +136,10 @@ clean: | clean-libbacktrace
|
||||
##################
|
||||
## RLN ##
|
||||
##################
|
||||
.PHONY: librln shouldUseRLNV2
|
||||
.PHONY: librln
|
||||
|
||||
LIBRLN_BUILDDIR := $(CURDIR)/vendor/zerokit
|
||||
LIBRLN_VERSION := v0.4.4
|
||||
LIBRLN_VERSION := v0.5.1
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
LIBRLN_FILE := rln.lib
|
||||
@ -311,7 +311,7 @@ endif
|
||||
|
||||
rebuild-nat-libs: | clean-cross nat-libs
|
||||
|
||||
libwaku-android-precheck: shouldUseRLNV2
|
||||
libwaku-android-precheck:
|
||||
ifndef ANDROID_NDK_HOME
|
||||
$(error ANDROID_NDK_HOME is not set)
|
||||
endif
|
||||
|
||||
@ -19,9 +19,9 @@ host_triplet=$(rustc --version --verbose | awk '/host:/{print $2}')
|
||||
|
||||
tarball="${host_triplet}"
|
||||
|
||||
# use arkzkey feature for v0.4.4
|
||||
# use arkzkey feature for v0.5.1
|
||||
# TODO: update this script in the future when arkzkey is default
|
||||
if [[ "${rln_version}" == "v0.4.4" ]]; then
|
||||
if [[ "${rln_version}" == "v0.5.1" ]]; then
|
||||
tarball+="-arkzkey-rln.tar.gz"
|
||||
else
|
||||
tarball+="-rln.tar.gz"
|
||||
@ -52,6 +52,6 @@ else
|
||||
exit 1
|
||||
fi
|
||||
# if submodule version = version in Makefile, build rln
|
||||
cargo build --release -p rln --manifest-path "${build_dir}/rln/Cargo.toml"
|
||||
cargo build --release -p rln --manifest-path "${build_dir}/rln/Cargo.toml" --features arkzkey
|
||||
cp "${build_dir}/target/release/librln.a" "${output_filename}"
|
||||
fi
|
||||
|
||||
2
vendor/zerokit
vendored
2
vendor/zerokit
vendored
@ -1 +1 @@
|
||||
Subproject commit 0ad1ed296d49e85598e0ec0bae7c220885e47912
|
||||
Subproject commit 85d71a5427ee78528d6420c04b67c7825e3c6e91
|
||||
Loading…
x
Reference in New Issue
Block a user