https://github.com/hylo-lang/llvm-build
LLVM library binaries that are compatible with the Swift runtime
https://github.com/hylo-lang/llvm-build
llvm swift
Last synced: 4 months ago
JSON representation
LLVM library binaries that are compatible with the Swift runtime
- Host: GitHub
- URL: https://github.com/hylo-lang/llvm-build
- Owner: hylo-lang
- Created: 2024-02-06T17:45:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-08T22:04:57.000Z (4 months ago)
- Last Synced: 2026-03-08T23:43:58.290Z (4 months ago)
- Topics: llvm, swift
- Language: Shell
- Homepage:
- Size: 2.95 MB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hylo LLVM builds
GitHub CI based builds of LLVM libraries, compatible with the Swift
runtime.
The builds currently support LLVM 20.0.0 and later. Check for published version tags in the [LLVM Project](https://github.com/swiftlang/llvm-project/) (the latest released versions may not yet have tags there).
[These builds](https://github.com/hylo-lang/llvm-build/releases)
contain a set of libraries suitable for compiler
development, and a very minimal set of tools such as `llvm-config` and
`lld`. If you're looking for a compiler binary (e.g. `clang`), look
elsewhere!
Both the “Debug” and “MinSizeRel” builds have **assertions enabled**;
without assertions, during development it's too easy to violate
LLVM's preconditions (some of which are
[undocumented](https://github.com/llvm/llvm-project/pull/82519) or
[incorrectly documented](https://github.com/llvm/llvm-project/pull/82517))
Swift compatibility is mostly irrelevant except when it comes to
Windows, where these builds of LLVM always link against a release-mode
multithreaded DLL C runtime and have iterator debugging disabled
(`_ITERATOR_DEBUG_LEVEL=0`) for C++.
> Note: On Windows, make sure to set the environment variable `VSINSTALLDIR` to something like `C:/Program Files/Microsoft Visual Studio/2022/Community`, without `/` at the end. This is needed for LLVM to locate the DIA SDK.