diff options
author | David Allsopp <david.allsopp@metastack.com> | 2020-04-17 14:11:22 +0100 |
---|---|---|
committer | David Allsopp <david.allsopp@metastack.com> | 2020-04-17 14:11:22 +0100 |
commit | ac2a9dd188f0738a87018f5ee6e6b0b301bb1b63 (patch) | |
tree | ef3b5d03c80540cc5995a864f90cc95226ac93d8 /.gitignore | |
parent | be6eb2ccdabb957c4817b8a24280b2f4249ac87f (diff) | |
download | ocaml-ac2a9dd188f0738a87018f5ee6e6b0b301bb1b63.tar.gz |
Cease committing C dependendency information
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).
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore index 7a9bfd178d..783a95d6ef 100644 --- a/.gitignore +++ b/.gitignore @@ -114,6 +114,7 @@ _build /ocamldoc/test_latex /ocamldoc/test +/ocamltest/.dep /ocamltest/ocamltest /ocamltest/ocamltest.opt /ocamltest/ocamltest_config.ml @@ -122,6 +123,7 @@ _build /ocamltest/tsl_parser.mli /ocamltest/ocamltest.html +/otherlibs/*/.dep /otherlibs/dynlink/extract_crc /otherlibs/dynlink/dynlink_platform_intf.mli /otherlibs/dynlink/byte/dynlink.mli @@ -186,11 +188,8 @@ _build /runtime/ocamlrund /runtime/ocamlruni /runtime/ld.conf -/runtime/interp.a.lst -/runtime/*.[sd]obj /runtime/.gdb_history -/runtime/*.d.c -/runtime/*.pic.c +/runtime/.dep /runtime/domain_state32.inc /runtime/domain_state64.inc |