Skip to content

Commit

Permalink
chore: remove the dependency on storage-proofs-porep (#78)
Browse files Browse the repository at this point in the history
There is a dependency on `storage-proofs-porep`, but it isn't used
anywhere in the source. I suspect that it was included in order to
enable the `multicore-sdr` feature. But this feature can also be
enabled through setting it on `filecoin-proofs-v1`, which will then
set it on `storage-proofs-porep`. The same is true for the `cuda`
and `opencl` features.

This commit also updates the Xcode version on CI, so that the tests
pass.
  • Loading branch information
vmx authored Dec 2, 2022
1 parent 2c977cb commit 1ff59cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:

test_darwin:
macos:
xcode: "12.5.0"
xcode: "13.4.1"
working_directory: ~/crate
resource_class: large
steps:
Expand Down
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ filecoin-proofs-v1 = { package = "filecoin-proofs", version = "~12.0.0", default
filecoin-hashers = { version = "~7.0.0", default-features = false, features = ["poseidon", "sha256"] }
fr32 = { version = "~5.0.0", default-features = false }
storage-proofs-core = { version = "~12.0.0", default-features = false }
storage-proofs-porep = { version = "~12.0.0", default-features = false }

[features]
default = ["opencl"]
cuda = ["filecoin-proofs-v1/cuda", "filecoin-hashers/cuda", "storage-proofs-core/cuda", "storage-proofs-porep/cuda", "bellperson/cuda"]
opencl = ["filecoin-proofs-v1/opencl", "filecoin-hashers/opencl", "storage-proofs-core/opencl", "storage-proofs-porep/opencl", "bellperson/opencl"]
multicore-sdr = ["storage-proofs-porep/multicore-sdr"]
cuda = ["filecoin-proofs-v1/cuda", "filecoin-hashers/cuda", "storage-proofs-core/cuda", "bellperson/cuda"]
opencl = ["filecoin-proofs-v1/opencl", "filecoin-hashers/opencl", "storage-proofs-core/opencl", "bellperson/opencl"]
multicore-sdr = ["filecoin-proofs-v1/multicore-sdr"]

0 comments on commit 1ff59cf

Please sign in to comment.