rake-compiler 1.1.0 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +522 -0
- data/lib/rake/extensioncompiler.rb +1 -1
- data/lib/rake/extensiontask.rb +46 -20
- data/lib/rake/javaextensiontask.rb +3 -3
- data/tasks/bin/cross-ruby.rake +79 -110
- metadata +5 -6
- data/History.txt +0 -461
data/History.txt
DELETED
@@ -1,461 +0,0 @@
|
|
1
|
-
=== 1.1.0 / 2012-12-25
|
2
|
-
|
3
|
-
* Bugfixes:
|
4
|
-
* Fix a bug that JavaExtenstionTask can't build anything.
|
5
|
-
#163 [Reported by Kai Kuchenbecker]
|
6
|
-
|
7
|
-
=== 1.0.9 / 2012-12-23
|
8
|
-
|
9
|
-
* Changes:
|
10
|
-
* Use "-Xlint" option for JRuby native extension by default.
|
11
|
-
#158 [Patch by Stephen George]
|
12
|
-
|
13
|
-
* Enhancements:
|
14
|
-
* Make customizable compiler Xlint option for JRuby native extension.
|
15
|
-
#118 [Patch by Hiroshi Hatake]
|
16
|
-
* Add support for Ruby 2.7.
|
17
|
-
#161 [Reported by Masaki Hara]
|
18
|
-
|
19
|
-
=== 1.0.8 / 2019-09-21
|
20
|
-
|
21
|
-
* Enhancements:
|
22
|
-
* Added Rake::JavaExtensionTask#encoding= to pass the -encoding option to
|
23
|
-
javac.
|
24
|
-
#157 [Patch by Tiago Dias]
|
25
|
-
|
26
|
-
* Bugfixes:
|
27
|
-
* Drop EOL'd rubyforge_project directive from .gemspec.
|
28
|
-
#155 [Patch by Olle Jonsson]
|
29
|
-
|
30
|
-
=== 1.0.7 / 2019-01-04
|
31
|
-
|
32
|
-
* Bugfixes:
|
33
|
-
* Fix a bug that JRuby class path detection is failed on
|
34
|
-
cross-compilation.
|
35
|
-
#149 #151 [Reported by Chalupa Petr][Patch by Prashant Vithani]
|
36
|
-
|
37
|
-
=== 1.0.6 / 2018-12-23
|
38
|
-
|
39
|
-
* Enhancements:
|
40
|
-
* Stop to make unreleased Ruby installable.
|
41
|
-
#150 [Reported by MSP-Greg]
|
42
|
-
|
43
|
-
=== 1.0.5 / 2018-08-31
|
44
|
-
|
45
|
-
* Enhancements:
|
46
|
-
* Improve JRuby class pass detection.
|
47
|
-
#147 [Patch by Prashant Vithani]
|
48
|
-
* Update the default source and target versions to Java 6.
|
49
|
-
#148 [Patch by Prashant Vithani]
|
50
|
-
|
51
|
-
=== 1.0.4 / 2017-05-27
|
52
|
-
|
53
|
-
* Enhancements:
|
54
|
-
* Migrate to RSpec 3 from RSpec 2.
|
55
|
-
* Add more tests.
|
56
|
-
#140 [Patch by Lars Kanis]
|
57
|
-
* Support C++ source files by default.
|
58
|
-
#141 [Patch by Takashi Kokubun]
|
59
|
-
* Suppress warnings.
|
60
|
-
#142 [Patch by Akira Matsuda]
|
61
|
-
|
62
|
-
=== 1.0.3 / 2016-12-02
|
63
|
-
|
64
|
-
* Enhancements:
|
65
|
-
* Support specifying required Ruby versions.
|
66
|
-
#137 [Patch by Lars Kanis]
|
67
|
-
|
68
|
-
=== 1.0.2 / 2016-11-13
|
69
|
-
|
70
|
-
* Bugfixes:
|
71
|
-
* Fix Ruby version detection example code in README.
|
72
|
-
#135 [Patch by Nicolas Noble]
|
73
|
-
* Fix version detection.
|
74
|
-
#136 [Patch by Lars Kanis]
|
75
|
-
|
76
|
-
=== 1.0.1 / 2016-06-21
|
77
|
-
|
78
|
-
* Bugfixes:
|
79
|
-
* Add missing dependency.
|
80
|
-
|
81
|
-
=== 1.0.0 / 2016-06-21
|
82
|
-
|
83
|
-
* Enhancements:
|
84
|
-
* Really support extension in sub directory.
|
85
|
-
|
86
|
-
=== 0.9.9 / 2016-05-10
|
87
|
-
|
88
|
-
* Bugfixes:
|
89
|
-
* Support Symbol as extension name again.
|
90
|
-
#134 [Patch by Takashi Kokubun]
|
91
|
-
|
92
|
-
=== 0.9.8 / 2016-04-29
|
93
|
-
|
94
|
-
* Enhancements:
|
95
|
-
* Support extension in sub directory.
|
96
|
-
#128, #129 [Patch by Kenta Murata]
|
97
|
-
|
98
|
-
=== 0.9.7 / 2016-03-16
|
99
|
-
|
100
|
-
* Bugfixes:
|
101
|
-
* May fix "make" detection on Windows.
|
102
|
-
#123 [Reported by Aaron Stone]
|
103
|
-
|
104
|
-
=== 0.9.6 / 2016-03-04
|
105
|
-
|
106
|
-
* Enhancements:
|
107
|
-
* Add more descriptions into README.
|
108
|
-
Closes #105 [Patch by Aaron Stone]
|
109
|
-
* Remove needless executable bits.
|
110
|
-
Closes #107 [Patch by Thibault Jouan]
|
111
|
-
* Update .gitignore.
|
112
|
-
Closes #108 [Patch by Thibault Jouan]
|
113
|
-
* Improve "make" detection on some platforms such as FreeBSD.
|
114
|
-
Closes #109 [Patch by Thibault Jouan]
|
115
|
-
* Enable cucumber steps for POSIX on *BSD.
|
116
|
-
Closes #110 [Patch by Thibault Jouan]
|
117
|
-
* Stop to build bundled extensions.
|
118
|
-
* Add description about CLI option into README.
|
119
|
-
Closes #115 [Patch by Richard Michael]
|
120
|
-
* Update description about using rake-compiler on virtual machine in
|
121
|
-
README.
|
122
|
-
Closes #116, #117 [Patch by Lars Kanis]
|
123
|
-
* Update fake mechanism to be compatible with Bundler.
|
124
|
-
Closes #121 [Patch by Lars Kanis]
|
125
|
-
|
126
|
-
* Bugfixes:
|
127
|
-
* Fix typos in README.
|
128
|
-
Closes #102, #103 [Patch by Robert Fletcher]
|
129
|
-
|
130
|
-
=== 0.9.5 / 2015-01-03
|
131
|
-
|
132
|
-
* Enhancements:
|
133
|
-
* Support adding bundled files in cross_compiling block.
|
134
|
-
Closes #100 [Patch by Aaron Stone]
|
135
|
-
|
136
|
-
=== 0.9.4 / 2014-12-28
|
137
|
-
|
138
|
-
* Notes:
|
139
|
-
* Change maintainer to Kouhei Sutou from Luis Lavena.
|
140
|
-
Thanks Luis Lavena for your great works!
|
141
|
-
* Change repository to https://github.com/rake-compiler/rake-compiler
|
142
|
-
from https://github.com/luislavena/rake-compiler .
|
143
|
-
|
144
|
-
* Bugfixes:
|
145
|
-
* Loose RubyGems dependency a little bit to ease old Debian/Ubuntu.
|
146
|
-
Closes #93
|
147
|
-
|
148
|
-
=== 0.9.3 / 2014-08-03
|
149
|
-
|
150
|
-
* Bugfixes:
|
151
|
-
* Fix specs to run (and pass) on Ruby 2.1 and beyond.
|
152
|
-
Pull #94 [hggh]
|
153
|
-
|
154
|
-
=== 0.9.2 / 2013-11-14
|
155
|
-
|
156
|
-
* Bugfixes:
|
157
|
-
* Pre-load resolver to avoid Bundler blow up during cross-compilation
|
158
|
-
Pull #83 [larskanis]
|
159
|
-
|
160
|
-
=== 0.9.1 / 2013-08-03
|
161
|
-
|
162
|
-
* Bugfixes:
|
163
|
-
* Restore compatibility with RubyGems platforms for cross-compilation
|
164
|
-
(i386-mingw32 and x86-mingw32 are the same and supported)
|
165
|
-
|
166
|
-
=== 0.9.0 / 2013-08-03
|
167
|
-
|
168
|
-
* Enhancements:
|
169
|
-
* Add support for cross-builds and multiple platforms (x86/x64).
|
170
|
-
Pull #74 [larskanis]
|
171
|
-
|
172
|
-
$ rake-compiler cross-ruby VERSION=1.8.7-p371
|
173
|
-
$ rake-compiler cross-ruby VERSION=1.9.3-p392
|
174
|
-
$ rake-compiler cross-ruby VERSION=2.0.0-p0
|
175
|
-
$ rake-compiler cross-ruby VERSION=2.0.0-p0 HOST=x86_64-w64-mingw32
|
176
|
-
$ rake cross compile RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0
|
177
|
-
|
178
|
-
# Rakefile
|
179
|
-
ext.cross_platform = %w[i386-mingw32 x64-mingw32]
|
180
|
-
|
181
|
-
* Support for cross-platform specific options. Pull #74 [larskanis]
|
182
|
-
|
183
|
-
# Rakefile
|
184
|
-
ext.cross_config_options << "--with-common-option"
|
185
|
-
ext.cross_config_options << {"x64-mingw32" => "--enable-64bits"}
|
186
|
-
|
187
|
-
* Bugfixes:
|
188
|
-
* Correct fat-gems support caused by RubyGems issues. Pull #76 [knu]
|
189
|
-
|
190
|
-
* Deprecations:
|
191
|
-
* Requires minimum Ruby 1.8.7 and RubyGems 1.8.25
|
192
|
-
* Usage of 'i386-mswin32' needs to be changed to 'i386-mswin32-60'
|
193
|
-
|
194
|
-
=== 0.9.0.pre.1 / 2013-05-05
|
195
|
-
|
196
|
-
See 0.9.0 changes.
|
197
|
-
|
198
|
-
=== 0.8.3 / 2013-02-16
|
199
|
-
|
200
|
-
* Bugfixes:
|
201
|
-
* Support FreeBSD 'mingw32-gcc' cross compiler. Closes #72 [knu]
|
202
|
-
|
203
|
-
=== 0.8.2 / 2013-01-11
|
204
|
-
|
205
|
-
* Bugfixes:
|
206
|
-
* Unset CC, LDFLAGS and CPPFLAGS prior cross-compiling. Closes #55
|
207
|
-
|
208
|
-
=== 0.8.1 / 2012-04-15
|
209
|
-
|
210
|
-
* Bugfixes:
|
211
|
-
* Raise error when either make or gmake could be found. Closes #53, #54
|
212
|
-
|
213
|
-
=== 0.8.0 / 2012-01-08
|
214
|
-
|
215
|
-
* Enhancements:
|
216
|
-
* Invocation from command line now support extra options similar to RubyGems.
|
217
|
-
Closes #4 from Pull #47 [jonforums]
|
218
|
-
|
219
|
-
$ rake compile -- --with-opt-dir=/opt/local
|
220
|
-
|
221
|
-
* Bugfixes:
|
222
|
-
* Only emit cross-compilation warnings for C when `cross` is invoked.
|
223
|
-
Closes #16 from Pull #48 [mvz]
|
224
|
-
* Only emit warnings when invoking cross-compilation tasks for JRuby.
|
225
|
-
Pull #45 [jfirebaugh]
|
226
|
-
* Use x86 MinGW cross-compiler. Pull #49 [larskanis]
|
227
|
-
|
228
|
-
=== 0.7.9 / 2011-06-08
|
229
|
-
|
230
|
-
* Enhancements:
|
231
|
-
* Consistently use RubyGems features available since version 1.3.2 and avoid
|
232
|
-
deprecation warnings with Rake > 0.8.7.
|
233
|
-
|
234
|
-
* Bugfixes:
|
235
|
-
* Use correct platform in fake.rb. Pull #39 [kou]
|
236
|
-
* Workaround Gem::Specification and Gem::PackageTask limitations. Closes #43
|
237
|
-
|
238
|
-
=== 0.7.8 / 2011-04-26
|
239
|
-
|
240
|
-
* Enhancements:
|
241
|
-
* Bump default cross-ruby version to 1.8.7-p334.
|
242
|
-
* ExtensionTask now support config_includes to load additional directories.
|
243
|
-
[jfinkhaeuser]
|
244
|
-
|
245
|
-
Rake::ExtensionTask.new("myext", GEM_SPEC) do |ext|
|
246
|
-
ext.config_includes << File.expand_path("my", "custom", "dir")
|
247
|
-
end
|
248
|
-
|
249
|
-
* Bugfixes:
|
250
|
-
* Warn if compiled files exists in extension's source directory. Closes GH-35
|
251
|
-
* Workaround issue with WINE using proper build option. Closes GH-37
|
252
|
-
* Use FileUtils#install instead of cp. Closes GH-33 [Eric Wong]
|
253
|
-
* Update README instructions for OSX. Closes GH-29 [tmm1]
|
254
|
-
|
255
|
-
=== 0.7.7 / 2011-04-04
|
256
|
-
|
257
|
-
* Bugfixes:
|
258
|
-
* Use Winsock2 as default to match Ruby 1.9.2 library linking.
|
259
|
-
|
260
|
-
=== 0.7.6 / 2011-02-04
|
261
|
-
|
262
|
-
* Bugfixes:
|
263
|
-
* Prefer Psych over Syck for YAML parsing on Ruby 1.9.2. [tenderlove]
|
264
|
-
|
265
|
-
=== 0.7.5 / 2010-11-25
|
266
|
-
|
267
|
-
* Enhancements:
|
268
|
-
* Promoted stable version for cross-compilation to 1.8.6-p398. Closes GH-19
|
269
|
-
|
270
|
-
* Bugfixes:
|
271
|
-
* Generate a fake.rb compatible with Ruby 1.9.2. Closes GH-25
|
272
|
-
* fake.rb will not try to mimic Ruby's own fake to the letter. Closes GH-28
|
273
|
-
* Expand symlinks for tmp_dir. Closes GH-24
|
274
|
-
* Silence make output during rake-compiler invocation.
|
275
|
-
* Usage of Gem.ruby instead of RbConfig ruby_install_name
|
276
|
-
This solve issues with ruby vs. ruby.exe and jruby.exe
|
277
|
-
|
278
|
-
* Experimental:
|
279
|
-
* Allow setting of HOST during cross-compilation. This enable usage
|
280
|
-
of mingw-w64 compiler and not the first one found in the PATH.
|
281
|
-
|
282
|
-
rake-compiler cross-ruby VERSION=1.9.2-p0 HOST=i686-w64-mingw32
|
283
|
-
rake-compiler cross-ruby HOST=i386-mingw32 (OSX mingw32 port)
|
284
|
-
rake-compiler cross-ruby HOST=i586-pc-mingw32 (Debian/Ubuntu mingw32)
|
285
|
-
|
286
|
-
=== 0.7.1 / 2010-08-07
|
287
|
-
|
288
|
-
* Bugfixes:
|
289
|
-
* Update gem files to make "gem install -t" works. Closes GH-14
|
290
|
-
* Update mocks to work under 1.8.7. Closes GH-15 [luisparravicini]
|
291
|
-
* Do not allow cross-ruby be executed under Windows. Closes GH-22
|
292
|
-
|
293
|
-
* Experimental:
|
294
|
-
* Allow JRuby to compile C extensions [timfel].
|
295
|
-
It is now possible compile C extensions using latest JRuby. Offered
|
296
|
-
in experimental mode since JRuby cext hasn't been officially released.
|
297
|
-
|
298
|
-
=== 0.7.0 / 2009-12-08
|
299
|
-
|
300
|
-
* Enhancements
|
301
|
-
* Allow generation of JRuby extensions. Thanks to Alex Coles (myabc) for the
|
302
|
-
contribution.
|
303
|
-
This will allow, with proper JDK tools, cross compilation of JRuby gems
|
304
|
-
from MRI.
|
305
|
-
|
306
|
-
Rake::JavaExtensionTask.new('my_java_extension', GEM_SPEC) do |ext|
|
307
|
-
# most of ExtensionTask options can be used
|
308
|
-
# plus, java_compiling:
|
309
|
-
ext.java_compiling do |gem_spec|
|
310
|
-
gem_spec.post_install_message = "This is a native JRuby gem!"
|
311
|
-
end
|
312
|
-
end
|
313
|
-
|
314
|
-
Please note that cross-compiling JRuby gems requires either JRUBY_HOME or
|
315
|
-
JRUBY_PARENT_CLASSPATH environment variables being properly set.
|
316
|
-
|
317
|
-
* Allow alteration of the Gem Specification when cross compiling. Closes GH-3
|
318
|
-
This is useful to indicate a custom requirement message, like DLLs
|
319
|
-
installation or similar.
|
320
|
-
|
321
|
-
Rake::ExtensionTask.new('my_extension', GEM_SPEC) do |ext|
|
322
|
-
ext.cross_compile = true
|
323
|
-
# ...
|
324
|
-
ext.cross_compiling do |gem_spec|
|
325
|
-
gem_spec.post_install_message = "You've installed a binary version of this gem"
|
326
|
-
end
|
327
|
-
end
|
328
|
-
|
329
|
-
* Bugfixes
|
330
|
-
* Detect GNU make independently of distribution based naming.
|
331
|
-
Thanks to flori for patches.
|
332
|
-
* Usage of #dup to duplicate gemspec instead of YAML dumping.
|
333
|
-
* No longer support Ruby older than 1.8.6
|
334
|
-
* No longer support RubyGems older than 1.3.5
|
335
|
-
* Force definition of binary directory and executables. Closes GH-11
|
336
|
-
* Workaround path with spaces issues using relative paths. Closes GH-6
|
337
|
-
* Removed gemspec, GitHub gems no more
|
338
|
-
|
339
|
-
* Known issues
|
340
|
-
* Usage of rake-compiler under projects with Jeweler requires some tweaks
|
341
|
-
Please read issue GH-73 for Jeweler:
|
342
|
-
http://github.com/technicalpickles/jeweler/issues#issue/73
|
343
|
-
|
344
|
-
For a workaround, look here:
|
345
|
-
http://gist.github.com/251663
|
346
|
-
|
347
|
-
=== 0.6.0 / 2009-07-25
|
348
|
-
|
349
|
-
* Enhancements
|
350
|
-
* Implemented 'fat-binaries' generation for cross compiling
|
351
|
-
(for now). Thanks to Aaron Patterson for the suggestion and
|
352
|
-
original idea.
|
353
|
-
|
354
|
-
rake cross native gem RUBY_CC_VERSION=1.8.6:1.9.1
|
355
|
-
|
356
|
-
Will package extensions for 1.8 and 1.9 versions of Ruby.
|
357
|
-
* Can now cross compile extensions for 1.9 using 1.8.x as base.
|
358
|
-
Be warned: works from 1.8 to 1.9, but not if your default ruby is 1.9
|
359
|
-
|
360
|
-
rake cross compile RUBY_CC_VERSION=1.9.1
|
361
|
-
|
362
|
-
* Allow simultaneous versions of Ruby to compile extensions.
|
363
|
-
This change allow 1.8.x compiles co-exist with 1.9.x ones
|
364
|
-
and don't override each other.
|
365
|
-
|
366
|
-
Please perform <tt>rake clobber</tt> prior compiling again.
|
367
|
-
* Allow optional source file URL for cross-compile tasks.
|
368
|
-
(Thanks to deepj for the patches)
|
369
|
-
|
370
|
-
rake-compiler cross-ruby VERSION=1.9.1-p0 SOURCE=http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.bz2
|
371
|
-
|
372
|
-
* Bugfixes
|
373
|
-
* Removed strict versioning for gems since it clash with fat binaries.
|
374
|
-
From now on, if your gem only targets a specific version of Ruby, please
|
375
|
-
indicate it in the Gem::Specification (<tt>required_ruby_version</tt>)
|
376
|
-
|
377
|
-
=== 0.5.0 / 2009-04-25
|
378
|
-
|
379
|
-
* Enhancements
|
380
|
-
* Allow generation of multiple gems for Windows (EXPERIMENTAL)
|
381
|
-
This allows build gems for both VC6 and MinGW builts of Ruby
|
382
|
-
(Thanks to Jonathan Stott for the suggestion)
|
383
|
-
|
384
|
-
Rake::ExtensionTask.new('my_extension', GEM_SPEC) do |ext|
|
385
|
-
ext.cross_compile = true
|
386
|
-
ext.cross_platform = ['i386-mswin32', 'i386-mingw32']
|
387
|
-
end
|
388
|
-
|
389
|
-
=== 0.4.1 / 2009-04-09
|
390
|
-
|
391
|
-
* Enhancements
|
392
|
-
* Target specific versions of Ruby when generating binaries.
|
393
|
-
This avoids installing a 1.8.x binary gem in 1.9.x and viceversa.
|
394
|
-
(Thanks to Aaron Patterson for the patches)
|
395
|
-
|
396
|
-
* Bugfixes
|
397
|
-
* No longer raises error if rake-compiler configuration is missing.
|
398
|
-
Not all users of a project would have it installed.
|
399
|
-
(Thanks to Aaron Patterson for the patch)
|
400
|
-
|
401
|
-
=== 0.4.0 / 2009-04-03
|
402
|
-
|
403
|
-
* Enhancements
|
404
|
-
* Bended the convention for extension folder.
|
405
|
-
Defining <tt>ext_dir</tt> for custom extension location.
|
406
|
-
|
407
|
-
Rake::ExtensionTask.new('my_extension') do |ext|
|
408
|
-
ext.ext_dir = 'custom/location' # look into custom/location
|
409
|
-
end # instead of ext/my_extension
|
410
|
-
|
411
|
-
* Better detection of mingw target across Linux/OSX.
|
412
|
-
Exposed it as Rake::ExtensionCompiler
|
413
|
-
* Display list of available tasks when calling rake-compiler script
|
414
|
-
* Track Ruby full versioning (x.y.z).
|
415
|
-
This will help the compilation of extensions targetting 1.8.6/7 and 1.9.1
|
416
|
-
|
417
|
-
* Bugfixes
|
418
|
-
* Better output of Rake development tasks (Thanks to Luis Parravicini).
|
419
|
-
* Proper usage of Gem::Platform for native gems (Thanks to Dirkjan Bussink).
|
420
|
-
* Don't use autoload for YAML (present problems with Ruby 1.9.1).
|
421
|
-
|
422
|
-
=== 0.3.1 / 2009-01-09
|
423
|
-
|
424
|
-
* Enhancements
|
425
|
-
* Download cross-ruby source code using HTTP instead of FTP.
|
426
|
-
* Disabled Tcl/Tk extension building on cross-ruby (helps with 1.9).
|
427
|
-
|
428
|
-
* Bugfixes
|
429
|
-
* Workaround bug introduced by lack of Gem::Specification cloning. Fixes DM LH #757.
|
430
|
-
* Use proper binary extension on OSX (reported by Dirkjan Bussink).
|
431
|
-
* Ensure lib/binary task is defined prior clear of requisites.
|
432
|
-
|
433
|
-
=== 0.3.0 / 2008-12-07
|
434
|
-
|
435
|
-
* New features
|
436
|
-
* Let you specify the Ruby version used for cross compilation instead
|
437
|
-
of default one.
|
438
|
-
|
439
|
-
rake cross compile RUBY_CC_VERSION=1.8
|
440
|
-
|
441
|
-
* Enhancements
|
442
|
-
* Properly update rake-compiler configuration when new version is installed.
|
443
|
-
* Automated release process to RubyForge, yay!
|
444
|
-
|
445
|
-
* Bugfixes
|
446
|
-
* Corrected documentation to reflect the available options
|
447
|
-
|
448
|
-
=== 0.2.1 / 2008-11-30
|
449
|
-
|
450
|
-
* New features
|
451
|
-
|
452
|
-
* Allow cross compilation (cross compile) using mingw32 on Linux or OSX.
|
453
|
-
* Allow packaging of gems for Windows on Linux or OSX.
|
454
|
-
|
455
|
-
* Enhancements
|
456
|
-
|
457
|
-
* Made generation of extensions safe and target folders per-platform
|
458
|
-
|
459
|
-
* Bugfixes
|
460
|
-
|
461
|
-
* Ensure binaries for the specific platform are copied before packaging.
|