From 0e78274cb9ea5cb6aa7134a167cbf77a8f682780 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Fri, 23 Feb 2024 10:00:38 +0900 Subject: [PATCH 1/4] link stdc++ on only x64 cpu --- bls/link.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bls/link.go b/bls/link.go index 0e61664..251cb7a 100644 --- a/bls/link.go +++ b/bls/link.go @@ -4,19 +4,19 @@ package bls /* -#cgo LDFLAGS:-lbls384_256 -lstdc++ -lm +#cgo LDFLAGS:-lbls384_256 -lm #cgo android,arm64 LDFLAGS:-L${SRCDIR}/lib/android/arm64-v8a #cgo android,arm LDFLAGS:-L${SRCDIR}/lib/android/armeabi-v7a -#cgo android,amd64 LDFLAGS:-L${SRCDIR}/lib/android/x86_64 -#cgo linux,amd64 LDFLAGS:-L${SRCDIR}/lib/linux/amd64 +#cgo android,amd64 LDFLAGS:-L${SRCDIR}/lib/android/x86_64 -lstdc++ +#cgo linux,amd64 LDFLAGS:-L${SRCDIR}/lib/linux/amd64 -lstdc++ #cgo linux,arm64 LDFLAGS:-L${SRCDIR}/lib/linux/arm64 #cgo linux,mipsle LDFLAGS:-L${SRCDIR}/lib/linux/mipsel #cgo linux,arm LDFLAGS:-L${SRCDIR}/lib/linux/arm #cgo linux,s390x LDFLAGS:-L${SRCDIR}/lib/linux/s390x -#cgo darwin,amd64 LDFLAGS:-L${SRCDIR}/lib/darwin/amd64 +#cgo darwin,amd64 LDFLAGS:-L${SRCDIR}/lib/darwin/amd64 -lstdc++ #cgo darwin,arm64 LDFLAGS:-L${SRCDIR}/lib/darwin/arm64 -#cgo windows,amd64 LDFLAGS:-L${SRCDIR}/lib/windows/amd64 -#cgo openbsd,amd64 LDFLAGS:-L${SRCDIR}/lib/openbsd/amd64 -#cgo freebsd,amd64 LDFLAGS:-L${SRCDIR}/lib/freebsd/amd64 +#cgo windows,amd64 LDFLAGS:-L${SRCDIR}/lib/windows/amd64 -lstdc++ +#cgo openbsd,amd64 LDFLAGS:-L${SRCDIR}/lib/openbsd/amd64 -lstdc++ +#cgo freebsd,amd64 LDFLAGS:-L${SRCDIR}/lib/freebsd/amd64 -lstdc++ */ import "C" From 199ac875c24386730b92e6d477a541c4fb65862b Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Fri, 15 Mar 2024 10:21:23 +0900 Subject: [PATCH 2/4] enable MCL_STATIC_CODE=1 --- ETH.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/ETH.cfg b/ETH.cfg index ab1a3c2..7a28fb8 100644 --- a/ETH.cfg +++ b/ETH.cfg @@ -1 +1,2 @@ ETH_CFLAGS=-DBLS_ETH +MCL_STATIC_CODE=1 From d613dec050c7c6c728dcbe49c91d73cb6adfef34 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Fri, 15 Mar 2024 10:22:48 +0900 Subject: [PATCH 3/4] update bls --- src/bls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bls b/src/bls index ecf8c32..2ca46c6 160000 --- a/src/bls +++ b/src/bls @@ -1 +1 @@ -Subproject commit ecf8c32b58290443b585a097dd644c4ab8ccd2c1 +Subproject commit 2ca46c6e0718526a3f40d9c5b58e09f9a68aff3f From 565523687fea8e24fb184472bb1c7488f497c7fa Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Fri, 22 Mar 2024 15:36:17 +0900 Subject: [PATCH 4/4] bls 1.88 --- src/bls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bls b/src/bls index 2ca46c6..74cae71 160000 --- a/src/bls +++ b/src/bls @@ -1 +1 @@ -Subproject commit 2ca46c6e0718526a3f40d9c5b58e09f9a68aff3f +Subproject commit 74cae7144f49e931740e3396ce0147f4e249246e