This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Make Makefile.am work in parallel


Mark> So, we could do, roughly speaking:
Mark>   gcj -C -d tmp foo.java
Mark>   mv tmp/foo.class foo.class

Oh, I was thinking we would implement this guarantee in the compiler
itself, making it SMP-proof.

Mark> That would be atomic on all sane systems, I believe, since the
Mark> two directories are known to be part of the same file system.
Mark> Would a patch to do that be acceptable?

Given that chunking the build is probably buggy, and that the current
build is too slow, I think this would be fine.

Mark> I suppose that even doing them in blocks of N would be an
Mark> improvement over the current method, though, and relatively
Mark> noncontroversial.

Yeah.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]