You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
416 B
12 lines
416 B
#!/bin/bash
|
|
cd ~
|
|
git clone https://github.com/LMDB/lmdb
|
|
cd lmdb
|
|
git checkout 4d2154397afd90ca519bfa102b2aad515159bd50
|
|
cd libraries/liblmdb/
|
|
make -j `nproc`
|
|
mkdir ~/.bin
|
|
echo ' ' >> ~/.bashrc
|
|
echo 'export PATH=~/.bin:$PATH' >> ~/.bashrc
|
|
for i in mdb_copy mdb_dump mdb_load mdb_stat; do cp $i ~/.bin/; done
|
|
echo "Please run source ~/.bashrc to initialize the new LMDB tools. Thanks for flying Snipa22 Patch Services." |