Skip to content

Commit c436e8a

Browse files
authored
Do not attempt to run ctest without fortran
The main Makefile takes care of this in the build process, but users or CI jobs may try to run this directly
1 parent 9c22170 commit c436e8a

1 file changed

Lines changed: 4 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

0 commit comments

Comments
 (0)