aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2019-06-05 20:20:21 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2019-06-05 20:20:21 +0800
commit5acb601b2ddc828a35753986c64b88a803a27407 (patch)
tree84d7c4b0fef16bc105eb7349d9ac1bea597c2ef5
parent213e69bb87a6fe1de36706a8e1be72d1655bc517 (diff)
downloadtangerine-bls-5acb601b2ddc828a35753986c64b88a803a27407.tar.gz
tangerine-bls-5acb601b2ddc828a35753986c64b88a803a27407.tar.zst
tangerine-bls-5acb601b2ddc828a35753986c64b88a803a27407.zip
add test_go_swapg to Makefile
-rw-r--r--Makefile5
-rw-r--r--ffi/go/bls/mcl.go1
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6df05f7..45be351 100644
--- a/Makefile
+++ b/Makefile
@@ -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"