Skip to content

Commit ae6484d

Browse files
authored
Update toolchain requirements and LLVM build docs (#49742)
1 parent 6733197 commit ae6484d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/devdocs/build/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Notes for various architectures:
144144
Building Julia requires that the following software be installed:
145145

146146
- **[GNU make]** — building dependencies.
147-
- **[gcc & g++][gcc]** (>= 5.1) or **[Clang][clang]** (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++.
147+
- **[gcc & g++][gcc]** (>= 7.1) or **[Clang][clang]** (>= 5.0, >= 9.3 for Apple Clang) — compiling and linking C, C++.
148148
- **[libatomic][gcc]** — provided by **[gcc]** and needed to support atomic operations.
149149
- **[python]** (>=2.7) — needed to build LLVM.
150150
- **[gfortran]** — compiling and linking Fortran libraries.
@@ -169,7 +169,7 @@ repository) and then compiled from source the first time you run
169169
`make`. The specific version numbers of these libraries that Julia
170170
uses are listed in [`deps/$(libname).version`](https://github.com/JuliaLang/julia/blob/master/deps/):
171171

172-
- **[LLVM]** (14.0 + [patches](https://github.com/JuliaLang/llvm-project)) — compiler infrastructure (see [note below](#llvm)).
172+
- **[LLVM]** (15.0 + [patches](https://github.com/JuliaLang/llvm-project/tree/julia-release/15.x)) — compiler infrastructure (see [note below](#llvm)).
173173
- **[FemtoLisp]** — packaged with Julia source, and used to implement the compiler front-end.
174174
- **[libuv]** (custom fork) — portable, high-performance event-based I/O library.
175175
- **[OpenLibm]** — portable libm library containing elementary math functions.
@@ -238,7 +238,7 @@ The most complicated dependency is LLVM, for which we require additional patches
238238
For packaging Julia with LLVM, we recommend either:
239239
- bundling a Julia-only LLVM library inside the Julia package, or
240240
- adding the patches to the LLVM package of the distribution.
241-
* A complete list of patches is available in `deps/llvm.mk`, and the patches themselves are in `deps/patches/`.
241+
* A complete list of patches is available in on [Github](https://github.com/JuliaLang/llvm-project) see the `julia-release/15.x` branch.
242242
* The only Julia-specific patch is the lib renaming (`llvm-symver-jlprefix.patch`), which should _not_ be applied to a system LLVM.
243243
* The remaining patches are all upstream bug fixes, and have been contributed into upstream LLVM.
244244

0 commit comments

Comments
 (0)