1
Fork 0

use rustc -Vv in the run-make test

This commit is contained in:
Jorge Aparicio 2018-09-16 21:29:57 +02:00
parent 5362752a1e
commit 7d2bb283ce

View file

@ -7,14 +7,14 @@ all:
else
# check that the .stack_sizes section is generated
# this test requires LLVM >= 6.0.0
vers = $(shell llvm-ar -version)
ifneq (,$(findstring version 3,$(vers)))
vers = $(shell $(RUSTC) -Vv)
ifneq (,$(findstring LLVM version: 3,$(vers)))
all:
exit 0
else ifneq (,$(findstring version 4,$(vers)))
else ifneq (,$(findstring LLVM version: 4,$(vers)))
all:
exit 0
else ifneq (,$(findstring version 5,$(vers)))
else ifneq (,$(findstring LLVM version: 5,$(vers)))
all:
exit 0
else