Skip to content

Commit

Permalink
chore: rocksdb -j1 again
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Jan 30, 2025
1 parent 11a932d commit de8af22
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,7 @@ set -ex -o pipefail
git clone https://github.com/facebook/rocksdb.git -b v9.9.3 --depth 1 .
source /root/env
# Only use 1 thread to avoid OOM
export MAKEFLAGS='-j1'

make -j$(nproc) static_lib
make -j1 static_lib
mkdir -p /opt/rocksdb/usr/local/lib
cp librocksdb.a /opt/rocksdb/usr/local/lib/
cp -r include /opt/rocksdb/usr/local/
Expand Down

0 comments on commit de8af22

Please sign in to comment.