diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9dee78..ebe7fe2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ on: default: 'false' env: - version: m126-6bfb13368b + version: m126-6fd3120c1b jobs: macos: diff --git a/README.md b/README.md index e4518fd..0532a5b 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,15 @@ Prebuilt binaries can be found [in releases](https://github.com/JetBrains/skia-p ## Building locally ```sh -python3 script/checkout.py --version m126-6bfb13368b +python3 script/checkout.py --version m126-6fd3120c1b python3 script/build.py -python3 script/archive.py --version m126-6bfb13368b +python3 script/archive.py --version m126-6fd3120c1b ``` To build a debug build: ```sh -python3 script/checkout.py --version m126-6bfb13368b +python3 script/checkout.py --version m126-6fd3120c1b python3 script/build.py --build-type Debug -python3 script/archive.py --version m126-6bfb13368b --build-type Debug +python3 script/archive.py --version m126-6fd3120c1b --build-type Debug ``` diff --git a/script/build.py b/script/build.py index dbdcdd4..5827d68 100755 --- a/script/build.py +++ b/script/build.py @@ -122,7 +122,7 @@ def main(): 'skia_enable_gpu=true', 'skia_enable_svg=true', # other targets have this set in skia.gni 'skia_use_expat=true', # other targets have this set in skia.gni - 'extra_cflags=["-DSK_SUPPORT_GPU=1", "-DSK_GL", "-DSK_DISABLE_LEGACY_SHADERCONTEXT"]' + 'extra_cflags=["-DSK_SUPPORT_GPU=1", "-DSK_GL", "-DSK_DISABLE_LEGACY_SHADERCONTEXT", "-sSUPPORT_LONGJMP=wasm"]' ] if 'linux' == host and 'arm64' == host_machine: