File tree 2 files changed +4
-3
lines changed
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
9
9
10
10
./build0.sh
11
11
emcmake cmake \
12
- -DCMAKE_BUILD_TYPE=Debug \
12
+ -DCMAKE_BUILD_TYPE=Release \
13
13
-DCMAKE_CXX_FLAGS_DEBUG=" -Wall -Wextra -fexceptions" \
14
+ -DCMAKE_CXX_FLAGS_RELEASE=" -Wall -Wextra -fexceptions" \
14
15
-DWITH_LLVM=no \
15
16
-DLPYTHON_BUILD_ALL=yes \
16
17
-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);
113
113
// YYSTYPE must be at least as big, but it should not be bigger, otherwise it
114
114
// would reduce performance.
115
115
// 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 *>));
118
118
#endif
119
119
120
120
static_assert (std::is_standard_layout<Location>::value);
You can’t perform that action at this time.
0 commit comments