Skip to content

Commit da2c146

Browse files
committed
Restore support for CPUs without AES-NI support
1 parent 96cb482 commit da2c146

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docker/bootstrap-node.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ RUN \
7878
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \
7979
case "$TARGETVARIANT" in \
8080
# x86-64-v2 with AES-NI
81-
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2 -C target-feature=+aes" ;; \
81+
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \
8282
# x86-64-v3 with AES-NI
8383
"v3") export RUSTFLAGS="-C target-cpu=x86-64-v3 -C target-feature=+aes" ;; \
8484
# v4 is compiled for Zen 4+

docker/farmer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ RUN \
117117
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = "" ]; then \
118118
case "$TARGETVARIANT" in \
119119
# x86-64-v2 with AES-NI
120-
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2 -C target-feature=+aes" ;; \
120+
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \
121121
# x86-64-v3 with AES-NI
122122
"v3") export RUSTFLAGS="-C target-cpu=x86-64-v3 -C target-feature=+aes" ;; \
123123
# v4 is compiled for Zen 4+

docker/node.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ RUN \
7979
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \
8080
case "$TARGETVARIANT" in \
8181
# x86-64-v2 with AES-NI
82-
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2 -C target-feature=+aes" ;; \
82+
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \
8383
# x86-64-v3 with AES-NI
8484
"v3") export RUSTFLAGS="-C target-cpu=x86-64-v3 -C target-feature=+aes" ;; \
8585
# v4 is compiled for Zen 4+

docker/runtime.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ RUN \
7878
if [ $TARGETARCH = "amd64" ] && [ "$RUSTFLAGS" = ""]; then \
7979
case "$TARGETVARIANT" in \
8080
# x86-64-v2 with AES-NI
81-
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2 -C target-feature=+aes" ;; \
81+
"v2") export RUSTFLAGS="-C target-cpu=x86-64-v2" ;; \
8282
# x86-64-v3 with AES-NI
8383
"v3") export RUSTFLAGS="-C target-cpu=x86-64-v3 -C target-feature=+aes" ;; \
8484
# v4 is compiled for Zen 4+

0 commit comments

Comments
 (0)