Skip to content

Commit

Permalink
Bump to version 3.23.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cniweb committed Oct 20, 2023
1 parent cce4672 commit 827c5e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ RUN set -x \
libgmp-dev \
libz-dev \
make \
pkg-config
pkg-config \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
RUN set -x \
# Compile from source code.
&& git clone --recursive https://github.com/JayDDee/cpuminer-opt.git /tmp/cpuminer \
&& cd /tmp/cpuminer \
&& git checkout v3.23.1 \
&& git checkout v3.23.3 \
&& ./autogen.sh \
&& extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores" \
&& CFLAGS="-O3 -march=native -Wall" ./configure --with-curl \
Expand All @@ -37,7 +39,9 @@ RUN set -x \
make \
pkg-config \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get -y autoremove --purge \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* \
&& rm -rf /tmp/* \
# Verify
&& cpuminer --cputest \
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
version="3.23.1"
version="3.23.3"
image="cpuminer-opt"
docker build . --tag docker.io/cniweb/$image:$version
docker tag docker.io/cniweb/$image:$version docker.io/cniweb/$image:latest
Expand Down

0 comments on commit 827c5e1

Please sign in to comment.