Skip to content

Commit

Permalink
fix(bench): Add libblas to compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxc committed Mar 15, 2024
1 parent 980db03 commit 190784f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bench/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ MAIN = $(COMMON)/crypto_$(OPERATION).c
DEFINE ?=
DNAMESPACES = -DJADE_NAMESPACE=$(NAMESPACE1) -DJADE_NAMESPACE_LC=$(NAMESPACE)
INCLUDES = -I$(IDIR)/include/ -I$(COMMON)/ -I$(RANDINC)
COMPILE = $(CC) $(CFLAGS) -o $@ $(DEFINE) $(DNAMESPACES) $(INCLUDES) $(MAIN) $(ASM) $(RANDLIB) -lgsl $(CIL)
COMPILE = $(CC) $(CFLAGS) -o $@ $(DEFINE) $(DNAMESPACES) $(INCLUDES) $(MAIN) $(ASM) $(RANDLIB) -lblas -lgsl $(CIL)

# --------------------------------------------------------------------
.PHONY: __phony benchs
Expand Down
4 changes: 2 additions & 2 deletions bench/Makefile.partial_implementations
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
EXTERNAL_PATH = $(subst $(BIN),external,$(@D))
EXTERNAL_LIB_STATIC = ../test/$(EXTERNAL_PATH)/$(subst -,_,$(subst /,_,$(EXTERNAL_PATH))).a
EXTERNAL_LIB_SHARED = $(abspath ../test/$(EXTERNAL_PATH)/$(subst -,_,$(subst /,_,$(EXTERNAL_PATH))).so)
EXTERNAL_COMPILE1 = $(CC) $(CFLAGS) -o $@ $(DEFINE) $(DNAMESPACES) $(INCLUDES) $(MAIN) $(PRINT) $(ASM) $(RANDLIB) $(EXTERNAL_LIB) -lgsl $(CIL)
EXTERNAL_COMPILE2 = $(CC) $(CFLAGS) -o $@ $(DEFINE) $(DNAMESPACES) $(INCLUDES) $(MAIN) $(PRINT) $(ASM) $(RANDLIB) -lgsl $(EXTERNAL_LIB_SHARED)
EXTERNAL_COMPILE1 = $(CC) $(CFLAGS) -o $@ $(DEFINE) $(DNAMESPACES) $(INCLUDES) $(MAIN) $(PRINT) $(ASM) $(RANDLIB) $(EXTERNAL_LIB) -lblas -lgsl $(CIL)
EXTERNAL_COMPILE2 = $(CC) $(CFLAGS) -o $@ $(DEFINE) $(DNAMESPACES) $(INCLUDES) $(MAIN) $(PRINT) $(ASM) $(RANDLIB) -lblas -lgsl $(EXTERNAL_LIB_SHARED)


#-- falcon512
Expand Down

0 comments on commit 190784f

Please sign in to comment.