Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unqualified ifndef's for NO_LAPACK(E) #3972

Merged
merged 1 commit into from
Mar 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile.install
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ endif
endif

ifneq ($(OSNAME), AIX)
ifndef NO_LAPACKE
ifneq ($(NO_LAPACKE), 1)
@echo Copying LAPACKE header files to $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)
@-install -m644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapack.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapack.h"
@-install -m644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke.h"
Expand Down Expand Up @@ -127,7 +127,7 @@ endif

else
#install on AIX has different options syntax
ifndef NO_LAPACKE
ifneq ($(NO_LAPACKE), 1)
@echo Copying LAPACKE header files to $(DESTDIR)$(OPENBLAS_INCLUDE_DIR)
@-installbsd -c -m 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapack.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapack.h"
@-installbsd -c -m 644 $(NETLIB_LAPACK_DIR)/LAPACKE/include/lapacke.h "$(DESTDIR)$(OPENBLAS_INCLUDE_DIR)/lapacke.h"
Expand Down
2 changes: 1 addition & 1 deletion driver/level2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ CBLASOBJS += \
ctrsv_RUU.$(SUFFIX) ctrsv_RUN.$(SUFFIX) ctrsv_RLU.$(SUFFIX) ctrsv_RLN.$(SUFFIX) \
ctrsv_CUU.$(SUFFIX) ctrsv_CUN.$(SUFFIX) ctrsv_CLU.$(SUFFIX) ctrsv_CLN.$(SUFFIX)

ifndef NO_LAPACK
ifneq ($(NO_LAPACK), 1)
CBLASOBJS += \
cspmv_U.$(SUFFIX) cspmv_L.$(SUFFIX) \
cspr_U.$(SUFFIX) cspr_L.$(SUFFIX) \
Expand Down
8 changes: 4 additions & 4 deletions interface/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ dsymv.$(SUFFIX) dsymv.$(PSUFFIX) : symv.c
qsymv.$(SUFFIX) qsymv.$(PSUFFIX) : symv.c
$(CC) -c $(CFLAGS) $< -o $(@F)

ifndef NO_LAPACK
ifneq ($(NO_LAPACK), 1)
csymv.$(SUFFIX) csymv.$(PSUFFIX) : zsymv.c
$(CC) -c $(CFLAGS) $< -o $(@F)

Expand All @@ -1041,7 +1041,7 @@ dsyr.$(SUFFIX) dsyr.$(PSUFFIX) : syr.c
qsyr.$(SUFFIX) qsyr.$(PSUFFIX) : syr.c
$(CC) -c $(CFLAGS) $< -o $(@F)

ifndef NO_LAPACK
ifneq ($(NO_LAPACK), 1)
csyr.$(SUFFIX) csyr.$(PSUFFIX) : zsyr.c
$(CC) -c $(CFLAGS) $< -o $(@F)

Expand Down Expand Up @@ -1115,7 +1115,7 @@ dspmv.$(SUFFIX) dspmv.$(PSUFFIX) : spmv.c
qspmv.$(SUFFIX) qspmv.$(PSUFFIX) : spmv.c
$(CC) -c $(CFLAGS) $< -o $(@F)

ifndef NO_LAPACK
ifneq ($(NO_LAPACK), 1)
cspmv.$(SUFFIX) cspmv.$(PSUFFIX) : zspmv.c
$(CC) -c $(CFLAGS) $< -o $(@F)

Expand All @@ -1135,7 +1135,7 @@ dspr.$(SUFFIX) dspr.$(PSUFFIX) : spr.c
qspr.$(SUFFIX) qspr.$(PSUFFIX) : spr.c
$(CC) -c $(CFLAGS) $< -o $(@F)

ifndef NO_LAPACK
ifneq ($(NO_LAPACK), 1)
cspr.$(SUFFIX) cspr.$(PSUFFIX) : zspr.c
$(CC) -c $(CFLAGS) $< -o $(@F)

Expand Down