mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 14:47:56 -05:00
chore(tfhe)!: remove arch specific features
BREAKING_CHANGE: - The x86_64, x86_64-unix, aarch64, aarch64-unix have been removed, the target architecture and os family are now automatically detected. A `software_prng` feature has been added to force the use of a software implementation on older CPUs
This commit is contained in:
committed by
Nicolas Sarlin
parent
1df331d246
commit
1ede004e9a
@@ -65,7 +65,6 @@ if [[ "${FAST_TESTS}" == TRUE ]]; then
|
||||
fi
|
||||
|
||||
CURR_DIR="$(dirname "$0")"
|
||||
ARCH_FEATURE="$("${CURR_DIR}/get_arch_feature.sh")"
|
||||
|
||||
n_threads_small="$("${CURR_DIR}"/cpu_count.sh)"
|
||||
n_threads_big="${n_threads_small}"
|
||||
@@ -94,7 +93,7 @@ if [[ "${BIG_TESTS_INSTANCE}" != TRUE ]]; then
|
||||
--cargo-profile "${cargo_profile}" \
|
||||
--package "${tfhe_package}" \
|
||||
--profile ci \
|
||||
--features="${ARCH_FEATURE}",shortint,internal-keycache,zk-pok,experimental \
|
||||
--features=shortint,internal-keycache,zk-pok,experimental \
|
||||
--test-threads "${n_threads_small}" \
|
||||
-E "${filter_expression_small_params}"
|
||||
|
||||
@@ -111,7 +110,7 @@ and not test(~smart_add_and_mul)"""
|
||||
--cargo-profile "${cargo_profile}" \
|
||||
--package "${tfhe_package}" \
|
||||
--profile ci \
|
||||
--features="${ARCH_FEATURE}",shortint,internal-keycache,zk-pok,experimental \
|
||||
--features=shortint,internal-keycache,zk-pok,experimental \
|
||||
--test-threads "${n_threads_big}" \
|
||||
--no-tests=warn \
|
||||
-E "${filter_expression_big_params}"
|
||||
@@ -120,7 +119,7 @@ and not test(~smart_add_and_mul)"""
|
||||
cargo "${RUST_TOOLCHAIN}" test \
|
||||
--profile "${cargo_profile}" \
|
||||
--package "${tfhe_package}" \
|
||||
--features="${ARCH_FEATURE}",shortint,internal-keycache,zk-pok,experimental \
|
||||
--features=shortint,internal-keycache,zk-pok,experimental \
|
||||
--doc \
|
||||
-- shortint::
|
||||
fi
|
||||
@@ -134,7 +133,7 @@ else
|
||||
--cargo-profile "${cargo_profile}" \
|
||||
--package "${tfhe_package}" \
|
||||
--profile ci \
|
||||
--features="${ARCH_FEATURE}",shortint,internal-keycache,experimental \
|
||||
--features=shortint,internal-keycache,experimental \
|
||||
--test-threads "${n_threads_big}" \
|
||||
-E "${filter_expression}"
|
||||
|
||||
@@ -142,7 +141,7 @@ else
|
||||
cargo "${RUST_TOOLCHAIN}" test \
|
||||
--profile "${cargo_profile}" \
|
||||
--package "${tfhe_package}" \
|
||||
--features="${ARCH_FEATURE}",shortint,internal-keycache,experimental \
|
||||
--features=shortint,internal-keycache,experimental \
|
||||
--doc \
|
||||
-- --test-threads="${n_threads_big}" shortint::
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user