Skip to content
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
12 changes: 2 additions & 10 deletions .github/workflows/bench-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ jobs:
# lake target (Compile<env>), the cache-key suffix, and the
# bencher row name. Every registry env compiles here; which envs
# the benchmark job then proves/checks depends on which envs have
# constants in Ix/BenchConstants.lean. Add FC once it's on
# current Lean.
# constants in Ix/BenchConstants.lean.
include:
- { env: InitStd }
- { env: Lean }
Expand All @@ -139,7 +138,6 @@ jobs:
- { env: ISLB }
- { env: Mathlib, mathlib: true }
- { env: FLT, cache_pkg: flt, mathlib: true }
# - { env: FC, cache_pkg: formal_conjectures, mathlib: true }
steps:
- uses: actions/checkout@v7
# `lake build` below clones this package's Lake dependencies.
Expand All @@ -154,10 +152,6 @@ jobs:
label: Compile measurement CPU
provenance-file: ~/.local/bin/benchmark-build-cpu.txt
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
# FC's library env lives in a sibling `${COMPILE_DIR}FC` package dir, so
# point COMPILE_DIR there for the FC matrix job.
# - if: matrix.env == 'FC'
# run: echo "COMPILE_DIR=${{ env.COMPILE_DIR }}FC" | tee -a $GITHUB_ENV
# Install the Lean toolchain. The mathlib olean cache is fetched only
# for envs that import Mathlib (Mathlib, FLT) — the shared
# Benchmarks/Compile package depends on mathlib, so without this
Expand All @@ -168,14 +162,12 @@ jobs:
auto-config: false
use-github-cache: false
use-mathlib-cache: ${{ matrix.mathlib && 'true' || 'false' }}
# FLT and FC take a few minutes to rebuild, so cache their build artifacts.
# FLT takes a few minutes to rebuild, so cache its build artifacts.
- if: matrix.cache_pkg
uses: actions/cache@v6
with:
path: ${{ env.COMPILE_DIR }}/.lake/packages/${{ matrix.cache_pkg }}/.lake/build
key: ${{ matrix.cache_pkg }}-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles(format('{0}/lean-toolchain', env.COMPILE_DIR)) }}-${{ hashFiles(format('{0}/lake-manifest.json', env.COMPILE_DIR)) }}
# No `--wfail` here: formal-conjectures (FC) emits a copyright-notice
# warning that must not fail the build.
- run: lake build Compile${{ matrix.env }}
working-directory: ${{ env.COMPILE_DIR }}
# The measured compile: serializes the env to `<env>.ixe` at the
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
# The root package plus every package under Benchmarks/ — `/**`
# walks the whole tree (catching Catalog's nested fixture
# workspaces) and skips dotted directories, so `.lake`
# dependency checkouts are never swept up. This includes
# Benchmarks/CompileFC, previously pinned to an old toolchain.
# dependency checkouts are never swept up.
lake_package_directory: ". Benchmarks/**"
bump_mode: pinned-tags
pr: true
Expand Down
1 change: 0 additions & 1 deletion Benchmarks/CompileFC/.envrc

This file was deleted.

585 changes: 0 additions & 585 deletions Benchmarks/CompileFC/CompileFC.lean

This file was deleted.

19 changes: 0 additions & 19 deletions Benchmarks/CompileFC/README.md

This file was deleted.

117 changes: 0 additions & 117 deletions Benchmarks/CompileFC/flake.lock

This file was deleted.

53 changes: 0 additions & 53 deletions Benchmarks/CompileFC/flake.nix

This file was deleted.

105 changes: 0 additions & 105 deletions Benchmarks/CompileFC/lake-manifest.json

This file was deleted.

11 changes: 0 additions & 11 deletions Benchmarks/CompileFC/lakefile.toml

This file was deleted.

1 change: 0 additions & 1 deletion Benchmarks/CompileFC/lean-toolchain

This file was deleted.