Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 24 Jul 2013 02:39:43 +0100
From: Rafael Waldo Delgado Doblas <lord.rafa@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: cryptocurrency mining fallback in JtR

Hello,

2013/7/24 Solar Designer <solar@...nwall.com>

> Rafael, Jeremi, Lukas -
>
> Thank you for starting to quote inline.  A further improvement could be
> to attribute your quotes, like your MUA probably does for you - just let
> it do that. ;-)
>

I hope don't forget it anymore, my apologies for the inconvenience.


> Solar wrote:
> > > Great.  Are there any usage instructions for an advanced end-user, so
> > > that we could ask someone to try this out?  If not yet, then please
> > > write some.
>
> On Tue, Jul 23, 2013 at 04:57:56AM +0100, Rafael Waldo Delgado Doblas
> wrote:
> > I have written a draft here:
> > http://openwall.info/wiki/john/cgminer_integration
>
> Thanks.  Can you please add proper wiki formatting to this page, and
> also include its content (without wiki formatting) as doc/CGMINER in
> your JtR tree?
>

Ok, I will do that right now.


> Jeremi - would you help test Rafael's JtR/cgminer integration?
>
> > Acturally yes, the first thing that I tried to do was add to the Makefile
> >
> > ../run/cgminer: ../run/john
> >         cd cgminer; ./configure; make;.....
> >
> > But the configure scrypt didn't work. Maybe there are a problem with the
> > make env variables.
>
> In addition to the info request (in the other message):
>
> You don't have to make ../run/cgminer depend on ../run/john - instead,
> you can simply add ../run/cgminer to the end of PROJ.
>

Finally I could solve it with:

PROJ = [......] ../run/cgminer ../run/dtach

..........

../run/cgminer:
    cd cgminer && CFLAGS="-O2 -Wall -march=native -I$(OCLROOT)/include"
LDFLAGS="-L/usr/lib" ./configure  --enable-scrypt && \
        make CFLAGS="" LDFLAGS=""
    mv cgminer/cgminer ../run/
    cp cgminer/*.cl ../run/

../run/dtach:
    cd dtach && CFLAGS="" LDFLAGS="" ./configure && make CFLAGS="-W -Wall
-I." LDFLAGS=""
    mv dtach/dtach ../run/

As you're probably aware, it is better to separate these commands with
> "&&" rather than ";" - e.g., it'd be pointless to run "./configure" if
> "cd cgminer" has failed.
>

Done.

Best regards,
Rafael.

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.