Skip to content

Commit 3a866ff

Browse files
committed
LLVM
1 parent 8469373 commit 3a866ff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/jit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ jobs:
7373
- name: Native Windows
7474
if: runner.os == 'Windows' && matrix.arch != 'ARM64'
7575
run: |
76-
choco install llvm --allow-downgrade --no-progress --version $LLVM.1.0
76+
choco install llvm --allow-downgrade --no-progress --version ${env:LLVM}.1.0
7777
./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.arch }}
7878
./PCbuild/rt.bat ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.arch }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
7979
8080
# No tests (yet):
8181
- name: Emulated Windows
8282
if: runner.os == 'Windows' && matrix.arch == 'ARM64'
8383
run: |
84-
choco install llvm --allow-downgrade --no-progress --version $LLVM.1.0
84+
choco install llvm --allow-downgrade --no-progress --version ${env:LLVM}.1.0
8585
./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.arch }}
8686
8787
jit-mac:
@@ -112,7 +112,7 @@ jobs:
112112
run: |
113113
brew update
114114
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
115-
brew install llvm@$LLVM
115+
brew install llvm@"$LLVM"
116116
export SDKROOT="$(xcrun --show-sdk-path)"
117117
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '' }}
118118
make all --jobs 4
@@ -145,7 +145,7 @@ jobs:
145145

146146
- name: Native Linux
147147
run: |
148-
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh $LLVM
148+
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh "$LLVM"
149149
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
150150
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '' }}
151151
make all --jobs 4
@@ -162,7 +162,7 @@ jobs:
162162
# python-version: '3.11'
163163
# - name: Build with JIT enabled and GIL disabled
164164
# run: |
165-
# sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh $LLVM
165+
# sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh "$LLVM"
166166
# export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
167167
# ./configure --enable-experimental-jit --with-pydebug --disable-gil
168168
# make all --jobs 4

0 commit comments

Comments
 (0)