1
0

Compare commits

...

2 Commits
79 ... 125

Author SHA1 Message Date
12785b1711 Merge pull request #10 from linuxserver/deprecate_cpu_core
deprecate cpu_core routine lack of scaling
2018-01-03 20:13:07 +00:00
548e6e1cf7 deprecate cpu_core routine lack of scaling 2018-01-03 09:37:25 +00:00
2 changed files with 2 additions and 14 deletions

View File

@ -42,25 +42,12 @@ RUN \
LCDSUPPORT \
LEDSUPPORT \
READ_SDT_CHARSETS && \
echo "**** attempt to set number of cores available for make to use ****" && \
set -ex && \
CPU_CORES=$( < /proc/cpuinfo grep -c processor ) || echo "failed cpu look up" && \
if echo $CPU_CORES | grep -E -q '^[0-9]+$'; then \
: ;\
if [ "$CPU_CORES" -gt 7 ]; then \
CPU_CORES=$(( CPU_CORES - 3 )); \
elif [ "$CPU_CORES" -gt 5 ]; then \
CPU_CORES=$(( CPU_CORES - 2 )); \
elif [ "$CPU_CORES" -gt 3 ]; then \
CPU_CORES=$(( CPU_CORES - 1 )); fi \
else CPU_CORES="1"; fi && \
make -j $CPU_CORES \
make \
CONF_DIR=/config \
DEFAULT_PCSC_FLAGS="-I/usr/include/PCSC" \
NO_PLUS_TARGET=1 \
OSCAM_BIN=/usr/bin/oscam \
pcsc-libusb && \
set +ex && \
echo "**** fix broken permissions from pcscd install ****" && \
chown root:root \
/usr/sbin/pcscd && \

View File

@ -100,6 +100,7 @@ The web interface is at port 8888.
## Versions
+ **03.01.18:** Deprecate cpu_core routine lack of scaling.
+ **13.12.17:** Rebase to alpine 3.7.
+ **19.10.17:** Add ccid package for usb card readers.
+ **17.10.17:** Switch to using bzr for source code, streamboard awol.