diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-10-01 00:10:12 +0200 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-10-01 00:10:12 +0200 |
commit | 2558a70c731c7b338b7d7e18922dcecac6fdf091 (patch) | |
tree | fb15bfd0ec9976d58ba2e09bee5ec8c159cf5b34 | |
parent | 8fd095e97a5e6e04cdb3121f15d462c478153f45 (diff) | |
download | xmr-stak-2558a70c731c7b338b7d7e18922dcecac6fdf091.zip xmr-stak-2558a70c731c7b338b7d7e18922dcecac6fdf091.tar.gz |
return 0 if help is called
- add CIvariables to debug cuda build
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | xmrstak/cli/cli-miner.cpp | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 975afda..f9e01ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -83,6 +83,8 @@ install: # CUDA - NVCC_FOUND=$(which nvcc >/dev/null && { echo 0; } || { echo 1; }) + - which nvcc + - echo $NVCC_FOUND - if [ $NVCC_FOUND -ne 0 ]; then mkdir -p $CUDA_ROOT && cd $CUDA_ROOT && @@ -101,5 +103,5 @@ script: else cmake -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} ${XMRSTAK_CMAKE_FLAGS} .; fi; - - make VERBOSE=1 + - make VERBOSE=1 install - ./bin/xmr-stak --help diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp index 585b114..ff31d2c 100644 --- a/xmrstak/cli/cli-miner.cpp +++ b/xmrstak/cli/cli-miner.cpp @@ -119,7 +119,8 @@ int main(int argc, char *argv[]) if(opName.compare("-h") == 0 || opName.compare("--help") == 0) { help(); - win_exit(); + // \todo give return code to win_exit to allow passing CI + //win_exit(); return 0; } else if(opName.compare("--noCPU") == 0) |