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
8b9257a0
Commit
8b9257a0
authored
Dec 21, 2016
by
goroutine
Committed by
GitHub
Dec 21, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #65 from BusyJay/busyjay/update-rocksdb
update rocksdb to 4.13.5
parents
f5a45559
72f8911b
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 @
8b9257a0
...
@@ -17,6 +17,7 @@ fn main() {
...
@@ -17,6 +17,7 @@ fn main() {
// only linux and apple support static link right now
// only linux and apple support static link right now
return
;
return
;
}
}
println!
(
"cargo:rerun-if-changed=build.sh"
);
let
dst
=
PathBuf
::
from
(
env
::
var_os
(
"OUT_DIR"
)
.unwrap
());
let
dst
=
PathBuf
::
from
(
env
::
var_os
(
"OUT_DIR"
)
.unwrap
());
let
build
=
dst
.join
(
"build"
);
let
build
=
dst
.join
(
"build"
);
...
@@ -35,6 +36,9 @@ fn main() {
...
@@ -35,6 +36,9 @@ fn main() {
if
*
lib
==
"rocksdb"
&&
src
.exists
()
{
if
*
lib
==
"rocksdb"
&&
src
.exists
()
{
fs
::
remove_dir_all
(
&
src
)
.unwrap
();
fs
::
remove_dir_all
(
&
src
)
.unwrap
();
if
dst
.exists
()
{
fs
::
remove_file
(
&
dst
)
.unwrap
();
}
}
}
if
!
src
.exists
()
{
if
!
src
.exists
()
{
...
...
librocksdb_sys/build.sh
View file @
8b9257a0
...
@@ -106,11 +106,11 @@ function compile_rocksdb() {
...
@@ -106,11 +106,11 @@ function compile_rocksdb() {
return
return
fi
fi
version
=
165cec6ef668efc075337d10eafca95e28b29c4c
version
=
v4.13.5
vernum
=
165cec6ef668efc075337d10eafca95e28b29c4c
vernum
=
4.13.5
echo
building rocksdb-
$version
echo
building rocksdb-
$version
rm
-rf
rocksdb-
$vernum
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
tar
xf rocksdb-
$version
.tar.gz
wd
=
`
pwd
`
wd
=
`
pwd
`
cd
rocksdb-
$vernum
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