Displaying 2 results from an estimated 2 matches for "opencl_libs".
2014 Jun 06
0
Vanitygen on centos linux
...pt/openssl-1.0.1g/lib
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall -L/opt/openssl-1.0.1g/lib
OBJS=vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o
PROGS=vanitygen keyconv oclvanitygen oclvanityminer
PLATFORM=$(shell uname -s)
ifeq ($(PLATFORM),Darwin)
OPENCL_LIBS=-framework OpenCL
else
OPENCL_LIBS=-lOpenCL
endif
most: vanitygen keyconv
all: $(PROGS)
vanitygen: vanitygen.o pattern.o util.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS)
oclvanitygen: oclvanitygen.o oclengine.o pattern.o util.o
$(CC) $^ -o $@ $(CFLAGS) $(LIBS) $(OPENCL_LIBS)
oclvanityminer: oclvanit...
2011 Oct 06
1
[HowTo] OpenCL support in Wine
...ronos.org/registry/cl/api/1.1/cl_platform.h
sudo wget http://www.khronos.org/registry/cl/api/1.1/opencl.h
#custom configure. nVidia provides 32-bit opencl drivers in /usr/lib32#
CC="gcc-4.5 -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" OPENCL_LIBS="/usr/lib32" OPENCL_CFLAGS="/usr/include/CL" ./configure -v --prefix=/usr
#make
make and sudo make install
Now you will have OpenCL support in W.I.N.E. NJoy!