[Users] simfactory build verbose

Erik Schnetter schnetter at cct.lsu.edu
Thu Dec 20 09:16:06 CST 2012


Yes, please apply.

-erik


On Tue, Dec 18, 2012 at 6:30 PM, Steven R. Brandt <sbrandt at cct.lsu.edu>wrote:

> I had been under the impression that --verbose would trigger a build
> with VERBOSE=yes from simfactory, but I
> gather that the thing that --verbose makes verbose is simfactory itself,
> and not the build process. Would it be
> good if make became verbose as well? Here is a crude hack that does it.
>
> Until then, I use this:
> Index: simfactory/lib/sim-build.py
> ===================================================================
> --- simfactory/lib/sim-build.py    (revision 1866)
> +++ simfactory/lib/sim-build.py    (working copy)
> @@ -324,9 +324,13 @@
>       DefineDatabase.Set('EMAIL', email)
>
>       make = DefineDatabase.SubAll(machineEntry.GetKey('make'))
> +
> +    opts = ""
> +    if simenv.VERBOSE:
> +        opts = "VERBOSE=yes"
>
>       display("Building %s" % configName)
> -    ret = simlib.ExecuteCommand("cd %s && %s %s 2>&1" %
> (simenv.CACTUS_PATH, make, configName))
> +    ret = simlib.ExecuteCommand("cd %s && %s %s %s 2>&1" %
> (simenv.CACTUS_PATH, make, configName, opts))
>       if ret != 0:
>           sys.exit(1)
>
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
>



-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20121220/16b291f8/attachment.html 


More information about the Users mailing list