Skip to content

Commit 928e3e4

Browse files
committed
mk: actually run valgrind on x86_64-apple-darwin
1 parent f963eb2 commit 928e3e4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

mk/platform.mk

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,18 @@ define DEF_GOOD_VALGRIND
6464
ifeq ($(OSTYPE_$(1)),unknown-linux-gnu)
6565
GOOD_VALGRIND_$(1) = 1
6666
endif
67-
ifneq (,$(filter $(OSTYPE_$(1)),darwin freebsd))
68-
ifeq (HOST_$(1),x86_64)
67+
ifneq (,$(filter $(OSTYPE_$(1)),apple-darwin freebsd))
68+
ifeq ($(HOST_$(1)),x86_64)
6969
GOOD_VALGRIND_$(1) = 1
7070
endif
7171
endif
72+
ifdef GOOD_VALGRIND_$(t)
73+
$$(info cfg: have good valgrind for $(t))
74+
else
75+
$$(info cfg: no good valgrind for $(t))
76+
endif
7277
endef
7378
$(foreach t,$(CFG_TARGET),$(eval $(call DEF_GOOD_VALGRIND,$(t))))
74-
$(foreach t,$(CFG_TARGET),$(info cfg: good valgrind for $(t) is $(GOOD_VALGRIND_$(t))))
7579

7680
ifneq ($(findstring linux,$(CFG_OSTYPE)),)
7781
ifdef CFG_PERF

0 commit comments

Comments
 (0)