Commit 4f92029
authored
[CI] Install clang and libc++ in build containers (#19567)
I'm planning to add a build using libc++ to the nightly, so we need
clang and libc++ installed.
Installing clang shouldn't cause a problem with the wrong clang being
used for LIT testing as we pass the absolute path to the built clang, ex
here.
build-e2e:
```
Run cmake -GNinja -B./build-e2e -S./llvm/sycl/test-e2e \
-DCMAKE_CXX_COMPILER="$GITHUB_WORKSPACE/toolchain/bin/clang++" -DLLVM_LIT="$PWD/llvm/llvm/utils/lit/lit.py"
```
run-e2e:
```
echo PATH=$PWD/toolchain/bin/:$PATH >> $GITHUB_ENV
```
We need to specify the clang version to install because of some Ubuntu
nonsense.
Signed-off-by: Sarnie, Nick <[email protected]>1 parent 6653a66 commit 4f92029
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments