Hi Gopal,

On 12/10/2013 09:01 AM, Gopal Rastogi wrote:
> Now i have few doubts about how to build libpocl.so:
> 1. The modification in did in configure.ac <http://configure.ac> file to check
> whether the needed driver library is present or not. Is that modification is
> correct?

It looks OK, but hard to say by just looking -- you need to test and see?

> 2. How to generate new configure script? What sequence of commands I have to
> through to generate a new configure script?

Run ./autogen.sh in the dir where configure.ac is.

> 3. Would above changes be sufficient to add a new driver?

At least you covered the main steps. Then you need to select your
driver by setting the environment variable to POCL_DEVICES="rcs" or
similar to get it listed in your devices list returned from the
platform.

> 4. What else I have to do to generate a new libpocl.so?

Just run make in the root build dir.

> 5. Shall I use pocl master code avialable from github or pocl-0.8.tar.gz from
> http://pocl.sourceforge.net/download.html site?

Github master to keep synch with the latest developments.

BR,
-- 
--Pekka



------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to