rake-compiler-dock 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8defac75bbfdcb50e87c34ae26c04eeac94d56144481a01ea096cffe70f33ac
4
- data.tar.gz: 5fe13b2f51bea09bb8ed3f02c170ccf2984aa6fcd74bed05b74643d658a0d615
3
+ metadata.gz: 5a59f63867c312521f69bb31aae8cc5d64b1386b4e0265697f2d94a8119cdb65
4
+ data.tar.gz: 6b5820fec1db079e704bc03e9e2cee3e8c7304e877c98f1bd187a3205aa6a232
5
5
  SHA512:
6
- metadata.gz: 94bb24cf349bc6099fc6dd07ffe860588a782ef0408af57c59001a4100a5be568489e7d8610a840949590086289a474c123be34da1193633c7ba6aaff733c2fb
7
- data.tar.gz: 2123aa6ccb22c06ee123e58eb34e306a0f8e5b69e57fd6124b1bfe7cdd42a5f2a83a0b7c6ce63015e7c02f706f011bd46a1b0e56b823d86997a702fa7ab57525
6
+ metadata.gz: fcc064e935c6abac109883672ec3b0d087f27bc5dbe1b32ad52b467d2388c1a7dc40f97f496dd10442b98a92ac10533b493ab0763f84c2180e17f8b0cfc3e42e
7
+ data.tar.gz: e4739c09899d1f5fbaa4ebd1eb1fd5f81be132dacb64217901890937561eeb50fac4161e7133b9c90ec569766b86e2dca81fa1dfe42a307ec7e0e0a894a03f5c
data/Dockerfile.mri.erb CHANGED
@@ -74,30 +74,30 @@ ENV BASH_ENV=/etc/rubybashrc
74
74
  ##
75
75
  USER rubyuser
76
76
 
77
- ENV RBENV_RUBIES="2.5.9 3.1.6"
77
+ ENV RBENV_RUBIES="2.5.9 3.1.6 3.4.1"
78
78
 
79
79
  # Install the bootstrap rubies
80
80
  RUN bash -c " \
81
- echo 'gem: --no-ri --no-rdoc --no-document' >> ~/.gemrc && \
82
- export CFLAGS='-s -O3 -fno-fast-math -fPIC' && \
83
- for v in ${RBENV_RUBIES} ; do \
84
- rbenv install \$v -- --disable-install-doc ; \
85
- done && \
86
- find ${RBENV_ROOT} -type d -print0 | sudo xargs -0 chmod g+w \
87
- "
81
+ echo 'gem: --no-ri --no-rdoc --no-document' >> ~/.gemrc && \
82
+ export CFLAGS='-s -O3 -fno-fast-math -fPIC' && \
83
+ for v in ${RBENV_RUBIES} ; do \
84
+ rbenv install \$v -- --disable-install-doc ; \
85
+ done && \
86
+ find ${RBENV_ROOT} -type d -print0 | sudo xargs -0 chmod g+w \
87
+ "
88
88
 
89
89
  # Install rake-compiler and patch it to build and install static libraries for Linux rubies
90
90
  COPY build/patches /home/rubyuser/patches
