Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 92c39eb

Browse files
committed
Making RocksDB installation Global
1 parent 61a9a37 commit 92c39eb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.circleci/install_rocksdb.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,11 @@ if [ ! -f "/usr/lib/librocksdb.so.5" ]; then
2020
fi
2121
if [ ! -f "/usr/lib/librocksdb.so" ]; then
2222
ln -fs /home/circleci/rocksdb/librocksdb.so.5.8.8 /usr/lib/librocksdb.so
23-
fi
23+
fi
24+
25+
# globally install headers
26+
sudo mkdir -p /usr/local/include/rocksdb/
27+
sudo cp -r /home/circleci/rocksdb/include/* /usr/local/include/
28+
29+
# update cache
30+
sudo ldconfig

0 commit comments

Comments
 (0)