Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Commit 3ebc315

Browse files
committed
deprecate cpu_core routine lack of scaling
1 parent 55d5257 commit 3ebc315

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

Dockerfile

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,8 @@ RUN \
9898
-DUSE_STATIC_LIBSTDCXX=OFF \
9999
-DUSE_STATIC_OPENZWAVE=OFF \
100100
-Wno-dev && \
101-
echo "**** attempt to set number of cores available for make to use ****" && \
102-
set -ex && \
103-
CPU_CORES=$( < /proc/cpuinfo grep -c processor ) || echo "failed cpu look up" && \
104-
if echo $CPU_CORES | grep -E -q '^[0-9]+$'; then \
105-
: ;\
106-
if [ "$CPU_CORES" -gt 7 ]; then \
107-
CPU_CORES=$(( CPU_CORES - 3 )); \
108-
elif [ "$CPU_CORES" -gt 5 ]; then \
109-
CPU_CORES=$(( CPU_CORES - 2 )); \
110-
elif [ "$CPU_CORES" -gt 3 ]; then \
111-
CPU_CORES=$(( CPU_CORES - 1 )); fi \
112-
else CPU_CORES="1"; fi && \
113-
make -j $CPU_CORES && \
101+
make && \
114102
make install && \
115-
set +ex && \
116103
echo "**** determine runtime packages using scanelf ****" && \
117104
RUNTIME_PACKAGES="$( \
118105
scanelf --needed --nobanner /var/lib/domoticz/domoticz \

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ The user manual is available at [www.domoticz.com][appurl]
107107

108108
## Versions
109109

110-
+ **08.12.2017:** Rebase to alpine 3.7.
111-
+ **26.11.2017:** Use cpu core counting routine to speed up build time.
112-
+ **28.05.2017:** Rebase to alpine 3.6.
113-
+ **26.02.2017:** Add curl and replace openssl with libressl.
114-
+ **11.02.2017:** Update README.
115-
+ **03.01.2017:** Initial Release.
110+
+ **04.01.18:** Deprecate cpu_core routine lack of scaling.
111+
+ **08.12.17:** Rebase to alpine 3.7.
112+
+ **26.11.17:** Use cpu core counting routine to speed up build time.
113+
+ **28.05.17:** Rebase to alpine 3.6.
114+
+ **26.02.17:** Add curl and replace openssl with libressl.
115+
+ **11.02.17:** Update README.
116+
+ **03.01.17:** Initial Release.

0 commit comments

Comments
 (0)