diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | ffi/go/bls/mcl.go | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -143,6 +143,11 @@ test_go: $(MAKE) test_go384 $(MAKE) test_go384_256 +test_go_swapg: + $(MAKE) test_go256_swapg + $(MAKE) test_go384_swapg + $(MAKE) test_go384_256_swapg + EMCC_OPT=-I./include -I./src -I../mcl/include -I./ -Wall -Wextra EMCC_OPT+=-O3 -DNDEBUG EMCC_OPT+=-s WASM=1 -s NO_EXIT_RUNTIME=1 -s MODULARIZE=1 #-s ASSERTIONS=1 diff --git a/ffi/go/bls/mcl.go b/ffi/go/bls/mcl.go index 776536f..df9fc96 100644 --- a/ffi/go/bls/mcl.go +++ b/ffi/go/bls/mcl.go @@ -5,6 +5,7 @@ package bls #cgo bn384 CFLAGS:-DMCLBN_FP_UNIT_SIZE=6 #cgo bn384_256 CFLAGS:-DMCLBN_FP_UNIT_SIZE=6 -DMCLBN_FR_UNIT_SIZE=4 #include <mcl/bn.h> + */ import "C" import "fmt" |