supercop.ts

cross-compiled javascript implementation of ed25519 based on supercop-ref10
git clone git://git.finwo.net/lib/supercop.ts
Log | Files | Refs | README | LICENSE

commit ec180a6760ab27e49a1bc96441952ba71951b93f
parent 9c2e568a1c2015abb67a63bd0fd3ce9c18edebcd
Author: finwo <finwo@pm.me>
Date:   Sat, 14 Mar 2026 22:10:32 +0100

Update dep packaging; remove unneeded overrides

Diffstat:
A.dep | 2++
MMakefile | 14+++++++-------
Dpackage.ini | 7-------
3 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/.dep b/.dep @@ -0,0 +1,2 @@ +finwo/matter https://git.finwo.net/lib/matter.c/archives/heads/main.tar.gz +orlp/ed25519 https://git.finwo.net/misc/dep-repository/archives/heads/pkg/orlp/ed25519.tar.gz diff --git a/Makefile b/Makefile @@ -1,16 +1,16 @@ ARCH=wasm32 TARGET=${ARCH} -CC=$(shell command -v clang clang-10 clang-8; true) -LC=$(shell command -v llc llc-10 llc-8; true) -LD=$(shell command -v wasm-ld wasm-ld-10; true) +CC:=$(shell command -v clang clang-10 clang-8; true) +LC:=$(shell command -v llc llc-10 llc-8; true) +LD:=$(shell command -v wasm-ld wasm-ld-10; true) LIBS:= SRC:= SRC+=src/supercop.c -override CFLAGS?=-Wall -O2 -D__WORDSIZE=32 -override LDFLAGS?= +CFLAGS?=-Wall -O2 -D__WORDSIZE=32 +LDFLAGS?= INCLUDES:= INCLUDES+=-I src @@ -21,7 +21,7 @@ SRC:=$(filter-out lib/orlp/ed25519/src/seed.c, $(SRC)) OBJ:=$(SRC:.c=.o) LLO:=$(SRC:.c=.ll) -override CFLAGS+=$(INCLUDES) +CFLAGS+=$(INCLUDES) default: src/supercop.wasm.ts @@ -41,7 +41,7 @@ clean: -o $(@:.o=.ll) \ $(@:.o=.c) || exit 1 $(LC) \ - -march=${arch} \ + -march=${ARCH} \ -filetype=obj \ -O3 \ -o $@ \ diff --git a/package.ini b/package.ini @@ -1,7 +0,0 @@ -[dependencies] -finwo/matter=edge -orlp/ed25519=master - -[package] -deps=lib -name=finwo/supercop.ts