[Scons-users] CudaTool

William Blevins wblevins001 at gmail.com
Tue Jun 16 10:30:45 EDT 2015


You called env1.Append( options ) twice.  I assume u need to call env1 with
foo and env2 with bar.
On Jun 16, 2015 8:31 AM, "David Wade" <DAWAD at statoil.com> wrote:

>  Hi,
>
>
>
> I have been using this nifty bit of python for some time:
> https://bitbucket.org/scons/scons/wiki/CudaTool
>
> Just ran into an issue of finding scons was trying to run “ar rc foo.o
> foo.linkinfo bar.o bar.linkinfo” when I tried this:
>
>
>
> env1 = env.Clone()
>
> env2 = env.Clone()
>
>
>
> env1.Append(<foo-options>)
>
> foo = env1.StaticObject(“foo.cu”)
>
> env1.Append(<bar-options>)
>
> bar = env2.StaticObject(“bar.cu”)
>
>
>
> env.StaticLibrary(libname, [foo, bar])
>
>
>
> My workaround has been to comment out references to the “Emitter”
> functions in cuda.py … but is this the best thing to do?
>
>
>
> Many thanks!
>
>
> *David Wade*
> Senior Analyst, Seismic Imaging Development
> *ITV SUB RH / HPC Development Team, *Statoil ASA
>
> *Phone*: +47 97572157
> *Email*: *dawad at statoil.com <dawad at statoil.com>*
> *Visitor address*: Vassbotnen 23, Forus, Norway
>
>
> Incorporation number: NO 923 609 016 MVA
> *www.statoil.com <http://www.statoil.com/>*
> Please consider the environment before printing this e-mail.
>
>
>
>
> -------------------------------------------------------------------
> The information contained in this message may be CONFIDENTIAL and is
> intended for the addressee only. Any unauthorised use, dissemination of the
> information or copying of this message is prohibited. If you are not the
> addressee, please notify the sender immediately by return e-mail and delete
> this message.
> Thank you
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150616/907bb64a/attachment-0001.html>


More information about the Scons-users mailing list