File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,32 @@ package sources:
72
72
</pre >
73
73
74
74
Alternatively, you can download and unpack the pre-built
75
- [ Clang+LLVM-16 binaries] ( https://github.com/llvm/llvm-project/releases/tag/llvmorg-16.0.0 ) .
75
+ [ Clang + LLVM 16] ( https://github.com/llvm/llvm-project/releases/tag/llvmorg-16.0.0 ) .
76
+
77
+ Below is an example of steps you can take to set up the downloaded
78
+ Clang + LLVM 16 binaries:
79
+
80
+ 1 . Change to the desired destination directory:
81
+ ``` cd <desired directory> ```
82
+
83
+ 2 . Load and extract an archive file...(suitable to your architecture):
84
+ <pre class =" prettyprint lang-bsh " >
85
+ <code class =" devsite-terminal " >
86
+ wget https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.0/clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
87
+ </code >
88
+ <code class =" devsite-terminal " >tar -xvf clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
89
+ </code >
90
+ </pre >
91
+
92
+ 3 . Check the obtained Clang + LLVM 16 binaries version:
93
+ <pre class =" prettyprint lang-bsh " >
94
+ <code class =" devsite-terminal " >
95
+ ./clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang-16 --version </code >
96
+ </pre >
97
+
98
+ 4 . Directory ` /clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang-16 ` is
99
+ the actual path to your new clang. You can run the ` ./configure ` script or
100
+ manually set environment variables ` CC ` and ` BAZEL_COMPILER ` to this path.
76
101
77
102
### Install GPU support (optional, Linux only)
78
103
You can’t perform that action at this time.
0 commit comments