Adapt to having only a subset of variable types supported

This commit is contained in:
Martin Kroeker 2020-10-11 14:40:51 +02:00 committed by GitHub
parent cf53970bcb
commit 9df12eb08f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,20 @@ ZBLASOBJS += zpotrf_U_parallel.$(SUFFIX) zpotrf_L_parallel.$(SUFFIX)
XBLASOBJS += xpotrf_U_parallel.$(SUFFIX) xpotrf_L_parallel.$(SUFFIX)
endif
ifeq "$(or $(BUILD_SINGLE),$(BUILD_DOUBLE))" ""
SBLASOBJS=
endif
ifneq ($(BUILD_DOUBLE),1)
DBLASOBJS=
endif
ifeq "$(or $(BUILD_COMPLEX),$(BUILD_COMPLEX16))" ""
CBLASOBJS=
endif
ifneq ($(BUILD_COMPLEX16),1)
ZBLASOBJS=
endif
spotrf_U_single.$(SUFFIX) : potrf_U_single.c
$(CC) -c $(CFLAGS) -UCOMPLEX -UDOUBLE $< -o $(@F)