mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 01:54:13 +08:00
mdbx: refine makefile ci-target.
Change-Id: I48fce22ca32e45edbc519750cca50d361283f53d
This commit is contained in:
parent
0e90ea1d8d
commit
2c0f99f940
3
Makefile
3
Makefile
@ -200,7 +200,8 @@ endif
|
||||
|
||||
ci-rule = @( CC=$$(which $1); if [ -n "$$CC" ]; then \
|
||||
CC=$$(readlink -f $$CC); echo -n "probe by $2 ($$CC): " && \
|
||||
$(MAKE) clean >$1.log 2>&1 && $(MAKE) all check 1>$1.log 2>&1 && echo "Ok" || echo " Failed, see $1.log"; \
|
||||
$(MAKE) clean >$1.log 2>$1.err && $(MAKE) all check 1>$1.log 2>$1.err && echo "OK" \
|
||||
|| ( echo "FAILED"; cat $1.err >&2; exit 1 ); \
|
||||
else echo "no $2 ($1) for probe"; fi; )
|
||||
ci:
|
||||
$(call ci-rule,cc,default C compiler)
|
||||
|
Loading…
x
Reference in New Issue
Block a user