From b2b2225f3731bf6293faf2f0eaa61ad4849e0ee6 Mon Sep 17 00:00:00 2001 From: Lukasz Klimek <842586+lklimek@users.noreply.github.com> Date: Mon, 2 Dec 2024 10:48:43 +0100 Subject: [PATCH] fix: drive failure on ivy bridge CPU --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 568e232cc6..5c8ac67655 100644 --- a/Dockerfile +++ b/Dockerfile @@ -263,11 +263,8 @@ set -ex -o pipefail git clone https://github.com/facebook/rocksdb.git -b v8.10.2 --depth 1 . source /root/env -if [[ "$TARGETARCH" == "amd64" ]] ; then - export PORTABLE=haswell -else - export PORTABLE=1 -fi +# Support any CPU architecture +export PORTABLE=1 make -j$(nproc) static_lib mkdir -p /opt/rocksdb/usr/local/lib