mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 05:06:44 +01:00
* Added compressed serialization for GLWECiphertext + Ciphertext decompression * Added compressed serialization for GGLWECiphertext & GLWESwitchingkey * generalized automorphism test * Removed ops on scalar_znx, replaced by as_vec_znx/as_vec_znx_mut and then call op on vec_znx * Added tests for automorphism key encryption * Added tensorkey compressed * added ggsw compressed
13 lines
369 B
Rust
13 lines
369 B
Rust
use std::path::PathBuf;
|
|
|
|
pub fn build() {
|
|
let dst: PathBuf = cmake::Config::new("src/implementation/cpu_spqlios/spqlios-arithmetic")
|
|
.define("ENABLE_TESTING", "FALSE")
|
|
.build();
|
|
|
|
let lib_dir: PathBuf = dst.join("lib");
|
|
|
|
println!("cargo:rustc-link-search=native={}", lib_dir.display());
|
|
println!("cargo:rustc-link-lib=static=spqlios");
|
|
}
|