Files
scst/README.clang
T
Gleb Chesnokov 9129391ac3 docs: Refresh build and installation guides
The top-level guides still describe retired source, QLogic, service and
kernel-support workflows. Following them can select the wrong driver,
cross-compile only part of the tree, or misstate module-signing policy.

Commit 7aade0a109 ("Makefile: Make the qla2x00t-32gbit driver
the default QLogic FC driver") made the newer tree the default.
Commit 0d3c9018af ("debian, scstadmin: Add systemd scst.service")
added the installed systemd unit.

Point source users at GitHub and kernel support at
nightly/conf/nightly.conf. Separate kernel and user-space cross builds,
follow the current service recipes, and make module acceptance depend
on the target kernel and platform policy.
2026-08-21 10:05:36 +03:00

20 lines
569 B
Plaintext

Building SCST With Clang
========================
Clang is a C compiler that is an alternative for gcc. SCST can be built as
follows with clang:
1. Install clang.
2. Download the Linux kernel source code and also the SCST source code.
3. Build at least the modules_prepare Linux kernel make target.
cd $HOME/software/linux-kernel
make CC=clang modules_prepare
4. Build SCST using any of the supported build methods. An example:
export KDIR=$HOME/software/linux-kernel
export PASS_CC_TO_MAKE=1
export CC=clang
cd scst.git
make rpm