mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-29 16:04:33 +00:00
Fix pacakaging missing adl headers and build failure without adl sdk headers installed.
This commit is contained in:
parent
2f5f7efd22
commit
a1ba15fb52
@ -24,7 +24,7 @@ cgminer_SOURCES = elist.h miner.h compat.h bench_block.h \
|
||||
sha256_generic.c sha256_4way.c sha256_via.c \
|
||||
sha256_cryptopp.c sha256_sse2_amd64.c \
|
||||
sha256_sse4_amd64.c sha256_sse2_i386.c \
|
||||
adl.c \
|
||||
adl.c adl.h adl_functions.h \
|
||||
phatk110817.cl poclbm110817.cl
|
||||
|
||||
cgminer_LDFLAGS = $(PTHREAD_FLAGS)
|
||||
|
8
adl.h
8
adl.h
@ -19,9 +19,9 @@ void change_gpusettings(int gpu);
|
||||
void gpu_autotune(int gpu);
|
||||
void clear_adl(int nDevs);
|
||||
#else /* HAVE_ADL */
|
||||
void init_adl(int nDevs) {}
|
||||
void change_gpusettings(int gpu) { }
|
||||
void gpu_autotune(int gpu) { }
|
||||
void clear_adl(int nDevs) {}
|
||||
static inline void init_adl(int nDevs) {}
|
||||
static inline void change_gpusettings(int gpu) { }
|
||||
static inline void gpu_autotune(int gpu) { }
|
||||
static inline void clear_adl(int nDevs) {}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user