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

ruby-changes:72901

From: Nobuyoshi <ko1@a...>
Date: Thu, 11 Aug 2022 19:05:50 +0900 (JST)
Subject: [ruby-changes:72901] 32d1ce96e0 (master): Fix race conditions when cleaning extensions

https://git.ruby-lang.org/ruby.git/commit/?id=32d1ce96e0

From 32d1ce96e09773e809d575c17b916012d88d6ffc Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 11 Aug 2022 17:42:56 +0900
Subject: Fix race conditions when cleaning extensions

Clean built directories by `make distclean`, and then clean leftover
makefiles for skipped extensions.
---
 template/Makefile.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/template/Makefile.in b/template/Makefile.in
index 09d69c8d9c..7968619f9a 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -536,6 +536,10 @@ ext/realclean:: ext/realclean.sub https://github.com/ruby/ruby/blob/trunk/template/Makefile.in#L536
 .bundle/distclean:: .bundle/distclean.sub
 .bundle/realclean:: .bundle/realclean.sub
 
+ext/clean.sub .bundle/clean.sub:: ext/clean.mk
+ext/distclean.sub .bundle/distclean.sub:: ext/distclean.mk
+ext/realclean.sub .bundle/realclean.sub:: ext/realclean.mk
+
 ext/clean.sub ext/distclean.sub ext/realclean.sub \
 .bundle/clean.sub .bundle/distclean.sub .bundle/realclean.sub::
 	$(Q) set dummy `echo "${EXTS}" | tr , ' '`; shift; \
-- 
cgit v1.2.1


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

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