mirror of
https://github.com/python/cpython.git
synced 2025-11-30 14:59:12 +00:00
CI: Pass environment variables directly to configure in JIT CI (#116156)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
762f489b31
commit
43c9d6196a
1 changed files with 6 additions and 6 deletions
8
.github/workflows/jit.yml
vendored
8
.github/workflows/jit.yml
vendored
|
|
@ -108,7 +108,7 @@ jobs:
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
brew install llvm@${{ matrix.llvm }}
|
brew install llvm@${{ matrix.llvm }}
|
||||||
export SDKROOT="$(xcrun --show-sdk-path)"
|
SDKROOT="$(xcrun --show-sdk-path)" \
|
||||||
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }}
|
./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }}
|
||||||
make all --jobs 4
|
make all --jobs 4
|
||||||
./python.exe -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 3600 --verbose2 --verbose3
|
./python.exe -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 3600 --verbose2 --verbose3
|
||||||
|
|
@ -134,10 +134,10 @@ jobs:
|
||||||
sudo apt install --yes "gcc-$HOST" qemu-user
|
sudo apt install --yes "gcc-$HOST" qemu-user
|
||||||
${{ !matrix.debug && matrix.compiler == 'clang' && './configure --enable-optimizations' || '' }}
|
${{ !matrix.debug && matrix.compiler == 'clang' && './configure --enable-optimizations' || '' }}
|
||||||
${{ !matrix.debug && matrix.compiler == 'clang' && 'make profile-run-stamp --jobs 4' || '' }}
|
${{ !matrix.debug && matrix.compiler == 'clang' && 'make profile-run-stamp --jobs 4' || '' }}
|
||||||
export CC="${{ matrix.compiler == 'clang' && 'clang --target=$HOST' || '$HOST-gcc' }}"
|
|
||||||
export CPP="$CC --preprocess"
|
|
||||||
export HOSTRUNNER=qemu-${{ matrix.architecture }}
|
|
||||||
export QEMU_LD_PREFIX="/usr/$HOST"
|
export QEMU_LD_PREFIX="/usr/$HOST"
|
||||||
|
CC="${{ matrix.compiler == 'clang' && 'clang --target=$HOST' || '$HOST-gcc' }}" \
|
||||||
|
CPP="$CC --preprocess" \
|
||||||
|
HOSTRUNNER=qemu-${{ matrix.architecture }} \
|
||||||
./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
|
./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
|
||||||
make all --jobs 4
|
make all --jobs 4
|
||||||
./python -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 3600 --verbose2 --verbose3
|
./python -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 3600 --verbose2 --verbose3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue