Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
72f8911b
Commit
72f8911b
authored
Dec 21, 2016
by
Jay Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update rocksdb to 4.13.5
parent
f5a45559
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
build.rs
librocksdb_sys/build.rs
+4
-0
build.sh
librocksdb_sys/build.sh
+3
-3
No files found.
librocksdb_sys/build.rs
View file @
72f8911b
...
...
@@ -17,6 +17,7 @@ fn main() {
// only linux and apple support static link right now
return
;
}
println!
(
"cargo:rerun-if-changed=build.sh"
);
let
dst
=
PathBuf
::
from
(
env
::
var_os
(
"OUT_DIR"
)
.unwrap
());
let
build
=
dst
.join
(
"build"
);
...
...
@@ -35,6 +36,9 @@ fn main() {
if
*
lib
==
"rocksdb"
&&
src
.exists
()
{
fs
::
remove_dir_all
(
&
src
)
.unwrap
();
if
dst
.exists
()
{
fs
::
remove_file
(
&
dst
)
.unwrap
();
}
}
if
!
src
.exists
()
{
...
...
librocksdb_sys/build.sh
View file @
72f8911b
...
...
@@ -106,11 +106,11 @@ function compile_rocksdb() {
return
fi
version
=
165cec6ef668efc075337d10eafca95e28b29c4c
vernum
=
165cec6ef668efc075337d10eafca95e28b29c4c
version
=
v4.13.5
vernum
=
4.13.5
echo
building rocksdb-
$version
rm
-rf
rocksdb-
$vernum
download https://github.com/facebook/rocksdb/archive/
$version
.tar.gz rocksdb-
$version
.tar.gz
49d7dfa4b9ff05834d72b00391928413
download https://github.com/facebook/rocksdb/archive/
$version
.tar.gz rocksdb-
$version
.tar.gz
637427680364dd438f5305e974248a01
tar
xf rocksdb-
$version
.tar.gz
wd
=
`
pwd
`
cd
rocksdb-
$vernum
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment