mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-12-01 12:23:57 +01:00
return 0 if help is called
- add CIvariables to debug cuda build
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user