Merge pull request #2511 from martin-frbg/fixppctest

Prevent attempts to run ctest or test when fortran is not available
This commit is contained in:
Martin Kroeker 2020-03-13 23:04:01 +01:00 committed by GitHub
commit 4cfd8a3f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -40,8 +40,11 @@ ztestl3o = c_zblas3.o c_z3chke.o auxiliary.o c_xerbla.o constant.o
ztestl3o_3m = c_zblas3_3m.o c_z3chke_3m.o auxiliary.o c_xerbla.o constant.o ztestl3o_3m = c_zblas3_3m.o c_z3chke_3m.o auxiliary.o c_xerbla.o constant.o
ifeq ($(NOFORTRAN),1)
all ::
else
all :: all1 all2 all3 all :: all1 all2 all3
endif
all1: xscblat1 xdcblat1 xccblat1 xzcblat1 all1: xscblat1 xdcblat1 xccblat1 xzcblat1
ifndef CROSS ifndef CROSS

View File

@ -1,7 +1,12 @@
TOPDIR = .. TOPDIR = ..
include ../Makefile.system include ../Makefile.system
ifeq ($(NOFORTRAN),1)
all ::
else
all :: level1 level2 level3 all :: level1 level2 level3
endif
level1 : sblat1 dblat1 cblat1 zblat1 level1 : sblat1 dblat1 cblat1 zblat1
ifndef CROSS ifndef CROSS