1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
Description: fix testing
diff --git a/test/Makefile b/test/Makefile
index da026e0..d9de904 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -37,7 +37,7 @@ INC_PATH := $(INCLUDE_DIR)/$(HOST)/
# Uncomment and modify these definitions if you wish to override the values
# present in the master config makefile fragment.
# CC := gcc
-# LINKER := $(CC)
+ LINKER := $(CC)
# CFLAGS := -g -O2 -Wall -Wno-comment
# LDFLAGS :=
# INSTALL_PREFIX := $(HOME)/flame
@@ -52,14 +52,14 @@ INC_PATH := $(INCLUDE_DIR)/$(HOST)/
# the libflame test suite. Modify these definitions if needed.
LIBBLAS_PATH := $(INSTALL_LIBDIR)
#LIBBLAS := $(LIBBLAS_PATH)/libblas.a
-LIBBLAS := $(LIBBLAS_PATH)/libopenblas.a
+LIBBLAS := -lblas
#LIBBLAS := $(HOME)/blis/lib/libblis.a
# LAPACK implementation path. These values only matter if libflame was
# configured with the external-lapack-interfaces option enabled. Modify
# these definitions if needed.
LIBLAPACK_PATH := $(INSTALL_LIBDIR)
-LIBLAPACK := $(LIBLAPACK_PATH)/liblapack.a
+LIBLAPACK := -llapack
@@ -90,7 +90,7 @@ $(TEST_OBJ_PATH)/%.o: $(TEST_SRC_PATH)/%.c
$(CC) $(CFLAGS) -c $< -o $@
test_$(FNAME): $(TEST_OBJS)
- $(LINKER) $(TEST_OBJS) $(LIBFLAME) $(LIBLAPACK) $(LIBBLAS) $(LDFLAGS) -o $(TEST_BIN)
+ $(LINKER) $(TEST_OBJS) $(LIBFLAME) $(LIBLAPACK) $(LIBBLAS) $(LDFLAGS) -o $(TEST_BIN) -lm -pthread
clean:
$(RM_F) $(TEST_OBJS) $(TEST_BIN)
|