Skip to content

Commit 4cfd8a3

Browse files
authored
Merge pull request #2511 from martin-frbg/fixppctest
Prevent attempts to run ctest or test when fortran is not available
2 parents 4e1c4e6 + 2d8781b commit 4cfd8a3

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

ctest/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ ztestl3o = c_zblas3.o c_z3chke.o auxiliary.o c_xerbla.o constant.o
4040
ztestl3o_3m = c_zblas3_3m.o c_z3chke_3m.o auxiliary.o c_xerbla.o constant.o
4141

4242

43-
43+
ifeq ($(NOFORTRAN),1)
44+
all ::
45+
else
4446
all :: all1 all2 all3
47+
endif
4548

4649
all1: xscblat1 xdcblat1 xccblat1 xzcblat1
4750
ifndef CROSS

test/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
TOPDIR = ..
22
include ../Makefile.system
33

4+
5+
ifeq ($(NOFORTRAN),1)
6+
all ::
7+
else
48
all :: level1 level2 level3
9+
endif
510

611
level1 : sblat1 dblat1 cblat1 zblat1
712
ifndef CROSS

0 commit comments

Comments
 (0)