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
4c8e2192
Commit
4c8e2192
authored
Aug 04, 2016
by
Jay
Committed by
GitHub
Aug 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update rocksdb version (#29)
parent
21942bf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
build.sh
librocksdb_sys/build.sh
+5
-4
No files found.
librocksdb_sys/build.sh
View file @
4c8e2192
...
@@ -105,13 +105,14 @@ function compile_rocksdb() {
...
@@ -105,13 +105,14 @@ function compile_rocksdb() {
return
return
fi
fi
version
=
4.9.fb
version
=
v4.9
vernum
=
4.9
echo
building rocksdb-
$version
echo
building rocksdb-
$version
rm
-rf
rocksdb-
$ver
sion
rm
-rf
rocksdb-
$ver
num
download https://github.com/facebook/rocksdb/archive/
$version
.tar.gz rocksdb-
$version
.tar.gz
75f00635d4dcf0200db54a9244ac5f1d
download https://github.com/facebook/rocksdb/archive/
$version
.tar.gz rocksdb-
$version
.tar.gz
ba59206bd041a1d37157b9423d53572e
tar
xf rocksdb-
$version
.tar.gz
tar
xf rocksdb-
$version
.tar.gz
wd
=
`
pwd
`
wd
=
`
pwd
`
cd
rocksdb-
$ver
sion
cd
rocksdb-
$ver
num
export
EXTRA_CFLAGS
=
"-fPIC -I
${
wd
}
/zlib-1.2.8 -I
${
wd
}
/bzip2-1.0.6 -I
${
wd
}
/snappy-1.1.1 -I
${
wd
}
/lz4-r131/lib"
export
EXTRA_CFLAGS
=
"-fPIC -I
${
wd
}
/zlib-1.2.8 -I
${
wd
}
/bzip2-1.0.6 -I
${
wd
}
/snappy-1.1.1 -I
${
wd
}
/lz4-r131/lib"
export
EXTRA_CXXFLAGS
=
"-DZLIB -DBZIP2 -DSNAPPY -DLZ4
$EXTRA_CFLAGS
"
export
EXTRA_CXXFLAGS
=
"-DZLIB -DBZIP2 -DSNAPPY -DLZ4
$EXTRA_CFLAGS
"
make static_lib
-j
$con
make static_lib
-j
$con
...
...
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