You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CI][Examples] Enable testing of examples through lit, on both x86 and Arm (#22)
Adds lit as a test dependency via pyproject.toml. Adds FileCheck as an
external dependency -- for CI we use Ubuntu's llvm-dev package. Makes CI
run for both x86_64 and AArch64.
Running the tests is as simple as `lit .` in the root of the project.
124
+
125
+
We assume that the [`FileCheck`](https://llvm.org/docs/CommandGuide/FileCheck.html) and [`lit`](https://llvm.org/docs/CommandGuide/lit.html) executables are available on the `PATH`.
126
+
127
+
<details>
128
+
<summary>
129
+
Obtaining <code>FileCheck</code> and <code>lit</code>.
130
+
</summary>
131
+
To obtain the <ahref="https://pypi.org/project/lit">Python package for <code>lit</code></a>, simply run <code>uv sync</code> (<code>lit</code> is included in the "dev" dependency group).
132
+
In case the <code>FileCheck</code> executable happens to be available under a different name/location, e.g. as <code>FileCheck-18</code> from Ubuntu's <code>llvm-dev</code> package, set the <code>FILECHECK</code> environment variable when invoking <code>lit</code>.
0 commit comments