Skip to content

Commit 9a11f19

Browse files
committed
Try revert to LLVM 20 for Ubuntu
1 parent c50a2e7 commit 9a11f19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/remoteBuild.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ jobs:
9090
sudo apt-get install -y libcurl4-openssl-dev
9191
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
9292
brew install zstd
93-
brew install llvm
93+
brew install llvm@20
9494
brew ls -v zstd
9595
- name: Configure (macOS)
9696
if: ${{ matrix.os == 'macos-latest' }}
9797
run: |
9898
cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DADEPT_LINK_LLVM_STATIC=On -B ${{github.workspace}}/build -G Ninja
9999
env:
100100
CC: /opt/homebrew/opt/llvm/bin/clang
101-
LLVM_DIR: /opt/homebrew/opt/llvm
101+
LLVM_DIR: /opt/homebrew/opt/llvm@20
102102
zstd_DIR: /usr/local/opt/zstd
103103
CFLAGS: -static-libstdc++
104104
CXXFLAGS: -static-libstdc++
@@ -108,7 +108,7 @@ jobs:
108108
run: |
109109
cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_PREFIX_PATH="/usr/lib/x86_64-linux-gnu" -DADEPT_LINK_LLVM_STATIC=On -B ${{github.workspace}}/build -G Ninja
110110
env:
111-
LLVM_DIR: /home/linuxbrew/.linuxbrew/opt/llvm
111+
LLVM_DIR: /home/linuxbrew/.linuxbrew/opt/llvm@20
112112
zstd_DIR: /home/linuxbrew/.linuxbrew/opt/zstd
113113
- name: Build (Windows)
114114
if: ${{ matrix.os == 'windows-latest' }}
@@ -123,7 +123,7 @@ jobs:
123123
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' }}
124124
run: |
125125
echo -e "foreign printf(format *ubyte, ...) int\nfunc main {\nprintf('Hello, world!\\n')\n}" > h.adept
126-
build/adept h.adept
126+
${{github.workspace}}/build/adept h.adept
127127
./h
128128
- name: Archive Build Result
129129
uses: a7ul/[email protected]

0 commit comments

Comments
 (0)