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
99f4edd6
Commit
99f4edd6
authored
Mar 13, 2017
by
siddontang
Committed by
GitHub
Mar 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sse feature (#28)
parent
29b7f64a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
Cargo.toml
Cargo.toml
+1
-0
Cargo.toml
librocksdb_sys/Cargo.toml
+1
-0
build.rs
librocksdb_sys/build.rs
+4
-0
No files found.
Cargo.toml
View file @
99f4edd6
...
@@ -19,6 +19,7 @@ default = []
...
@@ -19,6 +19,7 @@ default = []
valgrind
=
[]
valgrind
=
[]
static-link
=
["librocksdb_sys/static-link"]
static-link
=
["librocksdb_sys/static-link"]
portable
=
["librocksdb_sys/portable"]
portable
=
["librocksdb_sys/portable"]
sse
=
["librocksdb_sys/sse"]
[[test]]
[[test]]
...
...
librocksdb_sys/Cargo.toml
View file @
99f4edd6
...
@@ -14,6 +14,7 @@ static-link = []
...
@@ -14,6 +14,7 @@ static-link = []
# portable doesn't require static link, though it's meaningless
# portable doesn't require static link, though it's meaningless
# when not using with static-link right now in this crate.
# when not using with static-link right now in this crate.
portable
=
[]
portable
=
[]
sse
=
[]
[build-dependencies]
[build-dependencies]
gcc
=
"0.3"
gcc
=
"0.3"
librocksdb_sys/build.rs
View file @
99f4edd6
...
@@ -64,6 +64,10 @@ fn main() {
...
@@ -64,6 +64,10 @@ fn main() {
if
cfg!
(
feature
=
"portable"
)
{
if
cfg!
(
feature
=
"portable"
)
{
cmd
.env
(
"PORTABLE"
,
"1"
);
cmd
.env
(
"PORTABLE"
,
"1"
);
}
}
if
cfg!
(
feature
=
"sse"
)
{
cmd
.env
(
"USE_SSE"
,
"1"
);
}
}
}
run
(
&
mut
cmd
);
run
(
&
mut
cmd
);
}
}
...
...
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