File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ cp -r src/runtime/lpython src/bin/asset_dir
99
1010./build0.sh
1111emcmake cmake \
12- -DCMAKE_BUILD_TYPE=Debug \
12+ -DCMAKE_BUILD_TYPE=Release \
1313 -DCMAKE_CXX_FLAGS_DEBUG=" -Wall -Wextra -fexceptions" \
14+ -DCMAKE_CXX_FLAGS_RELEASE=" -Wall -Wextra -fexceptions" \
1415 -DWITH_LLVM=no \
1516 -DLPYTHON_BUILD_ALL=yes \
1617 -DLPYTHON_BUILD_TO_WASM=yes \
Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ static_assert(std::is_trivial<YYSTYPE>::value);
113113// YYSTYPE must be at least as big, but it should not be bigger, otherwise it
114114// would reduce performance.
115115// A temporary fix for PowerPC 32-bit, where the following assert fails with (16 == 12).
116- #ifndef __ppc__
117- static_assert (sizeof (YYSTYPE) == sizeof (Vec<LPython:: AST::ast_t *>));
116+ #if !defined(HAVE_BUILD_TO_WASM) && !defined( __ppc__)
117+ static_assert (sizeof (YYSTYPE) == sizeof (Vec<AST::ast_t *>));
118118#endif
119119
120120static_assert (std::is_standard_layout<Location>::value);
You can’t perform that action at this time.
0 commit comments