Skip to content

Commit

Permalink
Merge branch 'Verus2' of https://github.com/monkins1010/ccminer into …
Browse files Browse the repository at this point in the history
…Verus2
  • Loading branch information
monkins1010 committed Apr 27, 2019
2 parents 6c46309 + e3fc358 commit 61f24ba
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 1 deletion.
91 changes: 91 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
stages:
- build
########################################################################################################################
####START#### PROJECT LEVEL VARIABLES ####START####
########################################################################################################################
variables:
VERSION: "4.2"
DOCKER_DRIVER: overlay2
POST_MESSAGE: "Pipeline Trigger: ${CI_PIPELINE_SOURCE}\n
Branch: ${CI_COMMIT_REF_NAME}\n
Commit: ${CI_COMMIT_SHA}\n
${CI_COMMIT_MESSAGE}"
########################################################################################################################
####END#### PROJECT LEVEL VARIABLES ####END####
########################################################################################################################

build:ubuntu:cuda8:
image: asherd/verus-builders:ccminer-cuda8-ubuntu
stage: build
script:
- ./autogen.sh
- ./configure
- make -j$(nproc)
- if [ "${CI_COMMIT_REF_NAME}" = "master" ]; then strip -g ccminer; fi
- mkdir ccminer-cuda8
# - mv scripts/run-verushash.sh ccminer ccminer-cuda8
# - chmod +x ccminer-cuda8/ccminer ccminer-cuda8/run-verushash.sh
- tar -czvf ccminer-cuda8.tar.gz ccminer-cuda8
- sha256sum ccminer-cuda8.tar.gz > ccminer-cuda8.tar.gz.sha256
- curl -F [email protected]
-F channels=ccminer-builds
-F initial_comment="${POST_MESSAGE}"
-H "${SLACK_BOT_AUTH}"
"https://slack.com/api/files.upload"
artifacts:
paths:
- ccminer-cuda8.tar.gz
- ccminer-cuda8.tar.gz.gz.sha256
expire_in: 1 week


build:ubuntu:cuda9:
image: asherd/verus-builders:ccminer-cuda9-ubuntu
stage: build
script:
- ./autogen.sh
- ./configure
- make -j$(nproc)
- if [ "${CI_COMMIT_REF_NAME}" = "master" ]; then strip -g ccminer; fi
- mkdir ccminer-cuda9
# - mv scripts/run-verushash.sh ccminer ccminer-cuda9
# - chmod +x ccminer-cuda9/ccminer ccminer-cuda9/run-verushash.sh
- tar -czvf ccminer-cuda9.tar.gz ccminer-cuda9
- sha256sum ccminer-cuda9.tar.gz > ccminer-cuda9.tar.gz.sha256
- curl -F [email protected]
-F channels=ccminer-builds
-F initial_comment="${POST_MESSAGE}"
-H "${SLACK_BOT_AUTH}"
"https://slack.com/api/files.upload"
artifacts:
paths:
- ccminer-cuda9.tar.gz
- ccminer-cuda9.tar.gz.gz.sha256
expire_in: 1 week


build:ubuntu:cuda10:
image: asherd/verus-builders:ccminer-cuda10-ubuntu
stage: build
script:
- ./autogen.sh
- ./configure
- make -j$(nproc)
- if [ "${CI_COMMIT_REF_NAME}" = "master" ]; then strip -g ccminer; fi
- mkdir ccminer-cuda10
# - mv scripts/run-verushash.sh ccminer ccminer-cuda10
# - chmod +x ccminer-cuda10/ccminer ccminer-cuda10/run-verushash.sh
- tar -czvf ccminer-cuda10.tar.gz ccminer-cuda10
- sha256sum ccminer-cuda10.tar.gz > ccminer-cuda10.tar.gz.sha256
- curl -F [email protected]
-F channels=ccminer-builds
-F initial_comment="${POST_MESSAGE}"
-H "${SLACK_BOT_AUTH}"
"https://slack.com/api/files.upload"
artifacts:
paths:
- ccminer-cuda10.tar.gz
- ccminer-cuda10.tar.gz.gz.sha256
expire_in: 1 week


2 changes: 1 addition & 1 deletion verus/verus.cu
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ __device__ __forceinline__ uint128m _mm_clmulepi64_si128_emu2(uint128m ai)
//uint64_t b = 27 ;
uint8_t i; //window size s = 4,
//uint64_t two_s = 16; //2^s
//uint64_t smask = 15; //s 15
//uint64_t smask = 15; //s 15
uint8_t u[8];
uint128m r;
uint64_t tmp;
Expand Down
Binary file modified verus/verus.o
Binary file not shown.

0 comments on commit 61f24ba

Please sign in to comment.