Skip to content

Commit

Permalink
build-scx-selftests: add README
Browse files Browse the repository at this point in the history
  • Loading branch information
theihor committed Oct 16, 2024
1 parent ca766a4 commit 272efe7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions build-scx-selftests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Build selftests/sched_ext

This action builds selftests/sched_ext given a kernel build
output. Kernel build configuration is supposed to include necessary
flags (i.e. `tools/testing/selftests/sched_ext/config`).

The action is expected to be executed by a workflow with access to the
Linux kernel repository.

## Required inputs

* `kbuild-output` - Path to the kernel build output.
* `repo-root` - Path to the root of the Linux kernel repository.
* `arch` - Kernel build architecture.
* `toolchain` - Toolchain name: `gcc` (default) or `llvm`.

## Optional inputs
* `llvm-version` - LLVM version, used when `toolchain` is `llvm`. Default: `16`.
* `max-make-jobs` - Maximum number of jobs to use when running make (e.g argument to -j). Default: 4*nproc.

0 comments on commit 272efe7

Please sign in to comment.