Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
hanno-becker committed Dec 16, 2024
1 parent 67de1dc commit e7b7080
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/actions/bench/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ runs:
- $(nix --version)
- $(${{ matrix.target.cross_prefix }}gcc --version | grep -m1 "")
- $(bash --version | grep -m1 "")
- CFLAGS: ${{ inputs.cflags }}
## CPU Info
$(cat /proc/cpuinfo)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
name: Arm Cortex-A55 (Snapdragon 888) benchmarks
bench_pmu: PERF
archflags: "-mcpu=cortex-a55 -march=armv8.2-a"
cflags: "-flto -static -DFORCE_AARCH64 -DMLKEM_NATIVE_FIPS202_BACKEND=\"'aarch64/cortex_a55.h'\""
cflags: "-flto -static -DFORCE_AARCH64 -DMLKEM_NATIVE_FIPS202_BACKEND=\"aarch64/cortex_a55.h\""
bench_extra_args: -w exec-on-a55
- system: bpi
name: Bananapi bpi-f3 benchmarks
Expand Down
1 change: 1 addition & 0 deletions scripts/lib/mlkem_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class CompileOptions(object):
def __init__(
self, cross_prefix: str, cflags: str, arch_flags: str, auto: bool, verbose: bool
):
print(f"CFLAGS: <{cflags}>")
self.cross_prefix = cross_prefix
self.cflags = cflags
self.arch_flags = arch_flags
Expand Down

0 comments on commit e7b7080

Please sign in to comment.