Skip to content

Commit

Permalink
Update fetch-artifact script to resolve new artifacts (#371)
Browse files Browse the repository at this point in the history
* Updating gr fetch script and build-wheels

* Restoring prior functionality for fetch-harvester

* Switch bladebit git ref in CMakeList.txt
  • Loading branch information
wallentx committed Jul 7, 2023
1 parent 56fd59b commit 957160a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/actions/fetch_bladebit_harvester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ if [[ "${host_arch}" != "arm64" ]] && [[ "${host_arch}" != "x86-64" ]]; then
exit 1
fi

# Update these when pointing to different releases
## Change this before releasing 2.0.0
artifact_ver="v3.0.0-alpha4"
artifact_base_url="https://github.com/harold-b/bladebit-test/releases/download/v3-alpha4-fixes"
## End changes

linux_sha256=
macos_sha256=
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ jobs:
run: |
set -eo pipefail
set -x
windows_sha256='98627bc1866aef67cb6307178caa5da15d59ad6fbddf2817ba8737619e68607f'
windows_sha256='febea2317b7e858e296a30344a5382161cebc1a66678975151b117f17cda5181'
.github/actions/fetch_bladebit_harvester.sh windows x86-64
- name: Build and test
Expand All @@ -156,10 +155,10 @@ jobs:
set -eo pipefail
ARCH=$(uname -m)
if [[ $ARCH == x86_64 ]]; then
linux_sha256='c34f492f5cc75d8f469cda9e214d1b303fe859632af99902d8c303eab40ef817'
linux_sha256='ef3f8f74b9c63166a735eb1f2cb855e88b36f50ad52c9d51cf32eb3e9e25428e'
.github/actions/fetch_bladebit_harvester.sh linux x86-64
else
linux_sha256='27b96b0fe89bdf810baf553627fb3607978d4e055ab1bcd113dfb37cd92288e9'
linux_sha256='fcc8bf849733781c82c0b13b70bbba57aaf82abc9a0e2aee7b1ba3da6b0e58f2'
.github/actions/fetch_bladebit_harvester.sh linux arm64
fi
Expand All @@ -172,10 +171,10 @@ jobs:
set -eo pipefail
ARCH=$(uname -m)
if [[ $ARCH == x86_64 ]]; then
macos_sha256='797a2f481acb3aef6cb9dd3cb408127ef2d556a21240d14dd68fb7dd60023438'
macos_sha256='199720c9dff72e883edbd027c31cc03ed9f901e6a00e2be5a7e8ac2633ecb69c'
.github/actions/fetch_bladebit_harvester.sh macos x86-64
else
macos_sha256='c46d232689adfc2da08bfdbdb3742ac607b96298b61d0f6b69d0a1f28fd853bc'
macos_sha256='932d73c6a70df59bbe7baf3702cc74cc8eb483f5e6a94551b3089779b1e7b010'
.github/actions/fetch_bladebit_harvester.sh macos arm64
fi
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if (${CP_BUILD_BLADEBIT_HARVESTER})
FetchContent_Declare(
bladebit
GIT_REPOSITORY https://github.com/Chia-Network/bladebit.git
GIT_TAG fix-cuda-compression-device-lost
GIT_TAG cuda-compression
)

set(BB_HARVESTER_ONLY ON)
Expand Down

0 comments on commit 957160a

Please sign in to comment.