8000 CI: Pass environment variables directly to configure in JIT CI · python/cpython@936e864 · GitHub
[go: up one dir, main page]

Skip to content

Commit 936e864

Browse files
CI: Pass environment variables directly to configure in JIT CI
1 parent 140d9ec commit 936e864

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/jit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
if: runner.os == 'macOS'
9797
run: |
9898
brew install llvm@${{ matrix.llvm }}
99-
export SDKROOT="$(xcrun --show-sdk-path)"
99+
SDKROOT="$(xcrun --show-sdk-path)" \
100100
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }}
101101
make all --jobs 4
102102
./python.exe -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 3600 --verbose2 --verbose3
@@ -122,10 +122,10 @@ jobs:
122122
sudo apt install --yes "gcc-$HOST" qemu-user
123123
${{ !matrix.debug && matrix.compiler == 'clang' && './configure --enable-optimizations' || '' }}
124124
${{ !matrix.debug && matrix.compiler == 'clang' && 'make profile-run-stamp --jobs 4' || '' }}
125-
export CC="${{ matrix.compiler == 'clang' && 'clang --target=$HOST' || '$HOST-gcc' }}"
126-
export CPP="$CC --preprocess"
127-
export HOSTRUNNER=qemu-${{ matrix.architecture }}
125+
CC="${{ matrix.compiler == 'clang' && 'clang --target=$HOST' || '$HOST-gcc' }}" \
126+
CPP="$CC --preprocess" \
128127
export QEMU_LD_PREFIX="/usr/$HOST"
128+
HOSTRUNNER=qemu-${{ matrix.architecture }} \
129129
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }} --build=x86_64-linux-gnu --host="$HOST" --with-build-python=../build/bin/python3 --with-pkg-config=no ac_cv_buggy_getaddrinfo=no ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes
130130
make all --jobs 4
131131
./python -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 3600 --verbose2 --verbose3

0 commit comments

Comments
 (0)
0