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

ruby-changes:72910

From: Nobuyoshi <ko1@a...>
Date: Fri, 12 Aug 2022 15:56:00 +0900 (JST)
Subject: [ruby-changes:72910] 04815ea968 (master): All extensions in bundled gems are built by build-ext now

https://git.ruby-lang.org/ruby.git/commit/?id=04815ea968

From 04815ea968ebef616cfdb316840158f6c87a7277 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 12 Aug 2022 13:38:21 +0900
Subject: All extensions in bundled gems are built by build-ext now

`RbInstall::GemInstaller#build_extensions` has nothing to do.
---
 tool/rbinstall.rb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index ba0d911fc2..e6fff940ee 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -904,11 +904,8 @@ module RbInstall https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L904
       RbInstall.no_write(options) {super}
     end
 
-    if RbConfig::CONFIG["LIBRUBY_RELATIVE"] == "yes" || RbConfig::CONFIG["CROSS_COMPILING"] == "yes" || ENV["DESTDIR"]
-      # TODO: always build extensions in bundled gems by build-ext and
-      # install the built binaries.
-      def build_extensions
-      end
+    # Now build-ext builds all extensions including bundled gems.
+    def build_extensions
     end
 
     def generate_bin_script(filename, bindir)
-- 
cgit v1.2.1


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

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