Yes! I saw references to that repository for this exact purpose.
If you mean for me to use the branch at this URL:
https://github.com/KBomba/ccminer-KBomba/tree/ccminer-for-compute-2.x...I had problems cloning it. Here are the results from two variations on the URL, depending on where on the github page I copied it:
$ git clone https://github.com/KBomba/ccminer-KBomba/tree/ccminer-for-compute-2.x
Cloning into 'ccminer-for-compute-2.x'...
fatal: repository 'https://github.com/KBomba/ccminer-KBomba/tree/ccminer-for-compute-2.x/' not found
$ git clone https://github.com/KBomba/ccminer-KBomba/tree/ccminer-for-compute-2.x#
Cloning into 'ccminer-for-compute-2.x#'...
fatal: https://github.com/KBomba/ccminer-KBomba/tree/ccminer-for-compute-2.x#/info/refs not valid: is this a git repository?
Is there some subtlety to working with different branches on github? I've never dealt with it much before now...
As for the main branch at
https://github.com/KBomba/ccminer-KBomba, it clones without a problem, but I can't get past the 'make' command, which seems to end in an error. The 'sudo make install' command barfs, looking like it's not finding the files it's looking for. Thus:
$ git clone https://github.com/KBomba/ccminer-KBomba
Cloning into 'ccminer-KBomba'...
remote: Counting objects: 1329, done.
remote: Total 1329 (delta 0), reused 0 (delta 0), pack-reused 1329
Receiving objects: 100% (1329/1329), 2.04 MiB | 1.90 MiB/s, done.
Resolving deltas: 100% (783/783), done.
Checking connectivity... done.
$ ./autogen.sh
Makefile.am:16: warning: source file 'sph/bmw.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:16: warning: source file 'sph/blake.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/groestl.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/jh.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/keccak.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/skein.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/fugue.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/cubehash.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/echo.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/luffa.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/shavite.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/simd.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/hamsi.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/hamsi_helper.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/shabal.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'sph/whirlpool.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
$
$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/user/test/ccminer-KBomba/missing: Unknown `--is-lightweight' option
Try `/home/user/test/ccminer-KBomba/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking dependency style of gcc -std=gnu99... gcc3
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc -std=gnu99 option to support OpenMP... -fopenmp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... yes
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking for SSL_library_init in -lssl... yes
checking for EVP_DigestFinal_ex in -lcrypto... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.35.0
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating cpuminer-config.h
config.status: executing depfiles commands
$
$ make
/bin/bash ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating cpuminer-config.h
config.status: cpuminer-config.h is unchanged
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/home/user/test/ccminer-KBomba'
Making all in compat
make[2]: Entering directory `/home/user/test/ccminer-KBomba/compat'
Making all in jansson
make[3]: Entering directory `/home/user/test/ccminer-KBomba/compat/jansson'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c
mv -f .deps/dump.Tpo .deps/dump.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c
mv -f .deps/hashtable.Tpo .deps/hashtable.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/load.Tpo .deps/load.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c
mv -f .deps/utf.Tpo .deps/utf.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c
mv -f .deps/value.Tpo .deps/value.Po
rm -f libjansson.a
ar cru libjansson.a dump.o hashtable.o load.o strbuffer.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory `/home/user/test/ccminer-KBomba/compat/jansson'
make[3]: Entering directory `/home/user/test/ccminer-KBomba/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/user/test/ccminer-KBomba/compat'
make[2]: Leaving directory `/home/user/test/ccminer-KBomba/compat'
make[2]: Entering directory `/home/user/test/ccminer-KBomba'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-cpu-miner.o -MD -MP -MF .deps/ccminer-cpu-miner.Tpo -c -o ccminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
mv -f .deps/ccminer-cpu-miner.Tpo .deps/ccminer-cpu-miner.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-util.o -MD -MP -MF .deps/ccminer-util.Tpo -c -o ccminer-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/ccminer-util.Tpo .deps/ccminer-util.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-bmw.o -MD -MP -MF .deps/ccminer-bmw.Tpo -c -o ccminer-bmw.o `test -f 'sph/bmw.c' || echo './'`sph/bmw.c
mv -f .deps/ccminer-bmw.Tpo .deps/ccminer-bmw.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-blake.o -MD -MP -MF .deps/ccminer-blake.Tpo -c -o ccminer-blake.o `test -f 'sph/blake.c' || echo './'`sph/blake.c
mv -f .deps/ccminer-blake.Tpo .deps/ccminer-blake.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-groestl.o -MD -MP -MF .deps/ccminer-groestl.Tpo -c -o ccminer-groestl.o `test -f 'sph/groestl.c' || echo './'`sph/groestl.c
mv -f .deps/ccminer-groestl.Tpo .deps/ccminer-groestl.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-jh.o -MD -MP -MF .deps/ccminer-jh.Tpo -c -o ccminer-jh.o `test -f 'sph/jh.c' || echo './'`sph/jh.c
mv -f .deps/ccminer-jh.Tpo .deps/ccminer-jh.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-keccak.o -MD -MP -MF .deps/ccminer-keccak.Tpo -c -o ccminer-keccak.o `test -f 'sph/keccak.c' || echo './'`sph/keccak.c
mv -f .deps/ccminer-keccak.Tpo .deps/ccminer-keccak.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-skein.o -MD -MP -MF .deps/ccminer-skein.Tpo -c -o ccminer-skein.o `test -f 'sph/skein.c' || echo './'`sph/skein.c
mv -f .deps/ccminer-skein.Tpo .deps/ccminer-skein.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-hefty1.o -MD -MP -MF .deps/ccminer-hefty1.Tpo -c -o ccminer-hefty1.o `test -f 'hefty1.c' || echo './'`hefty1.c
mv -f .deps/ccminer-hefty1.Tpo .deps/ccminer-hefty1.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-scrypt.o -MD -MP -MF .deps/ccminer-scrypt.Tpo -c -o ccminer-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c
scrypt.c: In function ‘scanhash_scrypt’:
scrypt.c:724:4: warning: implicit declaration of function ‘scrypt_1024_1_1_256_4way’ [-Wimplicit-function-declaration]
scrypt_1024_1_1_256_4way(data, hash, midstate, scratchbuf);
^
scrypt.c:729:4: warning: implicit declaration of function ‘scrypt_1024_1_1_256_12way’ [-Wimplicit-function-declaration]
scrypt_1024_1_1_256_12way(data, hash, midstate, scratchbuf);
^
scrypt.c:734:4: warning: implicit declaration of function ‘scrypt_1024_1_1_256_24way’ [-Wimplicit-function-declaration]
scrypt_1024_1_1_256_24way(data, hash, midstate, scratchbuf);
^
scrypt.c:739:4: warning: implicit declaration of function ‘scrypt_1024_1_1_256_3way’ [-Wimplicit-function-declaration]
scrypt_1024_1_1_256_3way(data, hash, midstate, scratchbuf);
^
mv -f .deps/ccminer-scrypt.Tpo .deps/ccminer-scrypt.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-sha2.o -MD -MP -MF .deps/ccminer-sha2.Tpo -c -o ccminer-sha2.o `test -f 'sha2.c' || echo './'`sha2.c
mv -f .deps/ccminer-sha2.Tpo .deps/ccminer-sha2.Po
nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o heavy/heavy.o -c heavy/heavy.cu
/bin/bash: nvcc: command not found
make[2]: *** [heavy/heavy.o] Error 127
make[2]: Leaving directory `/home/user/test/ccminer-KBomba'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/test/ccminer-KBomba'
make: *** [all] Error 2
$
$ sudo make install
[sudo] password for user:
make: stat: GNUmakefile: Permission denied
make: stat: makefile: Permission denied
make: stat: Makefile: Permission denied
make: stat: install: Permission denied
make: *** No rule to make target `install'. Stop.
$
So that's the farthest I got trying to compile ccminer, whatever version.
you must use 1.0.02
What do you mean by that? I don't see this version number anywhere?
Sorry if I'm being obtuse. I'm new to git and haven't done many compiles before.
Thank you very much for responding!
M.