mirror of
https://github.com/amd/blis.git
synced 2026-05-13 10:35:38 +00:00
Add dependency on the "flat" blis.h file for the BLIS and BLAS testsuite objects.
This fixes a bug where "make -j<N> check" may fail after a change to one or more header files, or where testsuite code doesn't get properly recompiled after internal changes.
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,6 +1,6 @@
|
||||
#
|
||||
#
|
||||
# BLIS
|
||||
# BLIS
|
||||
# An object-based framework for developing high-performance BLAS-like
|
||||
# libraries.
|
||||
#
|
||||
@@ -36,7 +36,7 @@
|
||||
# Makefile
|
||||
#
|
||||
# Field G. Van Zee
|
||||
#
|
||||
#
|
||||
# Top-level makefile for libflame linear algebra library.
|
||||
#
|
||||
#
|
||||
@@ -688,7 +688,7 @@ endif
|
||||
|
||||
# --- BLAS test suite rules ---
|
||||
|
||||
testblas: blastest-run
|
||||
testblas: blastest-run
|
||||
|
||||
blastest-f2c: check-env $(BLASTEST_F2C_LIB)
|
||||
|
||||
@@ -697,7 +697,7 @@ blastest-bin: check-env blastest-f2c $(BLASTEST_DRV_BIN_PATHS)
|
||||
blastest-run: $(BLASTEST_DRV_BINS_R)
|
||||
|
||||
# f2c object file rule.
|
||||
$(BASE_OBJ_BLASTEST_PATH)/%.o: $(BLASTEST_F2C_SRC_PATH)/%.c
|
||||
$(BASE_OBJ_BLASTEST_PATH)/%.o: $(BLASTEST_F2C_SRC_PATH)/%.c $(BLIS_H_FLAT)
|
||||
ifeq ($(ENABLE_VERBOSE),yes)
|
||||
$(CC) $(call get-user-cflags-for,$(CONFIG_NAME)) $(BLAT_CFLAGS) -c $< -o $@
|
||||
else
|
||||
@@ -706,7 +706,7 @@ else
|
||||
endif
|
||||
|
||||
# driver object file rule.
|
||||
$(BASE_OBJ_BLASTEST_PATH)/%.o: $(BLASTEST_DRV_SRC_PATH)/%.c
|
||||
$(BASE_OBJ_BLASTEST_PATH)/%.o: $(BLASTEST_DRV_SRC_PATH)/%.c $(BLIS_H_FLAT)
|
||||
ifeq ($(ENABLE_VERBOSE),yes)
|
||||
$(CC) $(call get-user-cflags-for,$(CONFIG_NAME)) $(BLAT_CFLAGS) -c $< -o $@
|
||||
else
|
||||
@@ -793,7 +793,7 @@ testsuite: testsuite-run
|
||||
testsuite-bin: check-env $(TESTSUITE_BIN)
|
||||
|
||||
# Object file rule.
|
||||
$(BASE_OBJ_TESTSUITE_PATH)/%.o: $(TESTSUITE_SRC_PATH)/%.c
|
||||
$(BASE_OBJ_TESTSUITE_PATH)/%.o: $(TESTSUITE_SRC_PATH)/%.c $(BLIS_H_FLAT)
|
||||
ifeq ($(ENABLE_VERBOSE),yes)
|
||||
$(CC) $(call get-user-cflags-for,$(CONFIG_NAME)) -c $< -o $@
|
||||
else
|
||||
@@ -1243,7 +1243,7 @@ endif
|
||||
|
||||
changelog:
|
||||
@echo "Updating '$(DIST_PATH)/$(CHANGELOG)' via '$(GIT_LOG)'"
|
||||
@$(GIT_LOG) > $(DIST_PATH)/$(CHANGELOG)
|
||||
@$(GIT_LOG) > $(DIST_PATH)/$(CHANGELOG)
|
||||
|
||||
|
||||
# --- Uninstall rules ---
|
||||
|
||||
Reference in New Issue
Block a user