This is my fork of LLVM 21.1.1 from https://llvm.org/ on Fedora 41. It builds with Fedora's GCC 14.3.1 and Python 3.13. You will need to install some dependencies: z3, libxml2, ocaml.
The main branch is the canonical release from LLVM upstream, unmodified. The branch llvm-21.1.1-fc41 is the Fedora 41 branch containing my changes.
Build scripts are in the build-scripts directory in the llvm-21.1.1-fc41 branch.
- Clone this repo.
%> mkdir build-llvm%> mkdir install-llvm%> cp ./llvm-21.1.1/build-scripts/run-cmake-configure-linux.sh ./build-llvm/%> cp ./llvm-21.1.1/build-scripts/build-llvm.sh ./build-llvm/%> cp ./llvm-21.1.1/build-scripts/install-llvm.sh ./build-llvm/%> cd ./build-llvm%> ./run-cmake-configure-linux.sh%> ./build-llvm.sh%> ./install-llvm.sh
This build of LLVM will install in the install-llvm directory created above.
The original README.md file has been renamed to LLVM.README.md.
I put this clone here because several of my other ports / forks at my Github depend on LLVM 21.1.1.
You can find the RPM spec files for Fedora 41 in the same build-scripts directory.