chore: deprecated go-waku

This commit is contained in:
darshankabariya 2025-12-23 01:46:21 +05:30
parent 0f47d57aa8
commit 79f94a234a
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22
2 changed files with 15 additions and 8 deletions

View File

@ -32,6 +32,9 @@ jobs:
make libwaku -j
cd ../..
- name: Verify paths
run: make -C waku print-paths
- name: Verify libwaku artifacts
run: make -C waku check-folders
@ -42,9 +45,7 @@ jobs:
go mod vendor
- name: Build waku bindings
run: |
echo "Building waku bindings from $(pwd)/waku"
make -C waku build
run: make -C waku build
- name: Increase ulimit
run: sudo sh -c "ulimit -n 8192"

View File

@ -1,11 +1,17 @@
# Makefile for Waku Go Bindings
# Path to logos-messaging-nim (nwaku) submodule
LMN_DIR ?= $(shell pwd)/../vendor/logos-messaging-nim
export LMN_DIR ?= $(shell pwd)/../vendor/logos-messaging-nim
# Debugging output
print-paths:
@echo "LMN_DIR: $(LMN_DIR)"
@echo "HEADER_PATH: $(LIBWAKU_HEADER_PATH)"
@echo "LIB_PATH: $(LIBWAKU_LIB_PATH)"
# Default paths for libwaku library and headers (can be overridden)
LIBWAKU_HEADER_PATH ?= $(LMN_DIR)/library
LIBWAKU_LIB_PATH ?= $(LMN_DIR)/build
export LIBWAKU_HEADER_PATH ?= $(LMN_DIR)/library
export LIBWAKU_LIB_PATH ?= $(LMN_DIR)/build
export CGO_CFLAGS := -I$(LIBWAKU_HEADER_PATH)/
export CGO_LDFLAGS := -L$(LIBWAKU_LIB_PATH)/ -lwaku -Wl,-rpath,$(LIBWAKU_LIB_PATH)/
@ -46,7 +52,7 @@ check-folders:
build:
@echo "Building Waku Go Bindings (manual)..."
go build .
go build -o waku-bindings .
test: build
@echo "Running tests (manual)..."
@ -59,4 +65,4 @@ test: build
# Clean up generated files
clean:
@echo "Cleaning up..."
@rm -f waku-go-bindings
@rm -f waku-bindings