[前][次][番号順一覧][スレッド一覧]

ruby-changes:72333

From: Nobuyoshi <ko1@a...>
Date: Mon, 27 Jun 2022 17:38:41 +0900 (JST)
Subject: [ruby-changes:72333] 6ba52647c3 (master): mac: Remove debug option fro MJIT_DEBUGFLAGS

https://git.ruby-lang.org/ruby.git/commit/?id=6ba52647c3

From 6ba52647c3d2b3a0060e0b0edc95f46c77a11944 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 27 Jun 2022 17:30:47 +0900
Subject: mac: Remove debug option fro MJIT_DEBUGFLAGS

Not to generate .dSYM directories by MJIT runs, which are left in
large numbers after each test.
---
 defs/gmake.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/defs/gmake.mk b/defs/gmake.mk
index 929238af7b..f7260d0b47 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -11,7 +11,10 @@ override ACTIONS_GROUP = @echo "\#\#[group]$(patsubst yes-%,%,$@)" https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L11
 override ACTIONS_ENDGROUP = @echo "\#\#[endgroup]"
 endif
 
-ifneq ($(filter %darwin%,$(arch)),)
+ifneq ($(filter darwin%,$(target_os)),)
+# Remove debug option not to generate thousands of .dSYM
+MJIT_DEBUGFLAGS := $(filter-out -g%,$(MJIT_DEBUGFLAGS))
+
 INSTRUBY_ENV += SDKROOT=/
 endif
 INSTRUBY_ARGS += --gnumake
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]