Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/build_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,20 @@ jobs:
echo "SHARUN=pwsh $GITHUB_WORKSPACE\psutils\shasum.ps1 --algorithm 256" >> $GITHUB_ENV
# vcpkg.exe install sqlite3:x64-windows zlib:x64-windows
# Bug in choco - need to install each package individually
choco upgrade llvm -y
#choco upgrade llvm -y
choco upgrade protoc -y
choco install openssl -y
# openssl install stupidness
#choco install openssl -y
#echo "OPENSSL_DIR=C:\Program Files\OpenSSL-Win64" >> $GITHUB_ENV
# choco upgrade opencl-intel-cpu-runtime -y
vcpkg.exe --triplet=x64-windows install opencl
# openssl install stupidness
echo "OPENSSL_DIR=C:\Program Files\OpenSSL-Win64" >> $GITHUB_ENV
# Needed for openssl via vcpkg
vcpkg install openssl:x64-windows-static
echo "VCPKG_ROOT=C:\vcpkg" >> $GITHUB_ENV
echo "OPENSSL_DIR=C:\vcpkg\packages\openssl_x64-windows-static" >> $GITHUB_ENV
#echo "OPENSSL_STATIC=Yes" >> $GITHUB_ENV
#echo "VCPKGRS_DYNAMIC=1" >> $GITHUB_ENV
rustup target add ${{ matrix.builds.target }}

- name: Install and setup cargo cross
if: ${{ matrix.builds.cross }}
Expand Down Expand Up @@ -254,7 +261,7 @@ jobs:
${{ matrix.builds.flags }} \
--bin ${{ env.TS_FILENAME }}

- name: Build release binaries
- name: Build release binaries (info)
if: ${{ false }}
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "xtrgpuminer"
version = "0.2.7"
edition = "2021"

[dependencies]
anyhow = "*"
Expand Down
6 changes: 3 additions & 3 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ passthrough = [
#image.toolchain = ["linux/arm64=aarch64-unknown-linux-gnu", "linux/amd64=x86_64-unknown-linux-gnu"]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install libprotobuf-dev protobuf-compiler opencl-headers ocl-icd-opencl-dev:$CROSS_DEB_ARCH"
"apt-get update && apt-get --assume-yes install libprotobuf-dev protobuf-compiler opencl-headers ocl-icd-opencl-dev:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH"
]

[target.aarch64-unknown-linux-gnu.env]
Expand All @@ -38,7 +38,7 @@ passthrough = [
#image.toolchain = ["linux/arm64=aarch64-unknown-linux-gnu", "linux/amd64=x86_64-unknown-linux-gnu"]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install libprotobuf-dev protobuf-compiler opencl-headers ocl-icd-opencl-dev:$CROSS_DEB_ARCH"
"apt-get update && apt-get --assume-yes install libprotobuf-dev protobuf-compiler opencl-headers ocl-icd-opencl-dev:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH"
]

[target.x86_64-unknown-linux-gnu.env]
Expand All @@ -50,7 +50,7 @@ passthrough = [
#image.toolchain = ["linux/arm64=aarch64-unknown-linux-gnu", "linux/amd64=x86_64-unknown-linux-gnu", "linux/riscv64=riscv64gc-unknown-linux-gnu"]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install libprotobuf-dev protobuf-compiler opencl-headers ocl-icd-opencl-dev:$CROSS_DEB_ARCH"
"apt-get update && apt-get --assume-yes install libprotobuf-dev protobuf-compiler opencl-headers ocl-icd-opencl-dev:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH"
]

[target.riscv64gc-unknown-linux-gnu.env]
Expand Down