Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not build bytecode executables with -g by default | Xavier Leroy | 2023-02-02 | 1 | -1/+1 |
| | | | | | | This makes them too big. Just use -g for selected executables that we often want to debug using ocamldebug (ocamlc, ocamlopt), and for the ocaml toplevel, which can be run with backtraces enabled. | ||||
* | Less verbose logs from `make` (#11844) | Xavier Leroy | 2023-01-18 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Print concise summaries instead of full commands for some of the most verbose commands. For example, print ``` OCAMLC lambda/switch.cmo ``` instead of ``` ./boot/ocamlrun ./boot/ocamlc -nostdlib -I ./boot -use-prims runtime/primitives -g -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48 -warn-error +a -bin-annot -strict-formats -I lambda -I utils -I parsing -I typing -I bytecomp -I file_formats -I lambda -I middle_end -I middle_end/closure -I middle_end/flambda -I middle_end/flambda/base_types -I asmcomp -I driver -I toplevel -I tools -c lambda/switch.ml ``` and ``` CC runtime/addrmap.b.o ``` instead of ``` gcc -c -O2 -fno-strict-aliasing -fwrapv -pthread -g -Wall -Werror -fno-common -fexcess-precision=standard -fno-tree-vrp -ffunction-sections -I./runtime -D_FILE_OFFSET_BITS=64 -DCAMLDLLIMPORT= -DIN_CAML_RUNTIME -o runtime/addrmap.b.o runtime/addrmap.c ``` The output is generated with the Make function `$(info ...)` to avoid shelling out to `echo` each time, which can be expensive under Cygwin. A variable `V` controls whether to use the new style. When `V=0` (the default), it is used. If `V=1`, then the usual full output is used instead. Co-authored-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com> | ||||
* | Stop passing -safe-string when building the compiler and in the testsuite | Sébastien Hinderer | 2022-09-11 | 1 | -1/+1 |
| | | | | | | PR #1252 has made the safe-string mode the default so passing -safe-string explicitly has become useless since this PR has been merged, even more useless since support for mutable strings was removed in OCaml 5.0. | ||||
* | Pass the same flags to ocamlyacc consistently | Sébastien Hinderer | 2022-08-25 | 1 | -2/+0 |
| | | | | | | | Make sure ocamlyacc is always called with -v and --strict. Before this commit, the parsers of the debugger and of ocamltest were not generated using these options. | ||||
* | Add missing pattern to make -C ocamldoc clean | David Allsopp | 2022-07-22 | 1 | -1/+1 |
| | |||||
* | Let configure generate the META files, with a proper version number | Sébastien Hinderer | 2022-07-18 | 1 | -0/+1 |
| | |||||
* | Add META files (#11007) | Nicolás Ojeda Bär | 2022-07-01 | 1 | -1/+1 |
| | |||||
* | Report warning 70 about missing interfaces as an error | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | Provide an interface for ocamldoc's odoc_todo module | Sébastien Hinderer | 2022-06-30 | 1 | -2/+2 |
| | |||||
* | Provide an interface for ocamldoc's odoc_dot module | Sébastien Hinderer | 2022-06-30 | 1 | -3/+3 |
| | |||||
* | Provide an interface for ocamldoc's odoc_html module | Sébastien Hinderer | 2022-06-30 | 1 | -3/+3 |
| | |||||
* | Provide an interface for ocamldoc's odoc_ocamlhtml module | Sébastien Hinderer | 2022-06-30 | 1 | -2/+2 |
| | | | | | This commit also removes a few unused values, one unused type constructor and one exception from this module. | ||||
* | Provide an interface for ocamldoc's odoc_latex module | Sébastien Hinderer | 2022-06-30 | 1 | -2/+3 |
| | |||||
* | Provide an interface for ocamldoc's odoc_latex_style module | Sébastien Hinderer | 2022-06-30 | 1 | -2/+2 |
| | | | | This commit also removes two unused value declarations from the module. | ||||
* | Provide an interface for ocamldoc's odoc_man module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | Provide an interface for ocamldoc's odoc_texi module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | Provide an interface for ocamldoc's odoc_to_text module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | Provide an interface for ocamldoc's odoc_dep module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+2 |
| | | | | This commit also removes the unused graph type. | ||||
* | ocamldoc: remove the empty odoc_inherit module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+0 |
| | |||||
* | ocmaldoc: remove the empty odoc_control module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+0 |
| | |||||
* | Provide an interface for ocamldoc's odoc_type module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | Provide an interface for ocamldoc's odoc_value module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | Provide an interface for ocamldoc's odoc_parameter module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | Provide an interface for ocamldoc's odoc_text_lexer module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | | | | This commit also removes a few unused values from odoc_text_lexer.mll | ||||
* | Provide an interface for ocamldoc's odoc_messages module | Sébastien Hinderer | 2022-06-30 | 1 | -1/+2 |
| | |||||
* | Enable warning 70 about missing interfaces | Sébastien Hinderer | 2022-06-30 | 1 | -1/+1 |
| | | | | | | | But make sure not to turn it into an error, so that all the warnings get printed. It will be turned into an error once all the interfaces have been added. | ||||
* | otherlibs: Merge win32unix into unix | Sébastien Hinderer | 2022-04-10 | 1 | -6/+5 |
| | |||||
* | Build system: ocaml{doc,lex} should be compiled and linked with -g | Sébastien Hinderer | 2022-03-31 | 1 | -3/+4 |
| | |||||
* | Factorize the definition of the standard library flags | Sébastien Hinderer | 2022-03-31 | 1 | -3/+2 |
| | |||||
* | Build system: also factorize the inclusion of directories when calling ocamldep | Sébastien Hinderer | 2022-03-22 | 1 | -19/+11 |
| | |||||
* | Build system: factorize the definitions related to ocamldep | Sébastien Hinderer | 2022-03-22 | 1 | -5/+2 |
| | |||||
* | Build system: normalize the invocations of ocamldep | Sébastien Hinderer | 2022-03-22 | 1 | -4/+5 |
| | |||||
* | Add the distclean target to ocamldoc/Makefile | Sébastien Hinderer | 2022-01-18 | 1 | -0/+3 |
| | |||||
* | Remove no longer used SRC from ocamldoc/Makefile | David Allsopp | 2021-08-29 | 1 | -2/+0 |
| | |||||
* | Build system: replace suffix rules by pattern rules | Sébastien Hinderer | 2021-04-27 | 1 | -6/+4 |
| | |||||
* | Build system: provide a default value for OCAMLLEX | Sébastien Hinderer | 2021-04-14 | 1 | -1/+0 |
| | | | | Each directory can override this default value. | ||||
* | documentation: configuration switch for an odoc documentation mode (#9997) | Florian Angeletti | 2021-04-07 | 1 | -37/+0 |
| | |||||
* | added warning for missing mli interface file | Anukriti12 | 2021-03-31 | 1 | -1/+1 |
| | |||||
* | stop using single letter in warning settings | octachron | 2021-03-15 | 1 | -1/+1 |
| | | | | | | - Replace -w A with -w +A in various makefiles and tests. - Replace -w a with -w -a in tests. - Replace -w Ae with -w +A -w -fragile-matching | ||||
* | Build system: deduplicate the rules used to generate the lexers and parsers | Sébastien Hinderer | 2021-03-02 | 1 | -7/+0 |
| | |||||
* | ocamldoc/Makefile: Use generic rules to generate lexers and parsers | Sébastien Hinderer | 2021-03-02 | 1 | -28/+13 |
| | |||||
* | Build system: rename the OCAMLLEX_FLAGS to OCAMLLEXFLAGS | Sébastien Hinderer | 2021-03-02 | 1 | -5/+5 |
| | |||||
* | Move doc to api_docgen and restore installation | octachron | 2020-12-02 | 1 | -7/+0 |
| | |||||
* | Appveyor build fix | octachron | 2020-12-02 | 1 | -33/+1 |
| | |||||
* | doc: centralized, parallel, incremental manpages | Florian Angeletti | 2020-12-02 | 1 | -57/+0 |
| | |||||
* | Build system: simplify installation rules | Sébastien Hinderer | 2020-06-18 | 1 | -3/+2 |
| | | | | | | Now that programs are built with their $(EXE) suffix, their installation rules can be simplified a bit because most of the programs get installed under the name they have been built with. | ||||
* | Add the $(EXE) suffix to all programs at build rather than install time | Sébastien Hinderer | 2020-06-18 | 1 | -7/+14 |
| | | | | | | | | This commit touches neither boot/ocamlc nor boot/ocamllex It has the side-effect of fixing the cleanup rules which did not use the $(EXE) extension when removing a file although it was produced with the $(EXE) extension. | ||||
* | ocamldoc: remove debugging facility | Sébastien Hinderer | 2020-06-09 | 1 | -20/+4 |
| | |||||
* | makefiles: move the inclusion of Makefile.build_config in Makefile.common | Gabriel Scherer | 2020-05-06 | 1 | -1/+0 |
| | |||||
* | Cease committing C dependendency information | David Allsopp | 2020-04-17 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | When building for the first time, the only requirement is that generated header files have been built (jumptbl.h, version.h and opnames.h). Detailed dependency information is only required when headers have been edited. COMPUTE_DEPS in Makefile.config controls whether C dependency information should be generated on a per-file basis. This variable is controlled by a new --disable-dependency-generation in configure which is enabled for Git checkouts and disabled for tarballs (i.e. releases). The Microsoft C compiler (cl) cannot generate dependencies in a consistent way which we can consume, so for a Git checkout configure searches for an additional C compiler in order to compute dependencies. This is obviously not required for a user-build. As a result, the MSVC port can now safely run make alldepend, since only OCaml dependency information is committed to the repo after this change. CI does not need to waste time testing the dependency information, because it only tests a single build. A single Travis job has been added which tests the build system code to generate the dependency information (and provides a single `make -j` run in CI, although Inria's CI also tests parallel building continuously). |