Adapt to having only a subset of variable types supported
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 11 Oct 2020 12:45:40 +0000 (14:45 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Oct 2020 12:45:40 +0000 (14:45 +0200)
lapack/getrf/Makefile

index a559dfb..976ca3c 100644 (file)
@@ -17,6 +17,19 @@ ZBLASOBJS += zgetrf_parallel.$(SUFFIX)
 XBLASOBJS += xgetrf_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
+
 ifeq ($(USE_OPENMP), 1)
 GETRF_SRC = getrf_parallel_omp.c
 else