mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Rename the poclbm file to ensure a new binary is built since.
This commit is contained in:
parent
fc184625d2
commit
a7707a26cb
@ -15,14 +15,14 @@ INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES)
|
|||||||
|
|
||||||
bin_PROGRAMS = cgminer
|
bin_PROGRAMS = cgminer
|
||||||
|
|
||||||
bin_SCRIPTS = phatk110714.cl poclbm.cl
|
bin_SCRIPTS = phatk110714.cl poclbm110717.cl
|
||||||
|
|
||||||
cgminer_SOURCES = elist.h miner.h compat.h \
|
cgminer_SOURCES = elist.h miner.h compat.h \
|
||||||
main.c util.c \
|
main.c util.c \
|
||||||
ocl.c ocl.h findnonce.c findnonce.h \
|
ocl.c ocl.h findnonce.c findnonce.h \
|
||||||
sha256_generic.c sha256_4way.c sha256_via.c \
|
sha256_generic.c sha256_4way.c sha256_via.c \
|
||||||
sha256_cryptopp.c sha256_sse2_amd64.c \
|
sha256_cryptopp.c sha256_sse2_amd64.c \
|
||||||
phatk110714.cl poclbm.cl
|
phatk110714.cl poclbm110717.cl
|
||||||
|
|
||||||
cgminer_LDFLAGS = $(PTHREAD_FLAGS)
|
cgminer_LDFLAGS = $(PTHREAD_FLAGS)
|
||||||
cgminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ lib/libgnu.a ccan/libccan.a
|
cgminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ lib/libgnu.a ccan/libccan.a
|
||||||
|
6
ocl.c
6
ocl.c
@ -339,11 +339,11 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
|||||||
*/
|
*/
|
||||||
char binaryfilename[255];
|
char binaryfilename[255];
|
||||||
char numbuf[10];
|
char numbuf[10];
|
||||||
char filename[15];
|
char filename[16];
|
||||||
if (clState->hasBitAlign)
|
if (clState->hasBitAlign)
|
||||||
strcpy(filename, "phatk110714.cl");
|
strcpy(filename, "phatk110714.cl");
|
||||||
else
|
else
|
||||||
strcpy(filename, "poclbm.cl");
|
strcpy(filename, "poclbm110717.cl");
|
||||||
FILE *binaryfile;
|
FILE *binaryfile;
|
||||||
size_t *binary_sizes;
|
size_t *binary_sizes;
|
||||||
char **binaries;
|
char **binaries;
|
||||||
@ -373,7 +373,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
|||||||
strcat(binaryfilename, "phatk110714");
|
strcat(binaryfilename, "phatk110714");
|
||||||
strcat(binaryfilename, "bitalign");
|
strcat(binaryfilename, "bitalign");
|
||||||
} else
|
} else
|
||||||
strcat(binaryfilename, "poclbm");
|
strcat(binaryfilename, "poclbm110717");
|
||||||
strcat(binaryfilename, "v");
|
strcat(binaryfilename, "v");
|
||||||
sprintf(numbuf, "%d", clState->preferred_vwidth);
|
sprintf(numbuf, "%d", clState->preferred_vwidth);
|
||||||
strcat(binaryfilename, numbuf);
|
strcat(binaryfilename, numbuf);
|
||||||
|
Loading…
Reference in New Issue
Block a user