mirror of https://github.com/python/cpython
GH-122578: update to WASI SDK 24 (GH-122960)
This commit is contained in:
parent
9621a7d017
commit
0e207f3e7a
|
@ -2,7 +2,7 @@ FROM docker.io/library/fedora:40
|
||||||
|
|
||||||
ENV CC=clang
|
ENV CC=clang
|
||||||
|
|
||||||
ENV WASI_SDK_VERSION=22
|
ENV WASI_SDK_VERSION=24
|
||||||
ENV WASI_SDK_PATH=/opt/wasi-sdk
|
ENV WASI_SDK_PATH=/opt/wasi-sdk
|
||||||
|
|
||||||
ENV WASMTIME_HOME=/opt/wasmtime
|
ENV WASMTIME_HOME=/opt/wasmtime
|
||||||
|
@ -14,7 +14,7 @@ RUN dnf -y --nodocs --setopt=install_weak_deps=False install /usr/bin/{blurb,cla
|
||||||
dnf -y clean all
|
dnf -y clean all
|
||||||
|
|
||||||
RUN mkdir ${WASI_SDK_PATH} && \
|
RUN mkdir ${WASI_SDK_PATH} && \
|
||||||
curl --location https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-linux.tar.gz | \
|
curl --location https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz | \
|
||||||
tar --strip-components 1 --directory ${WASI_SDK_PATH} --extract --gunzip
|
tar --strip-components 1 --directory ${WASI_SDK_PATH} --extract --gunzip
|
||||||
|
|
||||||
RUN mkdir --parents ${WASMTIME_HOME} && \
|
RUN mkdir --parents ${WASMTIME_HOME} && \
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
WASMTIME_VERSION: 22.0.0
|
WASMTIME_VERSION: 22.0.0
|
||||||
WASI_SDK_VERSION: 22
|
WASI_SDK_VERSION: 24
|
||||||
WASI_SDK_PATH: /opt/wasi-sdk
|
WASI_SDK_PATH: /opt/wasi-sdk
|
||||||
CROSS_BUILD_PYTHON: cross-build/build
|
CROSS_BUILD_PYTHON: cross-build/build
|
||||||
CROSS_BUILD_WASI: cross-build/wasm32-wasi
|
CROSS_BUILD_WASI: cross-build/wasm32-wasi
|
||||||
|
@ -33,7 +33,7 @@ jobs:
|
||||||
if: steps.cache-wasi-sdk.outputs.cache-hit != 'true'
|
if: steps.cache-wasi-sdk.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
mkdir ${{ env.WASI_SDK_PATH }} && \
|
mkdir ${{ env.WASI_SDK_PATH }} && \
|
||||||
curl -s -S --location https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${{ env.WASI_SDK_VERSION }}/wasi-sdk-${{ env.WASI_SDK_VERSION }}.0-linux.tar.gz | \
|
curl -s -S --location https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${{ env.WASI_SDK_VERSION }}/wasi-sdk-${{ env.WASI_SDK_VERSION }}.0-x86_64-linux.tar.gz | \
|
||||||
tar --strip-components 1 --directory ${{ env.WASI_SDK_PATH }} --extract --gunzip
|
tar --strip-components 1 --directory ${{ env.WASI_SDK_PATH }} --extract --gunzip
|
||||||
- name: "Configure ccache action"
|
- name: "Configure ccache action"
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Use WASI SDK 24 for testing.
|
Loading…
Reference in New Issue