Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fontconfig missing in ci #1192

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/concrete_optimizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
cargo --version
cd compilers/concrete-optimizer
cargo fmt --check
- name: Fix fontconfig on ubuntu
if: ${{ matrix.runson == 'ubuntu-latest' }}
run: |
sudo apt update
sudo apt -y install libfontconfig1-dev
- name: Build
run: |
cd compilers/concrete-optimizer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ fn apply_fks_variance_and_cost_or_lower_bound(
// if an optimized fks is applicable and is not to be optimized
// we use the already optimized fks instead of a lower bound
if let Some(this_fks) = initial_fks[src.0][dst.0] {
let to_be_optimized = fks_to_optimize[src.0].map_or(false, |fdst| dst == fdst);
let to_be_optimized = fks_to_optimize[src.0] == Some(dst);
if !to_be_optimized {
if input_glwe == &this_fks.src_glwe_param && output_glwe == &this_fks.dst_glwe_param
{
Expand Down
Loading