[GRASS-dev] Makefile arguments for OpenCL (r.sun)

Yann Chemin ychemin at gmail.com
Mon Jun 24 05:37:09 PDT 2013


Hi,

I am (finally) working a bit on r.sun OpenCL version.

On the computer I use, I could get through compiling it with:

-----
MODULE_TOPDIR = ../..

PGM = r.sun

LIBES = $(GPROJLIB) $(RASTERLIB) $(GISLIB) $(MATHLIB) $(PROJLIB)
-lOpenCL -Wall -W -g -p -O2
DEPENDENCIES = $(GPROJDEP) $(RASTERDEP) $(GISDEP)
EXTRA_INC = $(PROJINC) -Wall -O2 -W -g -p -I/opt/cuda/include

include $(MODULE_TOPDIR)/include/Make/Module.make

default: cmd
-----

Seth Makefile had already "-lOpenCL -Wall -W -g -p -O2" in LIBES

Had to add "-I/opt/cuda/include" for some reason the GRASS configure
was positive in finding it, surely missing something here...


More information about the grass-dev mailing list