From 6c640255a6970154fe524c70fe1682bdd2638a48 Mon Sep 17 00:00:00 2001 From: lklimek <842586+lklimek@users.noreply.github.com> Date: Tue, 3 Dec 2024 07:09:17 +0100 Subject: [PATCH] build: enable drive image for Ivy Bridge CPU (#2363) --- 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