Skip to content

Commit 209cbbc

Browse files
committed
Use question format for LLVM advice
1 parent 534192c commit 209cbbc

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

doc/install_and_upgrade.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,24 @@ Stack can be installed directly or by using the GHCup tool.
440440
provided by Apple which installed the headers to the base system
441441
under `/usr/include`.
442442

443+
??? question "What versions of the LLVM compiler and toolchain are supported?"
444+
445+
The documentation for each version of GHC identifies the versions of
446+
LLVM that are supported. That is summarised in the table below for
447+
recent versions of GHC:
448+
449+
|GHC version|LLVM versions|
450+
|-----------|-------------|
451+
|9.8.2 |11 to 15 |
452+
|9.6.5 |11 to 15 |
453+
|9.4.8 |10 to 14 |
454+
|9.2.8 |9 to 12 |
455+
|9.0.2 |9, 10 or 12 |
456+
|8.10.7 |9 to 12 |
457+
|8.8.4 |7 |
458+
|8.6.5 |6 |
459+
|8.4.4 |5 |
460+
443461
From late 2020, Apple began a transition from Mac computers with Intel
444462
processors (Intel-based Mac) to
445463
[Mac computers with Apple silicon](https://support.apple.com/en-gb/HT211814).
@@ -561,24 +579,6 @@ Stack can be installed directly or by using the GHCup tool.
561579

562580
Now you can run Stack from the command line in a terminal.
563581

564-
### LLVM
565-
566-
The documentation for each version of GHC identifies the versions of
567-
LLVM that are supported. That is summarised in the table below for
568-
recent versions of GHC:
569-
570-
|GHC version|LLVM versions|
571-
|-----------|-------------|
572-
|9.8.2 |11 to 15 |
573-
|9.6.5 |11 to 15 |
574-
|9.4.8 |10 to 14 |
575-
|9.2.8 |9 to 12 |
576-
|9.0.2 |9, 10 or 12 |
577-
|8.10.7 |9 to 12 |
578-
|8.8.4 |7 |
579-
|8.6.5 |6 |
580-
|8.4.4 |5 |
581-
582582
??? question "Can I use the Homebrew package manager to get Stack?"
583583

584584
[Homebrew](https://brew.sh/) is a popular package manager for macOS.

0 commit comments

Comments
 (0)