[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 10637)

Jason J. Hickey jyh at cs.caltech.edu
Fri May 4 10:48:22 PDT 2007


Here is a proposal for fixing the case-sensitive problem.

The basic idea is that we should enforce case-sensitivity
even on insensitive filesystems.  If that is too strong, then
we should at least enforce it during scanning.  The reason is
that when you port your case-insensitive project to some
other system, you want the build to work the same.

We can't just enforce case-sensitivity by turning off the detection.
The proper solution requires figuring out the actual filenames.

This commit adds Node.real_tail and related functions that
returns the actual filename for the node, which it uses to
implement a strict (case-sensitive) form of target-is-buildable.  Let
me know what you think.

----
Changes:
    +1 -1	omake-branches/0.9.8.x/src/Makefile
    +1 -1	omake-branches/0.9.8.x/src/Makefile.nt
    +123 -97	omake-branches/0.9.8.x/src/build/omake_target.ml
    +3 -0	omake-branches/0.9.8.x/src/build/omake_target.mli
    +5 -5	omake-branches/0.9.8.x/src/builtin/omake_builtin_file.ml
    +5 -0	omake-branches/0.9.8.x/src/env/omake_env.ml
    +2 -0	omake-branches/0.9.8.x/src/env/omake_env.mli
    +5 -1	omake-branches/0.9.8.x/src/ir/omake_cache.ml
    +1 -0	omake-branches/0.9.8.x/src/ir/omake_cache.mli
    +34 -0	omake-branches/0.9.8.x/src/ir/omake_node.ml
    +6 -0	omake-branches/0.9.8.x/src/ir/omake_node_sig.ml
 
A hyperlinked version of this commit is available at
http://svn.metaprl.org/commitlogs/omake/2007-05.html#07/05/04.10:48:22



More information about the OMake-CVS mailing list