summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add 1.1.2 entryv1.1.2Sutou Kouhei2021-12-071-0/+23
|
* Fix determining of ruby versions in "rake native gem" (#166)Lars Kanis2021-04-091-4/+7
| | | | | | | | | | | | | | | | | | | | "rake native gem" without "cross" didn't set the ruby version constraint. Instead it failed with NoMethodError like so: /ffi $ rake native gem no configuration section for specified version of Ruby (rbconfig-i386-mingw32-2.6.3) no configuration section for specified version of Ruby (rbconfig-x64-mingw32-2.6.3) install -c build/x86_64-linux/ffi_c/2.6.3/ffi_c.so lib/ffi_c.so cp build/x86_64-linux/ffi_c/2.6.3/ffi_c.so build/x86_64-linux/stage/lib/ffi_c.so rake aborted! NoMethodError: undefined method `split' for nil:NilClass /home/lars/.rvm/gems/ruby-2.6.3/gems/rake-compiler-1.0.9/lib/rake/extensiontask.rb:515:in `ruby_api_version' /home/lars/.rvm/gems/ruby-2.6.3/gems/rake-compiler-1.0.9/lib/rake/extensiontask.rb:262:in `block in define_native_tasks' /home/lars/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/exe/rake:27:in `<top (required)>' /home/lars/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval' /home/lars/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>' Tasks: TOP => native => native:x86_64-linux => native:ffi:x86_64-linux (See full trace by running task with --trace)
* Use "make install" instead of manually copying extension binary (#191)Lars Kanis2021-04-021-4/+22
| | | | | | Until now rake-compiler uses "make" to build the extension binary, but doesn't use "make install" to copy it into the lib directory. This has the downside, that only the extension binary is copied, but no additional files. In particular files registered per mkmf's $INSTALLFILES mechanism are not respected. Using "make install" fixes this.
* CI: Add 3.0 (#186)Olle Jonsson2021-01-301-3/+4
|
* History.txt -> History.md, add links & reformat (#174)MSP-Greg2021-01-302-136/+150
|
* Avoid warning: assigned but unused variable - e (#185)Olle Jonsson2021-01-291-1/+1
|
* IronRuby has been a dead project for 10 years (#184)Thomas E Enebo2021-01-261-9/+0
|
* Don't mask out build env vars for cross-ruby (#182)Lars Kanis2020-12-241-2/+1
| | | | | | | This was introduced in commit a7c113e580c1565000166f9967da82ff2ecdaeaa to avoid interference with host build. However it prohibits setting important flags for cross-build. Also don't force 'LDFLAGS=-pipe -s' in configure, which doesn't work with clang targeting MacOS. It can now be set externally.
* ci: fix task nameSutou Kouhei2020-12-241-1/+1
|
* ci: move to GitHub Actions from Travis CISutou Kouhei2020-12-242-11/+29
| | | | Thanks Travis CI!
* Use RAKE_EXTENSION_TASK_NO_NATIVE env var as the default valueSutou Kouhei2020-12-211-1/+1
|
* Allow building of cross rubies in parallel (#169)Lars Kanis2020-12-201-81/+80
| | | | | | | Rubies can be build like so: rake-compiler cross-ruby VERSION=2.7.0:2.6.0 HOST=x86_64-w64-mingw32:i686-w64-mingw32 This builds the cross product of all ":" separated ruby and host versions. To force sequential builds add option "-j1".
* Use tar.gz instead of tar.bz2 (#179)Masaki Hara2020-12-101-2/+2
| | | | Starting from 3.0.0-preview2, Ruby stopped shipping tar.bz2 archives. This changes the archive format to tar.gz for better compatibility.
* Bump versionSutou Kouhei2020-07-101-1/+1
|
* Add 1.1.1 entryv1.1.1Sutou Kouhei2020-07-101-2/+14
|
* Default to 1.7-level bytecode in Java build (#172)Charles Oliver Nutter2020-07-091-2/+2
|
* Fix ruby warning: (#168)Lars Kanis2020-01-111-0/+1
| | | lib/rake/extensiontask.rb:471: warning: instance variable @make not initialized
* Strip cross built shared library files while linking (#165)Lars Kanis2019-12-271-1/+2
| | | | | | The .so files of extensions are often manually stripped after compilation per task in a Rakefile. This is done to reduce gem size and because debug information in release binaries isn't particular useful. This manual step can be avoided, if the cross ruby version is built with stripping enabled. Compatibility is ensured, since stripping files a second time doesn't make a difference.
* Extend mingw search pattern to find x86_64 gcc (#164)Lars Kanis2019-12-271-1/+1
| | | The previous pattern only recognized 32 bit compiler versions.
* cross-ruby: remove needless Makefile.in preparationSutou Kouhei2019-12-251-31/+1
| | | | | ALT_SEPARATOR doesn't exist in Makefile.in since Ruby 1.9.2: https://github.com/ruby/ruby/commit/7c7690045870396816624bf57775eb29e6a478fd
* Bump versionSutou Kouhei2019-12-251-1/+1
|
* Add 1.1.0 entryv1.1.0Sutou Kouhei2019-12-251-0/+6
|
* Fix typosSutou Kouhei2019-12-251-2/+2
| | | | | | | | GitHub: fix #163 TODO: We should add an example for command line. Reported by Kai Kuchenbecker. Thanks!!!
* Bump versionSutou Kouhei2019-12-231-1/+1
|
* Add 1.0.9 entryv1.0.9Sutou Kouhei2019-12-231-4/+3
|
* Add support for Ruby 2.7Sutou Kouhei2019-12-111-15/+22
| | | | | | GitHub: fix #161 Reported by Masaki Hara. Thanks!!!
* java: use command line array style instead of stringSutou Kouhei2019-10-212-24/+39
|
* Make lint options customizable (#158)Stephen George2019-10-213-1/+59
| | | | | | | | | | | | | | | | | | * Make customizable compiler Xlint option for JRuby native extension * [CS] restructure and fix indentation of (defaults) spec * Add specs for lint_option * [DOC] CHANGELOG: stub changelog entry for the next release * [DOC] CHANGELOG: Make customizable compiler Xlint option for JRuby native extension * Use "-Xlint" option for JRuby native extension by default. `javac -help -X` > -Xlint Enable recommended warnings
* [DOC] Document all configuration options (#159)Stephen George2019-10-212-120/+147
| | | | | | | | | | | | * [DOC] Convert README.rdoc to README.md for table support * [DOC] Document all existing configuration options in a table * [DOC] Use "-Xlint" option for JRuby native extension by default. `javac -help -X` > -Xlint Enable recommended warnings
* Bump versionSutou Kouhei2019-09-211-1/+1
|
* Add 1.0.8 entryv1.0.8Sutou Kouhei2019-09-211-0/+11
|
* travis: use webhookSutou Kouhei2019-09-201-2/+2
|
* travis: update Ruby versionsSutou Kouhei2019-09-201-6/+3
|
* Use the same order as definitionsSutou Kouhei2019-09-201-2/+2
|
* Add the -encoding option optionally to java compiler (#157)Tiago Dias2019-09-201-1/+11
|
* Gemspec: Drop EOL'd rubyforge_project directive (#155)Olle Jonsson2019-07-141-1/+0
|
* Bump versionKouhei Sutou2019-01-041-1/+1
|
* Add 1.0.7 entryv1.0.7Kouhei Sutou2019-01-041-0/+7
|
* Add missing parenthesisKouhei Sutou2019-01-041-3/+3
|
* Fix caseKouhei Sutou2019-01-041-1/+1
|
* Merge pull request #151 from prashantvithani/cross-platform-compilationKouhei Sutou2019-01-041-3/+24
|\ | | | | | | | | Fix cross-platform compilation for Java extensions Patch by Prashant Vithani. Thanks!!!
| * Raise error with proper messagePrashant Vithani2019-01-031-9/+17
| | | | | | | | Add comments explaining each condition.
| * Fix cross-platform compilation for Java extensionsPrashant Vithani2019-01-021-1/+14
|/ | | | | | | | | | Using `libdir` provided by `RbConfig` to compile java extension from MRI breaks as it can't find `jruby.jar` under `lib` directory. Added a check on file existence if the path is taken from RbConfig and if it doesn't exist, check for the path which is set in environment JRUBY_HOME to find correct `jruby.jar`. Raise the error to abort compilation if `jruby.jar` is not found.
* Bump versionKouhei Sutou2018-12-231-1/+1
|
* Add 1.0.6 entryv1.0.6Kouhei Sutou2018-12-231-0/+6
|
* Stop to make unreleased Ruby installableKouhei Sutou2018-12-232-3/+3
| | | | | | GitHub: fix #150 Reported by MSP-Greg. Thanks!!!
* Use bundler for release taskKouhei Sutou2018-08-314-74/+5
|
* Bump versionKouhei Sutou2018-08-311-1/+1
|
* Add 1.0.5 entryv1.0.5Kouhei Sutou2018-08-311-0/+8
|
* Use require at top levelKouhei Sutou2018-08-291-1/+2
|