Terence Lee
5c055d670a
be able to source with :path for mrbgems
2015-08-02 15:03:12 +02:00
Yukihiro "Matz" Matsumoto
0da057d99c
Merge pull request #2900 from joans321/enhance-mrbgem-build
...
mrbgem compile should be depend on mrbgem.rake
2015-07-29 11:44:23 +09:00
Zachary Scott
923e04cf50
Shallow clone mgem source
2015-07-27 17:16:37 -04:00
xuejianqing
578db292fd
mrbgem compile should be depend on mrbgem.rake
2015-07-27 12:22:23 +08:00
xuejianqing
007d26f168
fix android compile bug : uninitialized constant GCC_VERSION
2015-07-25 18:43:27 +08:00
Seba Gamboa
f01704477f
Add ability to change compiler versions for androideabi
2015-07-22 21:57:20 -03:00
take_cheeze
2e4bc2de88
Refactor Build#compile_as_cxx.
2015-07-15 14:46:56 +09:00
xuejianqing
0b50b4a500
fix androideabi cross-compile error : undefined reference to 'frexpl'
2015-07-06 12:51:57 +08:00
Yukihiro "Matz" Matsumoto
a41a649e83
Merge pull request #2862 from scalone/recursive_clone
...
Add —-recursive option to automatically update submodules from git mgems
2015-06-29 10:21:07 +09:00
Thiago Scalone
fa4b88b893
Fix quotes use during load special path gem of gem.
2015-06-26 14:35:34 -03:00
Thiago Scalone
449ec101f6
Add —-recursive option to automatically update submodules from git mgems.
2015-06-26 14:22:09 -03:00
mattn
a15e99d2b6
add_dependency doesn't work
2015-06-25 00:19:04 +09:00
Terence Lee
0006a8cd4a
add host_target/build_target options for CrossBuild'ng native extensions
2015-06-23 13:05:35 -04:00
take_cheeze
0c8fa845e4
Load missing dependencies from core or mgem-list.
2015-06-22 02:23:52 +09:00
take_cheeze
8d54977d25
Add :mgem gem loader to load mrbgem from mgem-list ( https://github.com/mruby/mgem-list ).
2015-06-22 02:23:11 +09:00
take_cheeze
6460ef77bc
Compile mruby compiler as mrbgem.
...
Compiler codes is moved to "mruby-compiler".
Executable `mrbc` is moved to "mruby-bin-mrbc".
2015-06-01 21:53:55 +09:00
furunkel
6110b385a7
Output PNG instead of PDF
2015-04-24 21:58:27 +02:00
furunkel
00518e0a4b
Use separate build config directory for benchmark files
2015-04-24 16:24:31 +02:00
furunkel
bb1951a8b6
Include name of current build config in data directory name
2015-04-24 14:54:35 +02:00
furunkel
8f5ec1a60f
Let all benchmarks start with bm_
2015-04-24 14:19:51 +02:00
furunkel
465d7a23c8
Add build files for benchmarkings; add mandelbrot benchmark
2015-04-24 13:40:54 +02:00
furunkel
96d66f6d24
Don't echo to stdout
2015-04-23 22:34:22 +02:00
furunkel
a96b871c46
Add task for running and plotting benchmarks
2015-04-23 22:27:19 +02:00
Kouhei Sutou
058dc7bd41
Enable -Wwrite-strings by default for GCC
2015-04-18 21:43:40 +09:00
Jared Breeden
f6f70c86db
Fix exceptions for visualcpp
2015-03-18 20:14:54 -04:00
Kouhei Sutou
a88cda8ac6
Add more debug flags for GCC based compilers
...
We can use `#define`-ed macros in GDB with `-g3` flag.
We can run code step by step in GDB with `-O0` flag.
2015-02-10 19:00:30 +09:00
sdottaka
a99fb39dc1
tasks/ruby_ext.rake: Fix build error when file path includes \1 or \2. #2709
2015-01-22 20:27:29 +09:00
Julian Aron Prenner
959a5cff60
Don't use Build.current if possible
2015-01-18 15:45:48 +01:00
take_cheeze
380be0e829
Fix MSVC C++ ABI build. Close #2588 .
2014-09-08 15:43:17 +09:00
take_cheeze
e6ae5c8672
Fix default gem loading in generate_gem_table.
2014-09-05 15:25:24 +09:00
Tatsuhiko Kubo
effc44f265
Fix error handlings for mrb_open_core().
2014-08-20 05:48:09 +09:00
Tomoyuki Sahara
547f3177a9
fix build when neither src nor mrblib directory exists.
2014-08-11 17:30:21 +09:00
cremno
6526bb10f0
don't always generate gem functions
...
If the src and mrblib directories of a mrbgem don't exist or don't
include "usable" files (for tools like mirb), then functions for gem
initialization and finalization don't have to be generated.
2014-08-04 05:50:05 +02:00
take_cheeze
a9c52675e6
Set $mrbtest_verbose flag in mrb_init_test_driver.
2014-07-14 21:11:14 +09:00
take_cheeze
3b8a797a4c
Fix rake failure since mrbtest_objs isn't flattened.
...
Append generated test object to `@test_objs` of mrbgem spec.
Add method `custom_test_init?` to check whether mrbgem has custom test init function.
2014-07-12 21:41:44 +09:00
take_cheeze
03866f25f8
Run mrbgem and core tests on minimum dependencies.
...
Solves #2355 .
In test drivers:
* Uses `mrb_t_pass_result` to check and pass test result to main `mrb_state`.
* Adds `mrb_init_test_driver` to init test `mrb_state`.
2014-07-12 14:11:18 +09:00
take_cheeze
ab779b7ad8
Use mrb_print_error to print exception instead of mrb_p.
2014-07-08 22:25:32 +09:00
take_cheeze
ef57fd55fb
Add method toolchains and primary_toolchain to MRuby::Build.
...
* To check imported toolchains for setting up toolchain specific things.
* `primary_toolchain` returns the main toolchain name of the build.
2014-06-29 20:32:12 +09:00
Yukihiro "Matz" Matsumoto
8ef971a373
remove add_conflicts now; use add_conflict; ref #2390
2014-06-13 12:50:00 +09:00
take_cheeze
eebb94410f
Implement add_conflict. Usage is similar to add_dependency.
2014-06-13 01:07:53 +09:00
take_cheeze
6157e50843
Implement add_conflicts. Solve #2383 .
2014-06-12 13:57:58 +09:00
Yukihiro "Matz" Matsumoto
fe95f44013
rename mrb_atexit to mrb_state_atexit to clarify a func will be called at the end of state, not process; ref #2211
2014-06-10 17:59:56 +09:00
Masaki Muranaka
7b6150ab90
Add include_paths in dependency gems.
2014-06-10 10:55:02 +09:00
Yukihiro "Matz" Matsumoto
2f8047461f
Merge pull request #2377 from monaka/pr-add-dot-s-extension
...
Add ".s" to source extensions.
2014-06-10 00:38:58 +09:00
Yukihiro "Matz" Matsumoto
74ed32f25c
Merge pull request #2378 from monaka/pr-add-tools-dir-to-cxx-files-check-oaths
...
Find c++ files in tools/.
2014-06-10 00:38:33 +09:00
Masaki Muranaka
c6d589e049
Do not export include/ dirs in mrbgems to core build.
...
In the current behavior, include/ dirs in mrbgems are set to
core's compiler.include_paths.
And they are never set to mrbgem's include_paths.
It may cause some dangerous issues because it can change
mruby core's macros by mrbgems.
After this fix, include/ in a gem is used in the gem itself only.
2014-06-09 23:08:13 +09:00
Masaki Muranaka
2c144425d9
Find c++ files in tools/.
...
Some tools may be written in C++.
2014-06-09 22:55:02 +09:00
Masaki Muranaka
9601777893
Add ".s" to source extensions.
...
It uses ".s" as the source for assembler on some toolchains including GCC.
2014-06-09 22:46:35 +09:00
Masaki Muranaka
78176ee7f5
Remove redundant substitutions.
...
"#{MRUBY_ROOT}/include" is set in Command::Compiler#initialize .
2014-06-08 14:42:21 +09:00
take_cheeze
39bbdd5f2f
Add bintest for mrbc.
2014-06-06 21:46:58 +09:00