91
91
  RUN bash -c " \
92
- for v in ${RBENV_RUBIES} ; do \
93
- rbenv shell \$v && \
94
- gem install rake-compiler -v1.2.9 && \
95
- cd ${RBENV_ROOT}/versions/\$v/lib/ruby/gems/*/gems/rake-compiler-1.2.9 && \
96
- for patch in /home/rubyuser/patches/rake-compiler-1.2.9/*.patch ; do \
97
- patch -p1 < \$patch ; \
98
- done \
99
- done \
100
- "
92
+ for v in ${RBENV_RUBIES} ; do \
93
+ rbenv shell \$v && \
94
+ gem install rake-compiler -v1.2.9 && \
95
+ cd ${RBENV_ROOT}/versions/\$v/lib/ruby/gems/*/gems/rake-compiler-1.2.9 && \
96
+ for patch in /home/rubyuser/patches/rake-compiler-1.2.9/*.patch ; do \
97
+ patch -p1 < \$patch ; \
98
+ done \
99
+ done \
100
+ "
101
101
 
102
102
  # Install rake-compiler's cross rubies in global dir instead of /root
103
103
  RUN sudo mkdir -p /usr/local/rake-compiler && \
@@ -115,7 +115,7 @@ RUN sudo mkdir -p /usr/local/rake-compiler && \
115
115
  xrubies_build_plan = if platform =~ /x64-mingw-ucrt/
116
116
  [
117
117
  # Rubyinstaller-3.1+ is platform x64-mingw-ucrt
118
- ["3.4.1:3.3.5:3.2.6:3.1.6", "3.1.6"],
118
+ ["3.4.1:3.3.7:3.2.6:3.1.6", "3.4.1"],
119
119
  ]
120
120
  elsif platform =~ /x64-mingw32/
121
121
  [
@@ -126,7 +126,8 @@ elsif platform =~ /x64-mingw32/
126
126
  else
127
127
  [
128
128
  ["2.6.10:2.5.9:2.4.10", "2.5.9"],
129
- ["3.4.1:3.3.5:3.2.6:3.1.6:3.0.7:2.7.8", "3.1.6"],
129
+ ["2.7.8", "3.1.6"],
130
+ ["3.4.1:3.3.7:3.2.6:3.1.6:3.0.7", "3.4.1"],
130
131
  ]
131
132
  end
132
133
 
@@ -134,16 +135,16 @@ strip = '-s' if platform !~ /darwin/
134
135
 
135
136
  xrubies_build_plan.each do |xrubies, bootstrap_ruby_version| %>
136
137
  RUN bash -c " \
137
- rbenv shell <%= bootstrap_ruby_version %> && \
138
- export CPPFLAGS='<%= "-D__USE_MINGW_ANSI_STDIO=1" if platform =~ /x64-mingw-ucrt/ %>' && \
139
- export CFLAGS='-O1 -fno-omit-frame-pointer -fno-fast-math -fstack-protector-strong <%= strip %>' && \
140
- export LDFLAGS='-pipe <%= strip %>' && \
141
- <%= "export LIBS='-l:libssp.a' &&" if platform =~ /mingw/ %> \
142
- <%= "export CC=#{target}-clang &&" if platform =~ /darwin/ %> \
143
- export MAKE='make V=1' && \
144
- rake-compiler cross-ruby VERSION=<%= xrubies %> HOST=<%= target %> && \
145
- rm -rf ~/.rake-compiler/builds ~/.rake-compiler/sources \
146
- "
138
+ rbenv shell <%= bootstrap_ruby_version %> && \
139
+ export CPPFLAGS='<%= "-D__USE_MINGW_ANSI_STDIO=1" if platform =~ /x64-mingw-ucrt/ %>' && \
140
+ export CFLAGS='-O1 -fno-omit-frame-pointer -fno-fast-math -fstack-protector-strong <%= strip %>' && \
141
+ export LDFLAGS='-pipe <%= strip %>' && \
142
+ <%= "export LIBS='-l:libssp.a' &&" if platform =~ /mingw/ %> \
143
+ <%= "export CC=#{target}-clang &&" if platform =~ /darwin/ %> \
144
+ export MAKE='make V=1' && \
145
+ rake-compiler cross-ruby VERSION=<%= xrubies %> HOST=<%= target %> && \
146
+ rm -rf ~/.rake-compiler/builds ~/.rake-compiler/sources \
147
+ "
147
148
  <% end %>
148
149
  # "
149
150
 
@@ -223,8 +224,8 @@ RUN echo 'source /etc/profile.d/rcd-env.sh' >> /etc/rubybashrc
223
224
  # Install sudoers configuration
224
225
  COPY build/sudoers /etc/sudoers.d/rake-compiler-dock
225
226
 
226
- RUN bash -c "rbenv global 3.1.6"
227
+ RUN bash -c "rbenv global 3.4.1"
227
228
 
228
- ENV RUBY_CC_VERSION=3.4.1:3.3.5:3.2.6:3.1.6:3.0.7:2.7.8:2.6.10:2.5.9:2.4.10
229
+ ENV RUBY_CC_VERSION=3.4.1:3.3.7:3.2.6:3.1.6:3.0.7:2.7.8:2.6.10:2.5.9:2.4.10
229
230
 
230
231
  CMD bash
data/History.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # `rake-compiler/rake-compiler-dock` Changelog
2
2
 
3
+ ## v1.9.0 / 2025-01-19
4
+
5
+ ### Changes
6
+
7
+ - Bump Ruby 3.3 to v3.3.7 (from v3.3.5). #147 @flavorjones
8
+ - The default `rbenv` ruby in the container is now Ruby v3.4.1 (previously the default was 3.1.6), which allows gems to drop Ruby 3.1 from their gemspecs. Fixes #145. #146 @flavorjones
9
+ - Ruby 3.4.x, 3.3.x, 3.2.x, 3.1.x, and 3.0.x are cross-compiled using Ruby v3.4.1. #146 @flavorjones
10
+
11
+ ### CRuby container summary
12
+
13
+ - native rubies: 3.4.1 (default), 3.1.6, 2.5.9
14
+ - `RUBY_CC_VERSION=3.4.1:3.3.7:3.2.6:3.1.6:3.0.7:2.7.8:2.6.10:2.5.9:2.4.10`
15
+
16
+
3
17
  ## v1.8.0 / 2025-01-05
4
18
 
5
19
  ### Notable changes
@@ -13,6 +27,11 @@ All versions of Ruby in the build containers are the latest patch version. #135
13
27
  - (Darwin) Set `OSXCROSS_PKG_CONFIG_USE_NATIVE_VARIABLES=1` to successfully build the 3.0 series.
14
28
  - (Darwin) The linker flags include `-Wl,-flat_namespace` for 2.7, 3.0, 3.1, 3.2, 3.3, and 3.4 rubies. Previously this was only needed for 3.2+, but code backported to 2.7.7, 3.0.5, and 3.1.3 required it for those versions as well.
15
29
 
30
+ ### CRuby container summary
31
+
32
+ - native rubies: 3.1.6 (default), 2.5.9
33
+ - `RUBY_CC_VERSION=3.4.1:3.3.5:3.2.6:3.1.6:3.0.7:2.7.8:2.6.10:2.5.9:2.4.10`
34
+
16
35
 
17
36
  ## v1.7.1 / 2025-01-03
18
37
 
@@ -1,4 +1,4 @@
1
1
  module RakeCompilerDock
2
- VERSION = "1.8.0"
3
- IMAGE_VERSION = "1.8.0"
2
+ VERSION = "1.9.0"
3
+ IMAGE_VERSION = "1.9.0"
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-compiler-dock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Kanis
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-06 00:00:00.000000000 Z
10
+ date: 2025-01-19 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bundler