Skip to content

Commit

Permalink
Update skia to 6fd3120c1b to use -sSUPPORT_LONGJMP=wasm (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
eymar authored Dec 2, 2024
1 parent 95bcbb2 commit 745f156
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
default: 'false'

env:
version: m126-6bfb13368b
version: m126-6fd3120c1b

jobs:
macos:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion script/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 745f156

Please sign in to comment.