Skip to content

Commit

Permalink
set MSM in MCL_MSM=1
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Sep 2, 2024
1 parent a4d04a4 commit b01f925
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,13 @@ src/bint32.ll: src/gen_bint.exe
endif
ifeq ($(ARCH),x86_64)
ifneq ($(UNAME_S),Darwin)
MSM=msm_avx
MCL_MSM?=1
endif
endif
ifeq ($(MCL_MSM),1)
ifeq ($(ARCH),x86_64)
MSM=msm_avx
endif
CFLAGS+=-DMCL_MSM=1
LIB_OBJ+=$(OBJ_DIR)/$(MSM).o
$(OBJ_DIR)/$(MSM).o: src/$(MSM).cpp src/$(MSM)_bls12_381.h src/avx512.hpp
Expand Down

0 comments on commit b01f925

Please sign in to comment.