Skip to content

Commit f3b4be7

Browse files
committed
ln clang
1 parent 3ee07fe commit f3b4be7

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/build-on-unix.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,15 @@ jobs:
3939
with:
4040
submodules: recursive
4141

42-
- name: Add clang-20 ubuntu repository
42+
- name: Install development environment
4343
run: |
4444
wget https://apt.llvm.org/llvm.sh
4545
chmod 755 llvm.sh
4646
echo "" | sudo ./llvm.sh 20
47-
48-
- name: Install development environment
49-
run: |
5047
sudo apt-get update
5148
sudo apt-get install -y perl autoconf-archive ninja-build cmake pkg-config clang-20 lldb-20 lld-20 clangd-20
49+
sudo ln -f /usr/bin/clang-20 /usr/bin/clang
50+
sudo ln -f /usr/bin/clang++-20 /usr/bin/clang++
5251
5352
- name: Create vcpkg cache dir
5453
run: mkdir ${{env.VCPKG_DEFAULT_BINARY_CACHE}}

CMakePresets.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@
4949
"name": "x64-linux",
5050
"inherits": "defaults",
5151
"cacheVariables": {
52-
"VCPKG_TARGET_TRIPLET": "x64-linux",
53-
"CMAKE_CXX_COMPILER": "clang++-20",
54-
"CMAKE_C_COMPILER": "clang-20"
52+
"VCPKG_TARGET_TRIPLET": "x64-linux"
5553
},
5654
"condition": {
5755
"type": "equals",

0 commit comments

Comments
 (0)