[Omake] -k flag not working?

Aleksey Nogin anogin at hrl.com
Fri Sep 28 18:42:52 PDT 2007


On 28.09.2007 12:50, Jared C. Davis wrote:

> I was trying to use the -k switch to have my build continue even after
> an error, but this doesn't seem to be working.  For example, I ran:
> 
> $ omake -j 2 -k
> 
> and two of my files began to build.  The first file failed while the
> other was still building, and the following message was produced:
> 
> *** omake: 1545/1549 targets are up to date
> *** omake: failed (1286.7 sec, 1/365 scans, 5/743 rules, 4/2063 digests)
> *** omake error:
>    File ACL2/bootstrap/build/level4/OMakefile: line 28, characters 1-35
>    rule failed to build target: ACL2/bootstrap/build/level4/aux-split.pcert
> 
> At this point omake exited, even though the second file was still being built.
> 
> Isn't -k supposed to tell omake to ignore these errors and keep going?

Jared,

Yes, -k is supposed to tell OMake to keep going until it has built 
everything that does not depend on some of the failed targets. I just 
tried the following simple example with 0.9.8.5 and it works correctly 
with "-j2 -k":

foo:
     echo trying foo
     sleep 10
     echo done trying foo
     touch $@

bar:
     sleep 1
     echo bar will fail
     exit 1

.DEFAULT: foo bar

Is you problem reproducible? Could you try reproducing it on a simple 
example? Thanks!

Aleksey
-- 
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA


More information about the Omake mailing list