Files
chains/Makefile
T
zeekay ea6e37dc24 feat: VM plugin monorepo — 14 independent binaries
Each VM builds as a standalone binary that the Lux node loads via
--plugin-dir. Node no longer bakes optional VMs in-process.

VMs: evm, dexvm, aivm, bridgevm, graphvm, identityvm, keyvm,
oraclevm, quantumvm, relayvm, servicenodevm, teleportvm,
thresholdvm, zkvm.

All 13 node-dependent VMs compile and report version correctly.
EVM requires CGo (luxcpp) — builds in CI only.
2026-04-12 13:05:45 -07:00

15 lines
322 B
Makefile

VMS := $(shell ls -d */ 2>/dev/null | sed 's|/||' | grep -v '.github\|build\|node_modules')
.PHONY: all test clean $(VMS)
all: $(VMS)
$(VMS):
cd $@ && go build -trimpath -ldflags="-s -w" -o ../build/$@ .
test:
@for vm in $(VMS); do echo "=== $$vm ==="; cd $$vm && go test ./... && cd ..; done
clean:
rm -rf build/