kyab
0ad9b900a5
Fix 'make test' fail to build on Windows(MSVC)
2014-04-05 19:28:48 +09:00
take_cheeze
69cc80abbc
Refactor MRuby::Gem::List#check.
...
* Create mrbgem table before dependencies check.
* Topoligical sort gem list.
* Check circular mrbgem dependency.
2014-04-04 13:17:27 +09:00
kyab
ad6fa200e2
Fix build fail for 'make test' with no mrbgems
2014-04-03 19:39:25 +09:00
Yukihiro "Matz" Matsumoto
5bcb119ed7
use File#directory? instead of File#exist?; ref c2d8b0
2014-03-21 09:24:28 +09:00
Yukihiro "Matz" Matsumoto
c2d8b0303d
avoid Dir.exist? that is not available in Ruby1.8
2014-03-21 03:23:26 +09:00
take_cheeze
624e34a6fe
don't show version '0.0.0' in build summary since it's default version
2014-03-17 00:34:25 +09:00
take_cheeze
4bd623ba75
print gem summary in print_build_summary method
2014-03-17 00:34:24 +09:00
take_cheeze
deb5f59bec
fix compile error check of Mrbc command
2014-03-14 03:44:22 +09:00
Yukihiro "Matz" Matsumoto
fa2e87c468
avoid mrb_string_value_cstr() to copy string between mrb_states in tests
2014-03-12 13:32:04 +09:00
take_cheeze
77fba20480
reduce mrb_open calls in mrbgem test
2014-03-10 04:45:28 +09:00
Masaki Muranaka
5cf46db561
Add comments to notify files are auto generated.
2014-03-09 18:10:27 +09:00
cremno
ab025dc511
visualcpp toolchain: change compiler/linker flags
...
with these flags visualcpp should behave more like the gcc toolchain
c:
- produce debug information
- optimize for speed instead of disabling optimization
- use non-debug version of Microsoft's C library
- remove unused and unnecessary macro definitions
cxx:
- separate C and C++ (#1594 )
- specify kind of exception handling (see warning C4530)
linker:
- produce debug information
- disable incremental linking and re-enable optimizations
2014-03-05 20:27:58 +01:00
MATSUMOTO Ryosuke
a5dd02f94f
Change the position of -L option from MRUBY_LIBS to MRUBY_LDFLAGS
2014-03-05 17:37:44 +09:00
Yukihiro "Matz" Matsumoto
415b70fd49
Merge pull request #1805 from take-cheeze/existing_include
...
Add existing include/ directory only.
2014-03-05 15:24:43 +09:00
take_cheeze
9d81487c8b
add existing include/ directory only
2014-03-05 14:29:45 +09:00
mattn
98b5b68298
Fix #1803
2014-03-05 14:11:53 +09:00
Tatsuya Matsumoto
7ac4a60cf0
fix indent.
2014-03-05 11:57:10 +09:00
take_cheeze
cfa7889996
run enabled gem's bintest only
2014-03-03 16:53:26 +09:00
Masaki Muranaka
b58e6b9146
Add ssh protocol support for bitbucket.
2014-03-02 12:08:09 +09:00
take_cheeze
600c17ec08
use shallow clone in git gem
2014-03-02 04:33:23 +09:00
take_cheeze
6de1c22d99
use c++ compiler to link when c++ abi is enabled
2014-03-02 04:30:06 +09:00
take_cheeze
9968af4570
allow command like "ccache gcc"
2014-03-02 04:26:33 +09:00
take_cheeze
78915f9601
support c++ exception
2014-03-01 20:05:29 +09:00
Yukihiro "Matz" Matsumoto
630a152093
Merge pull request #1753 from take-cheeze/assert_rb
...
Compile assert.rb once.
2014-02-27 02:04:45 +09:00
take_cheeze
7201404ee0
compile assert.rb once
2014-02-26 22:01:31 +09:00
Yukihiro "Matz" Matsumoto
8c949eeef0
Merge pull request #1747 from cubicdaiya/issues/use_mrb_intern_lit
...
use mrb_intern_lit instead of mrb_intern_cstr for C string literals
2014-02-26 21:56:59 +09:00
cubicdaiya
6db2e080f0
use mrb_intern_lit instead of mrb_intern_cstr for C string literals
2014-02-26 13:48:11 +09:00
take_cheeze
043e7fc6bd
specialize C++ compiler in clang toolchain
2014-02-25 22:42:12 +09:00
Yukihiro "Matz" Matsumoto
de0af73c24
Merge pull request #1732 from cho45/depend-build-config
...
Always include build_config.rb to compile dependency.
2014-02-25 02:20:13 +09:00
cho45
03b1b62bde
Always include build_config.rb to compile dependency.
...
build_config.rb modifies `cc.defines` (eg. `DISABLE_GEMS`) so files depending on such flags should be rebuilt.
Ref. (Failing scenario): https://gist.github.com/cho45/9181191
2014-02-24 12:01:54 +09:00
bggd
3ff4af91a2
remove -Werror=declaration-after-statement
2014-02-24 11:08:23 +09:00
Yukihiro "Matz" Matsumoto
109f675f44
Merge pull request #1727 from bggd/patch-2
...
Add warning for C89-style variable declarations
2014-02-24 01:41:27 +09:00
take_cheeze
9059b9a354
support custom build_dir in CrossBuild
2014-02-23 20:50:51 +09:00
take_cheeze
dd68ea9799
make mruby build directory customizable
2014-02-23 20:35:06 +09:00
bggd
15b484df38
Add warning for C89-style variable declarations
2014-02-23 16:08:56 +09:00
Yukihiro "Matz" Matsumoto
d7960bf2a9
resolve conflict in travis_config.rb
2014-02-10 09:50:32 +09:00
cremno
aa655b9ee1
remove superfluous includes
...
- reduce compile time by a little bit (full-core: ~0.7s for me)
- thanks to 'include-what-you-use' for some help
- include Standard C header files before any other (coding style)
2014-01-07 17:56:30 +01:00
Yukihiro "Matz" Matsumoto
3c7ab32e39
Merge pull request #1643 from take-cheeze/remove_unnecessary_depedency
...
Reduce unnecessary mrbgems full test rebuild.
2014-01-05 15:11:59 -08:00
cremno
4804b3f7dd
fix some warnings emitted by 'ruby -w'
...
- File.exists? is deprecated since 2.1.0
- tasks/mruby_build_commands.rake:268: ambiguous argument
2014-01-02 01:09:03 +01:00
take_cheeze
c8e8f3e446
remove unnecessary depedency in test build
2013-12-27 03:44:02 +09:00
take_cheeze
9b4b2e7c52
use mrbc of current build in non cross build
2013-11-26 11:33:25 +09:00
Yukihiro "Matz" Matsumoto
f5bd87b9e6
add CFLAGS as a fallback from CXXFLAGS; ref #1594
2013-11-25 09:51:44 +09:00
Yukihiro "Matz" Matsumoto
33698d7349
Merge branch 'modify_toolchains_gcc' of https://github.com/crimsonwoods/mruby into crimsonwoods-modify_toolchains_gcc
2013-11-25 09:50:33 +09:00
take_cheeze
f07ba44c69
add enable_debug method to MRuby::Build and build debug version in travis-ci
2013-11-24 20:38:47 +09:00
crimsonwoods
92916bb4a6
Modify referenced environment variables.
...
'CXX' is used instead of 'CC'.
'CXXFLAGS' is used instead of 'CFLAGS'.
2013-11-23 21:47:47 -08:00
crimsonwoods
caf4d63229
Modify build script for gcc.
...
Newly added compile option '-std=gnu99' is not necessary for C++.
And 'g++' should be used to compile for C++ source codes, I think.
2013-11-23 19:30:52 -08:00
Per Lundberg
172cd281ba
Automatically detect toolchain if it is visualcpp, and hence we drop vs2010.rake altogether - it’s no longer needed.
2013-11-22 22:17:01 +02:00
cremno
53139cbb15
GCC: add -std=gnu99 to CFLAGS
...
- this change prevents issues like #1539 in the future
- Clang's default is already gnu99 but GCC's is gnu89
- mruby is C99 (+ GNU exts), not C89 (+ GNU exts)
2013-11-18 21:26:50 +01:00
fleuria
06914f607c
add conf.enable_bintest and run_bintest
2013-11-16 14:26:38 +08:00
William Light
72d6db8bc4
Fix for caller_dir relative gems
2013-10-01 21:27:34 +02:00