Skip to content

Commit

Permalink
fix: Disable the maybe-uninitialized error in newer gcc (#69)
Browse files Browse the repository at this point in the history
chore: Build JS version with emsdk 3.1.17
chore: Rebuild binaryen.es5.js

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
phated and github-actions[bot] committed Oct 25, 2022
1 parent 2a65e4f commit 2b6834a
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 203 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/js.yml
Expand Up @@ -13,16 +13,15 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v2.1.2
with:
node-version: '16'
node-version: "16"
check-latest: true

- name: "Set up emsdk"
run: |
mkdir $HOME/emsdk
git clone --depth 1 https://github.com/emscripten-core/emsdk.git $HOME/emsdk
$HOME/emsdk/emsdk update-tags
$HOME/emsdk/emsdk install tot
$HOME/emsdk/emsdk activate tot
$HOME/emsdk/emsdk install 3.1.17
$HOME/emsdk/emsdk activate 3.1.17
echo "$HOME/emsdk" >> $GITHUB_PATH
- name: "Set up CMake"
Expand All @@ -34,7 +33,7 @@ jobs:
- name: Checkout project
uses: actions/checkout@v2
with:
submodules: 'recursive'
submodules: "recursive"

- name: "Build binaryen.es5.js"
run: |
Expand Down
388 changes: 194 additions & 194 deletions binaryen.es5.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dune
Expand Up @@ -39,7 +39,7 @@
binaryen
-G
"Unix Makefiles"
-DCMAKE_CXX_FLAGS=-Wno-unused-variable
"-DCMAKE_CXX_FLAGS=-Wno-unused-variable -Wno-maybe-uninitialized"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DBUILD_STATIC_LIB=ON
Expand All @@ -66,7 +66,7 @@
binaryen
-G
"Unix Makefiles"
-DCMAKE_CXX_FLAGS=-Wno-unused-variable
"-DCMAKE_CXX_FLAGS=-Wno-unused-variable -Wno-maybe-uninitialized"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DBUILD_STATIC_LIB=OFF
Expand Down Expand Up @@ -95,7 +95,7 @@
binaryen
-G
"Unix Makefiles"
-DCMAKE_CXX_FLAGS=-Wno-unused-variable
"-DCMAKE_CXX_FLAGS=-Wno-unused-variable -Wno-maybe-uninitialized"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DBUILD_STATIC_LIB=OFF
Expand All @@ -122,7 +122,7 @@
binaryen
-G
"Unix Makefiles"
-DCMAKE_CXX_FLAGS=-Wno-unused-variable
"-DCMAKE_CXX_FLAGS=-Wno-unused-variable -Wno-maybe-uninitialized"
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DCMAKE_SHARED_LIBRARY_PREFIX_CXX=lib
Expand Down

0 comments on commit 2b6834a

Please sign in to comment.