Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #157 from dch/dch-windows-msvc-support | Dave Smith | 2012-07-11 | 1 | -1/+25 |
|\ | | | | | add native Windows compiler support | ||||
| * | Windows: add native SDK support | Dave Cottlehuber | 2012-06-08 | 1 | -1/+25 |
| | | | | | | | | - compatible with rebar 2.0.0 | ||||
* | | Fix #247 (Reported-by: Uvarov Michael) | Tuncer Ayaz | 2012-06-17 | 1 | -2/+1 |
| | | |||||
* | | Manually format port_compiler errors with absolute path | Tuncer Ayaz | 2012-06-11 | 1 | -3/+17 |
|/ | |||||
* | Fix file extension bug (Reported-by: Tony Rogvall) | Tuncer Ayaz | 2012-05-14 | 1 | -3/+3 |
| | |||||
* | Do not use inherited port options | Tuncer Ayaz | 2012-04-23 | 1 | -16/+17 |
| | |||||
* | Add support for target-specific port options | Tuncer Ayaz | 2012-04-16 | 1 | -176/+200 |
| | | | | {port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}. | ||||
* | Deprecate port_envs in favor of port_env | Tuncer Ayaz | 2012-03-09 | 1 | -50/+52 |
| | |||||
* | Remove debug log | Tuncer Ayaz | 2012-02-12 | 1 | -1/+0 |
| | |||||
* | Fix regression in port_compiler needs_link check | Tuncer Ayaz | 2012-02-10 | 1 | -6/+12 |
| | |||||
* | Use lists:flatmap/2 | Tuncer Ayaz | 2012-02-07 | 1 | -6/+6 |
| | |||||
* | Rework port compiler support | Tuncer Ayaz | 2012-02-03 | 1 | -75/+200 |
| | | | | | * consolidate options * add support for building executables | ||||
* | Fix -D and -v handling with new getopt.erl | Tuncer Ayaz | 2012-01-29 | 1 | -8/+3 |
| | |||||
* | Remove port_first_files support | Tuncer Ayaz | 2012-01-09 | 1 | -22/+3 |
| | |||||
* | Fail if erl_interface not found | Jesse Gumm | 2011-12-08 | 1 | -2/+10 |
| | | | | | | Previously if erl_interface could not be found {error, not_found} was incorrectly used as a path. With this change we fail early with a descriptive error message. | ||||
* | Add support for first_files to port compiler | Tim Watson | 2011-11-30 | 1 | -3/+22 |
| | | | | | This patch adds support for first_files to the port_compiler, via the new `port_first_files` rebar config element. | ||||
* | Remove obsolete comments (thanks Tim Watson) | Tuncer Ayaz | 2011-11-04 | 1 | -8/+0 |
| | |||||
* | Fix comments and formatting | Tuncer Ayaz | 2011-10-26 | 1 | -7/+11 |
| | |||||
* | Overhaul environment expansion for better performance | Dave Smith | 2011-10-26 | 1 | -28/+41 |
| | | | | | | | | | | The introduction of setup_env as a global concept caused the rebar_port_compiler implementation to start getting called a LOT. The expansion of environment variables that happens in the port compiler was O(n^n), which means you could see upwards of 80k invocations of lists:foldl on a single app "./rebar clean". This commit reworks the expansion to be O(n^2), and reduces the running time for the same operation by 60%+. On a large project like Riak, the end result is that a build went from 200 seconds to 73. | ||||
* | Add -D support to rebar_port_compiler | Tuncer Ayaz | 2011-10-23 | 1 | -1/+11 |
| | |||||
* | Limit line length | Tuncer Ayaz | 2011-08-20 | 1 | -2/+4 |
| | |||||
* | Support command invocation on Windows without MSYS | Jan Klötzke | 2011-08-20 | 1 | -19/+7 |
| | | | | | | If MSYS (with bash) is not installed on Windows then do the shell variable substitution by ourselves. Otherwise just call bash to do the job. | ||||
* | Extend port compiler default env for Darwin 11 32-bit | Tuncer Ayaz | 2011-08-01 | 1 | -1/+6 |
| | |||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-06-02 | 1 | -1/+1 |
| | |||||
* | Make port compilation template configurable | Juhani Rankimies | 2011-06-02 | 1 | -15/+40 |
| | | | | | | - Port compiler no longer requires bash on windows. - It's possible to use compilers whose command lines don't fit into the default template | ||||
* | Cleanup deprecations now that R14B03 is released | Tuncer Ayaz | 2011-05-31 | 1 | -41/+1 |
| | |||||
* | Extract code to get wordsize into helper function | Tuncer Ayaz | 2011-05-31 | 1 | -8/+1 |
| | |||||
* | Use external wordsize to get emulator build arch | Steve Vinoski | 2011-05-31 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | Calling erlang:system_info(wordsize) yields the internal word size of the Erlang emulator. But due to the halfword emulator, need to pass {wordsize, external} instead to get the word size, or pointer size, as seen by external code such as NIFs. The halfword emulator has 4 byte internal words but 8 byte external words due to 64-bit compilation, which means NIFs for the halfword emulator also have to be compiled 64-bit. But just passing wordsize is equivalent to passing {wordsize, internal}, which does not indicate the pointer size for the halfword emulator. Older versions of Erlang do not support {wordsize, external}, though, so continue to pass just wordsize for those versions. | ||||
* | Change arch-specific port_sources to take a list | Andrew Tunnell-Jones | 2011-05-28 | 1 | -6/+6 |
| | | | | | | | | | | Change the second parameter of a regex tagged port_source from being a filename or wildcard to being a list of filenames or wildcards. Previously: {"R14", "c_src/*.c"} Now: {"R14", ["c_src/*.c"]} Motivation for change is to avoid repeating regexes. | ||||
* | Fix leftover whitespace errors | Tuncer Ayaz | 2011-05-23 | 1 | -9/+9 |
| | |||||
* | Fix indentation errors | Tuncer Ayaz | 2011-05-23 | 1 | -37/+36 |
| | |||||
* | Fix indentation errors | Tuncer Ayaz | 2011-05-21 | 1 | -36/+37 |
| | |||||
* | Change logic to support more port env use cases | Anthony Molinaro | 2011-05-13 | 1 | -11/+41 |
| | | | | | | | | | | | | | | | | | | The logic changes from strict overrides to a hybrid for merging os_env and defaults, whereby defaults are chosen if they are not set in the os_env or if the defaults contains substitutions (at which point os environment is substituted). This still means that rebar.config works as it did before, where it overrides or substitutes based on the use of $VAR, but that default and os environment merging works such that the common cases of providing CC or LDFLAGS in the users environment or command line work as you might expect. In that CC is overriden by the os environment unless rebar.config overrides it, and LDFLAGS from the user environment is appended or prepended based on defaults and rebar.config. Addresses problems with https://github.com/basho/rebar/pull/71 Also keeps the fix for bug 255. | ||||
* | Fix code readability in port_compiler | Tuncer Ayaz | 2011-05-12 | 1 | -15/+15 |
| | |||||
* | Add missing newline in port_compiler debug msg | Tuncer Ayaz | 2011-04-28 | 1 | -1/+1 |
| | |||||
* | Add support for command-specific env for hooks | Tuncer Ayaz | 2011-04-21 | 1 | -11/+12 |
| | |||||
* | Deprecate fail_on_warning and refactor code | Tuncer Ayaz | 2011-04-07 | 1 | -17/+6 |
| | |||||
* | Deprecate old hooks | Tuncer Ayaz | 2011-03-12 | 1 | -0/+17 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -60/+84 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Use filename:join instead of ?FMT | Tuncer Ayaz | 2011-01-28 | 1 | -2/+4 |
| | |||||
* | Add support for arch specific port_sources | Andrew Tunnell-Jones | 2011-01-17 | 1 | -1/+13 |
| | | | | | | | | | On one project I have a need to specify port_sources on R14 only and on another different project port_sources for Darwin and Linux. To this end add support to handle tuples of the form {ArchRegex, PortSource} in the port_sources list, eg: {port_sources, [{"R14", ["c_src/*.c"]}]}. | ||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-01-13 | 1 | -1/+4 |
| | |||||
* | Unify executable invocation | Juhani Rankimies | 2011-01-06 | 1 | -9/+13 |
| | | | | | Add flags to rebar_utils:sh to control output and error handling. Replace calls to os:cmd with calls to rebar_utils:sh. | ||||
* | Tidier improvements | Kostis Sagonas | 2010-10-26 | 1 | -3/+2 |
| | |||||
* | Fix dialyzer warning for filename:join/2 calls | Tuncer Ayaz | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | Basic tweaks for compiling ports/nifs on mingw | Dan Gudmundsson | 2010-09-18 | 1 | -1/+20 |
| | |||||
* | Defaulting CC->cc and CXX->c++ for better cross platform support | Dave Smith | 2010-07-12 | 1 | -2/+2 |
| | |||||
* | Fix bug 255; O/S environment vars should be processed last, not first | Dave Smith | 2010-06-22 | 1 | -1/+1 |
| | |||||
* | Complete implementation for simplistic .app.src processing. | Dave Smith | 2010-05-07 | 1 | -6/+2 |
| |