Skip to content

Commit 2b30bb0

Browse files
authored
Upgrade swig to 4.1 (#2491)
Upgrade to [email protected] when building wamr-lldb on MacOS since swig@3 had been disabled: https://formulae.brew.sh/formula/swig
1 parent 051dfbb commit 2b30bb0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build_wamr_lldb.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
type: string
2828
required: false
2929
default: "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz"
30-
30+
3131

3232
jobs:
3333
try_reuse:
@@ -49,7 +49,7 @@ jobs:
4949
PYTHON_MACOS_STANDALONE_BUILD: https://github.com/indygreg/python-build-standalone/releases/download/20230507/cpython-3.10.11+20230507-x86_64-apple-darwin-install_only.tar.gz
5050
steps:
5151
- uses: actions/checkout@v3
52-
52+
5353
- name: download and install wasi-sdk
5454
run: |
5555
cd /opt
@@ -84,8 +84,8 @@ jobs:
8484
if: steps.lldb_build_cache.outputs.cache-hit != 'true' && contains(inputs.runner, 'macos')
8585
run: |
8686
brew remove swig
87-
brew install swig@3 cmake ninja libedit
88-
brew link --overwrite swig@3
87+
brew install swig@4.1 cmake ninja libedit
88+
brew link --overwrite swig@4.1
8989
sudo rm -rf /Library/Developer/CommandLineTools
9090
9191
- name: install utils ubuntu
@@ -205,7 +205,7 @@ jobs:
205205
mkdir -p wamr-lldb/lib
206206
cp build/bin/lldb* wamr-lldb/bin
207207
cp lldb/tools/lldb-vscode/package.json wamr-lldb
208-
cp -r lldb/tools/lldb-vscode/syntaxes/ wamr-lldb
208+
cp -r lldb/tools/lldb-vscode/syntaxes/ wamr-lldb
209209
working-directory: core/deps/llvm-project
210210

211211
- name: pack ubuntu specific libraries
@@ -226,7 +226,7 @@ jobs:
226226
cp -R ../python/lib/python* wamr-lldb/lib
227227
cp ../python/lib/libpython*.dylib wamr-lldb/lib
228228
install_name_tool -change /install/lib/libpython${{ env.PYTHON_VERSION }}.dylib @rpath/libpython${{ env.PYTHON_VERSION }}.dylib wamr-lldb/lib/liblldb.*.dylib
229-
# Patch path of python library -> https://github.com/indygreg/python-build-standalone/blob/85923ca3911784e6978b85d56e06e9ae75cb2dc4/docs/quirks.rst?plain=1#L412-L446
229+
# Patch path of python library -> https://github.com/indygreg/python-build-standalone/blob/85923ca3911784e6978b85d56e06e9ae75cb2dc4/docs/quirks.rst?plain=1#L412-L446
230230
working-directory: core/deps/llvm-project
231231

232232
- name: compress the binary

0 commit comments

Comments
 (0)