bls icon indicating copy to clipboard operation
bls copied to clipboard

Build error

Open b00f opened this issue 3 years ago • 3 comments

The minimized_static target in Makefile has error. I tried to build like: MIN_WITH_XBYAK=1 make minimized_static; but I got another error. Any idea how to fix it?

You can check the log here: https://github.com/zarbchain/zarb-go/runs/7745122863?check_suite_focus=true#step:5:233

Actual command is like this:

HERUMI= $(shell pwd)/.herumi
git clone --recursive https://github.com/herumi/bls.git $(HERUMI)/bls && cd $(HERUMI)/bls && make minimized_static;

b00f avatar Aug 09 '22 13:08 b00f

Thank you for the report. I'll fix it. By the way, what environments do you want to use minimized_static?

herumi avatar Aug 10 '22 03:08 herumi

If you need a static library including libmcl.a, then

make -f Makefile.onelib

generates it.

herumi avatar Aug 10 '22 05:08 herumi

By the way, what environments do you want to use minimized_static?

Inside docker (Alpine-Linux)

b00f avatar Aug 10 '22 09:08 b00f

I've fixed it at v1.28, but as I wrote at https://github.com/herumi/bls/issues/89#issuecomment-1210179994 , make -f Makefile.onelib is better.

herumi avatar Aug 19 '22 01:08 herumi

@herumi thanks for the fix.

b00f avatar Aug 19 '22 02:08 b00f