Gabriel Scherer
75b8c0184f
PR#5933 type-specialize 'let compare = compare' on ints and strings
...
According to the reporter 'sliquister', type-specialized comparison
can nearly halve compilation time in some cases. This patch applies
type-specialization throughout the OCaml distribution sources, so not
all changes will have performance utility, but in this case I think
it's best to be consistent, as I see no downside to the change.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 07:22:12 +00:00
Wojciech Meyer
b7c2d04ac9
[ocamlbuild] Real time update of the tests, by flushing the channel after each test result.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13273 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 23:57:14 +00:00
Wojciech Meyer
26d9127a1e
[ocamlbuild] Add some more tests for PR#4592 and PR#5752.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-23 23:40:19 +00:00
Wojciech Meyer
de1bc665c4
PR#5652: Fix duplicate tags
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13266 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-21 23:19:19 +00:00
Wojciech Meyer
6d36ae6831
Typo.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13264 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:23 +00:00
Wojciech Meyer
f9fcc6892a
Add test for new ocamlbuild -syntax option
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13263 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:22 +00:00
Wojciech Meyer
37bbb9bb16
Implement -syntax ocamlfind flag for ocamlbuild
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13262 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:19 +00:00
Wojciech Meyer
e82f05c3ef
ocamlbuild_test: Make root directory of tests before running them.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13261 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:18 +00:00
Wojciech Meyer
67101c77f3
PR#5652: Add support for camlp4 native plugin.
...
Patch by Hongbo Zhang!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13260 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:17 +00:00
Wojciech Meyer
4c62de5d42
Use absolute paths in ocamlbuild_test.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13259 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-19 10:44:15 +00:00
Wojciech Meyer
2cb5131384
PR#4592: Add test case.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13256 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-17 07:34:58 +00:00
Wojciech Meyer
a0a8b4b04f
PR#5686: Add testcase.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13255 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-17 07:06:41 +00:00
Xavier Clerc
75df311d02
PR#5891: support rectypes tag for mlpack (ocamlbuild)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13243 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 12:17:19 +00:00
Wojciech Meyer
5cb2518dd7
Implement memoization for expand_module to improve performance
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13240 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 07:36:07 +00:00
Wojciech Meyer
d9fec1107d
small renaming in the option doc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13239 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-16 07:36:06 +00:00
Wojciech Meyer
01e27644ba
-which option for ocamlbuild
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13238 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-15 21:32:52 +00:00
Wojciech Meyer
9d51dccfae
ocamlbuild should look for ocamlfind on the path not in the root directory
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13237 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-15 21:10:04 +00:00
Wojciech Meyer
c133e90cf1
PR#5885: Fix: Incorrect rule for compiling C stubs when shared libraries are not supported.
...
Patch by Jérôme Vouillon!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13233 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-14 07:43:49 +00:00
Wojciech Meyer
7ce7cece56
added ocamlbuild test (fix for PR#5763) .
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-14 00:08:13 +00:00
Alain Frisch
706f815450
#5864 : add a find operation to Set.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-08 09:01:02 +00:00
Wojciech Meyer
4bc9fa5359
PR#5212: Fix: ocamlbuild does not warn for bad input
...
Patch by Ygrek!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13193 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-01 04:53:51 +00:00
Wojciech Meyer
40dc45cb77
Add some test for ocamlbuild. Make ocamlbuild_test test function handle optional parameters and support expected failures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13191 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-01 01:37:26 +00:00
Wojciech Meyer
cb09743fc5
Commit also .depend file for ocamlbuild Makefile.noboot
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13190 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-01 00:33:29 +00:00
Wojciech Meyer
2a415d5ec0
Initial version of Makefile.noboot that does not depend on ocamlbuild being booted
...
Still requires some work, in particular:
* native build of ocamlbuild
* building Camlp4 still is not working
* not vpath leftover files break the further build
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13188 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-01 00:33:27 +00:00
Wojciech Meyer
51e74fff88
Remove old module from ocamlbuild bootstrap Std_signatures to tide up
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13187 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-01 00:33:26 +00:00
Wojciech Meyer
293bf33f1d
Add 'K' class of warning tag to ocamlbuild
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13186 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-01 00:33:25 +00:00
Wojciech Meyer
c05b5ccea7
ocamlbuild_test, remove test directory tree only if exists
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13185 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-01-01 00:33:23 +00:00
Wojciech Meyer
7ce9e125d3
Removed sporious modules from .odocl
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-31 01:04:22 +00:00
Wojciech Meyer
d2335da36f
More work on ocamlbuild testsuite.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13177 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-30 03:25:35 +00:00
Wojciech Meyer
21735ad375
New testing infrastructure for ocamlbuild (PR#5755)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13170 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-29 04:34:30 +00:00
Wojciech Meyer
655cf17e4e
Revert "PR#5652: Try to use camlp4.opt if it's possible"
...
camlp4.opt works only with native plugins therefore the fix will break bytecode camlp4 plugins.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13167 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-28 18:19:27 +00:00
Wojciech Meyer
2ebc2c2790
Update reference file for the ocamlbuild tests - still need some more work
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-22 01:34:23 +00:00
Wojciech Meyer
a3c8cd0170
Fix PR#5752.
...
Patch by Grégoire Sutre!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13154 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-22 01:34:21 +00:00
Wojciech Meyer
1cfa222553
Fix test
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-22 01:34:20 +00:00
Wojciech Meyer
38dc96e0be
Always store full path to ocamlbuild in a variable that is available to the sub-tests
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13152 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-22 01:34:19 +00:00
Wojciech Meyer
469ae8ae60
Use name of the the tools in high detail level logs, this helps comparing logs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13151 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-22 01:34:16 +00:00
Jonathan Protzenko
e41b5df033
Add a strict_sequence flag to OCamlbuild.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-11-10 15:06:53 +00:00
Jonathan Protzenko
76f3646b12
Add a new bin_annot tag to OCamlbuild.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13088 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-11-10 15:02:56 +00:00
Damien Doligez
2f2f6b7a07
add missing copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17 21:03:40 +00:00
Damien Doligez
ca58e9f276
remove non-ascii chars
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17 21:03:19 +00:00
Damien Doligez
d2b0f14516
remove non-ascii chars
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17 21:02:29 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Xavier Clerc
4dd1e7fe41
PR#5102: ocamlbuild fails when using an unbound variable in rule dependency
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13002 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-10 13:59:47 +00:00
Xavier Clerc
78e80bc087
PR#5300: verbose parameter should implicitly set classic display
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-10 09:38:24 +00:00
Gabriel Scherer
3734fe0799
fix PR#5763: ocamlbuild does not give correct flags when running menhir
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-21 15:16:24 +00:00
Wojciech Meyer
80d9a37d6d
PR#5468: ocamlbuild should preserve order of parametric tags
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-10 02:41:09 +00:00
Wojciech Meyer
28701c9cfe
PR#5652: Try to use camlp4.opt if it's possible
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12902 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-02 01:31:06 +00:00
Damien Doligez
3dd2fee2ee
fix formatting of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12808 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-01 14:47:00 +00:00
Damien Doligez
997a678d5e
clean up TABs and whitespace
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 18:04:46 +00:00
Xavier Clerc
e17f1f82f2
PR#5214: ocamlfind plugin invokes 'cut' utility
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-16 08:53:51 +00:00