mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 06:53:12 +00:00
fix(Makefile): error out if rln-keystore-generator not compiled with rln flag (#1960)
* fix(Makefile): error out if rln-keystore-generator not compiled with rln flag * fix(Makefile): make rln default to true for target
This commit is contained in:
parent
03a311348a
commit
f5c1cc95b5
13
Makefile
13
Makefile
@ -123,7 +123,7 @@ endif
|
|||||||
|
|
||||||
### RLN
|
### RLN
|
||||||
|
|
||||||
LIBRLN_BUILDDIR := $(CURDIR)/vendor/zerokit
|
LIBRLN_BUILDDIR := $(CURDIR)/vendor/zerokit/target/release
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
LIBRLN_FILE := rln.lib
|
LIBRLN_FILE := rln.lib
|
||||||
@ -135,11 +135,14 @@ $(LIBRLN_BUILDDIR)/$(LIBRLN_FILE):
|
|||||||
echo -e $(BUILD_MSG) "$@" && \
|
echo -e $(BUILD_MSG) "$@" && \
|
||||||
./scripts/build_rln.sh $(LIBRLN_BUILDDIR)
|
./scripts/build_rln.sh $(LIBRLN_BUILDDIR)
|
||||||
|
|
||||||
|
librln-experimental:
|
||||||
|
EXPERIMENTAL_PARAMS += -d:rln --passL:$(LIBRLN_FILE) --passL:-lm
|
||||||
|
librln: $(LIBRLN_BUILDDIR)/$(LIBRLN_FILE)
|
||||||
|
|
||||||
ifneq ($(RLN), true)
|
ifneq ($(RLN), true)
|
||||||
librln: ; # noop
|
librln: ; # noop
|
||||||
else
|
else
|
||||||
EXPERIMENTAL_PARAMS += -d:rln --passL:$(LIBRLN_FILE) --passL:-lm
|
librln: | librln-experimental
|
||||||
librln: $(LIBRLN_BUILDDIR)/$(LIBRLN_FILE)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean-librln:
|
clean-librln:
|
||||||
@ -184,9 +187,9 @@ chat2: | build deps librln
|
|||||||
echo -e $(BUILD_MSG) "build/$@" && \
|
echo -e $(BUILD_MSG) "build/$@" && \
|
||||||
$(ENV_SCRIPT) nim chat2 $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims
|
$(ENV_SCRIPT) nim chat2 $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims
|
||||||
|
|
||||||
rln-keystore-generator: | build deps librln
|
rln-keystore-generator: | build deps librln-experimental
|
||||||
echo -e $(BUILD_MSG) "build/$@" && \
|
echo -e $(BUILD_MSG) "build/$@" && \
|
||||||
$(ENV_SCRIPT) nim rln_keystore_generator $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims
|
$(ENV_SCRIPT) nim rln_keystore_generator $(NIM_PARAMS) $(EXPERIMENTAL_PARAMS) waku.nims
|
||||||
|
|
||||||
chat2bridge: | build deps
|
chat2bridge: | build deps
|
||||||
echo -e $(BUILD_MSG) "build/$@" && \
|
echo -e $(BUILD_MSG) "build/$@" && \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user