From 2c6639e48ac803532551b430cb39e0c4bb5af128 Mon Sep 17 00:00:00 2001 From: 0x5459 <0x5459@protonmail.com> Date: Tue, 10 May 2022 19:15:06 +0800 Subject: [PATCH] chore: remove useless features --- filecoin-proofs/Cargo.toml | 2 -- fr32/Cargo.toml | 5 ----- storage-proofs-core/Cargo.toml | 4 ++-- storage-proofs-porep/Cargo.toml | 4 ++-- storage-proofs-post/Cargo.toml | 4 ++-- storage-proofs-update/Cargo.toml | 2 -- 6 files changed, 6 insertions(+), 15 deletions(-) diff --git a/filecoin-proofs/Cargo.toml b/filecoin-proofs/Cargo.toml index 0bf42cefe..ea5cdb900 100644 --- a/filecoin-proofs/Cargo.toml +++ b/filecoin-proofs/Cargo.toml @@ -55,7 +55,6 @@ cuda = [ "storage-proofs-update/cuda", "bellperson/cuda", "filecoin-hashers/cuda", - "fr32/cuda", ] opencl = [ "storage-proofs-core/opencl", @@ -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 = [] diff --git a/fr32/Cargo.toml b/fr32/Cargo.toml index 64ada2b3c..58d91db85 100644 --- a/fr32/Cargo.toml +++ b/fr32/Cargo.toml @@ -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 diff --git a/storage-proofs-core/Cargo.toml b/storage-proofs-core/Cargo.toml index b5220e5d1..8fc361a9c 100644 --- a/storage-proofs-core/Cargo.toml +++ b/storage-proofs-core/Cargo.toml @@ -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" diff --git a/storage-proofs-porep/Cargo.toml b/storage-proofs-porep/Cargo.toml index 813fb8d99..8a11b48a7 100644 --- a/storage-proofs-porep/Cargo.toml +++ b/storage-proofs-porep/Cargo.toml @@ -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"] diff --git a/storage-proofs-post/Cargo.toml b/storage-proofs-post/Cargo.toml index e4d5cb985..0143f01a2 100644 --- a/storage-proofs-post/Cargo.toml +++ b/storage-proofs-post/Cargo.toml @@ -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"] diff --git a/storage-proofs-update/Cargo.toml b/storage-proofs-update/Cargo.toml index 0284c9851..49b8cb429 100644 --- a/storage-proofs-update/Cargo.toml +++ b/storage-proofs-update/Cargo.toml @@ -40,7 +40,6 @@ opencl = [ "filecoin-hashers/opencl", "neptune/opencl", "bellperson/opencl", - "fr32/opencl", ] cuda = [ "storage-proofs-core/cuda", @@ -48,7 +47,6 @@ cuda = [ "filecoin-hashers/cuda", "neptune/cuda", "bellperson/cuda", - "fr32/cuda", ] multicore-sdr = [ "storage-proofs-porep/multicore-sdr",