mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 06:35:38 +00:00
SSE/SHA & AVX1 -> AVX2 (#124)
* SIMD-instructions support: AVX1 -> AVX2 * SIMD/SSE instructions for SHA
This commit is contained in:
committed by
Wonderfall
parent
92dd056d85
commit
ae33feb556
@ -43,6 +43,8 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
|
||||
&& cd /tmp/boringssl \
|
||||
&& sed -n 's/\$avx = 0/\$avx = 2/p' crypto/*/asm/*.pl \
|
||||
&& sed -n 's/\$addx = 0/\$addx = 1/p' crypto/*/asm/*.pl \
|
||||
&& sed -n 's/\$avx = 1/\$avx = 2/p' crypto/*/asm/*.pl \
|
||||
&& sed -n 's/\$shaext=0/\$shaext=1/p' crypto/*/asm/*.pl \
|
||||
&& mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. \
|
||||
&& make -j ${NB_CORES} && cd .. \
|
||||
&& mkdir -p .openssl/lib/ && cd .openssl && ln -s ../include && cd .. \
|
||||
|
Reference in New Issue
Block a user