Skip to content

Commit

Permalink
chore: remove useless features
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5459 committed May 10, 2022
1 parent 2f387c8 commit 2c6639e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 15 deletions.
2 changes: 0 additions & 2 deletions filecoin-proofs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ cuda = [
"storage-proofs-update/cuda",
"bellperson/cuda",
"filecoin-hashers/cuda",
"fr32/cuda",
]
opencl = [
"storage-proofs-core/opencl",
Expand All @@ -64,7 +63,6 @@ opencl = [
"storage-proofs-update/opencl",
"bellperson/opencl",
"filecoin-hashers/opencl",
"fr32/opencl",
]
multicore-sdr = ["storage-proofs-porep/multicore-sdr"]
big-tests = []
Expand Down
5 changes: 0 additions & 5 deletions fr32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ pretty_assertions = "1.2.0"
rand = "0.8"
rand_xorshift = "0.3"

[features]
default = []
cuda = []
opencl = []

[[bench]]
name = "fr"
harness = false
4 changes: 2 additions & 2 deletions storage-proofs-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ big-sector-sizes-bench = []
measurements = ["cpu-time", "gperftools"]
profile = ["measurements"]

cuda = ["bellperson/cuda", "filecoin-hashers/cuda", "fr32/cuda"]
opencl = ["bellperson/opencl", "filecoin-hashers/opencl", "fr32/opencl"]
cuda = ["bellperson/cuda", "filecoin-hashers/cuda"]
opencl = ["bellperson/opencl", "filecoin-hashers/opencl"]

[[bench]]
name = "sha256"
Expand Down
4 changes: 2 additions & 2 deletions storage-proofs-porep/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ fil_logger = "0.1.6"

[features]
default = ["opencl", "multicore-sdr"]
cuda = ["storage-proofs-core/cuda", "filecoin-hashers/cuda", "neptune/cuda", "bellperson/cuda", "fr32/cuda"]
opencl = ["storage-proofs-core/opencl", "filecoin-hashers/opencl", "neptune/opencl", "bellperson/opencl", "fr32/opencl"]
cuda = ["storage-proofs-core/cuda", "filecoin-hashers/cuda", "neptune/cuda", "bellperson/cuda"]
opencl = ["storage-proofs-core/opencl", "filecoin-hashers/opencl", "neptune/opencl", "bellperson/opencl"]
isolated-testing = []
multicore-sdr = ["hwloc"]

Expand Down
4 changes: 2 additions & 2 deletions storage-proofs-post/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ rand_xorshift = "0.3.0"

[features]
default = ["opencl"]
cuda = ["storage-proofs-core/cuda", "filecoin-hashers/cuda", "fr32/cuda"]
opencl = ["storage-proofs-core/opencl", "filecoin-hashers/opencl", "fr32/opencl"]
cuda = ["storage-proofs-core/cuda", "filecoin-hashers/cuda"]
opencl = ["storage-proofs-core/opencl", "filecoin-hashers/opencl"]
2 changes: 0 additions & 2 deletions storage-proofs-update/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@ opencl = [
"filecoin-hashers/opencl",
"neptune/opencl",
"bellperson/opencl",
"fr32/opencl",
]
cuda = [
"storage-proofs-core/cuda",
"storage-proofs-porep/cuda",
"filecoin-hashers/cuda",
"neptune/cuda",
"bellperson/cuda",
"fr32/cuda",
]
multicore-sdr = [
"storage-proofs-porep/multicore-sdr",
Expand Down

0 comments on commit 2c6639e

Please sign in to comment.