Skip to content

Commit

Permalink
fix: plataforms and if dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Jan 8, 2022
1 parent cf3c6b5 commit f2623bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN set -ex; \
mkdir ./xmrig/build && \
sed -i "s/kDefaultDonateLevel = 1;/kDefaultDonateLevel = 0;/g" ./xmrig/src/donate.h && \
sed -i "s/kMinimumDonateLevel = 1;/kMinimumDonateLevel = 0;/g" ./xmrig/src/donate.h && \
if [[ "$(uname -m)" == *"x86_64"* ]]; then export XMRIG_BUILD_ARGS="$XMRIG_BUILD_ARGS -DCMAKE_SYSTEM_PROCESSOR=arm"; fi && \
if [[ "$(uname -m)" == *"aarch64"* ]]; then export XMRIG_BUILD_ARGS="$XMRIG_BUILD_ARGS -DCMAKE_SYSTEM_PROCESSOR=arm"; fi && \
cd xmrig/scripts && ./build_deps.sh && cd ../build && \
cmake .. $XMRIG_BUILD_ARGS && \
make -j$(nproc)
Expand Down

0 comments on commit f2623bd

Please sign in to comment.