File tree Expand file tree Collapse file tree 11 files changed +27
-27
lines changed Expand file tree Collapse file tree 11 files changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export MAIN_MODULE_LDFLAGS= $(LDFLAGS_BASE) \
143
143
-s LZ4=1 \
144
144
-s EXPORT_NAME="'_createPyodideModule'" \
145
145
-s EXPORT_EXCEPTION_HANDLING_HELPERS \
146
- -s EXCEPTION_CATCHING_ALLOWED=['we only want to allow exception handling in side modules'] \
146
+ -fwasm-exceptions \
147
147
-sEXPORTED_RUNTIME_METHODS='wasmTable,ERRNO_CODES' \
148
148
-s USE_ZLIB \
149
149
-s USE_BZIP2 \
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ requirements:
15
15
- numpy
16
16
17
17
build :
18
- cxxflags : -fexceptions -fPIC -DBOOST_SP_DISABLE_THREADS=1 -O2
19
- ldflags : -fexceptions
18
+ cxxflags : -fwasm-exceptions -fPIC -DBOOST_SP_DISABLE_THREADS=1 -O2
19
+ ldflags : -fwasm-exceptions
20
20
script : |
21
21
export INSTALL_DIR=${WASM_LIBRARY_DIR}
22
22
26
26
-DNUMPY_INCLUDE_DIR=$HOSTINSTALLDIR/lib/python$PYMAJOR.$PYMINOR/site-packages/numpy/_core/include/ \
27
27
-DPYTHON3_INCLUDE_DIR=$PYTHONINCLUDE -DPYTHON3_EXECUTABLE=python$PYMAJOR.$PYMINOR \
28
28
-DPYTHON3_LIBRARY=$HOSTINSTALLDIR/lib/python$PYMAJOR.$PYMINOR.a \
29
- -DCMAKE_CXX_FLAGS="-fPIC -fexceptions -DBOOST_AP_DISABLE_THREADS=1 -O2 -DBOOST_BIND_GLOBAL_PLACEHOLDERS=1 -Wno-enum-constexpr-conversion" \
29
+ -DCMAKE_CXX_FLAGS="-fPIC -fwasm-exceptions -DBOOST_AP_DISABLE_THREADS=1 -O2 -DBOOST_BIND_GLOBAL_PLACEHOLDERS=1 -Wno-enum-constexpr-conversion" \
30
30
-DBoost_INCLUDE_DIR=$WASM_LIBRARY_DIR/include -DBoost_LIBRARY_DIR=$WASM_LIBRARY_DIR/lib \
31
31
-DBoost_DATE_TIME_LIBRARY_RELEASE=$WASM_LIBRARY_DIR/lib/libboost_date_time.a \
32
32
-DBoost_DATE_TIME_LIBRARY_DEBUG=$WASM_LIBRARY_DIR/lib/libboost_date_time.a \
48
48
-DUSE_PREGENERATED_SOURCE=ON \
49
49
.
50
50
emmake make -j ${PYODIDE_JOBS:-3}
51
- emcc ${SIDE_MODULE_LDFLAGS} -fexceptions out/lib/libRobotRaconteurCore.a \
51
+ emcc ${SIDE_MODULE_LDFLAGS} -fwasm-exceptions out/lib/libRobotRaconteurCore.a \
52
52
out/Python3/RobotRaconteur/_RobotRaconteurPython.a \
53
53
$WASM_LIBRARY_DIR/lib/libboost_chrono.a \
54
54
$WASM_LIBRARY_DIR/lib/libboost_date_time.a \
Original file line number Diff line number Diff line change 22
22
./b2 variant=release toolset=clang-emscripten link=static threading=single \
23
23
--with-date_time --with-filesystem \
24
24
--with-system --with-regex --with-chrono --with-random --with-program_options --disable-icu \
25
- cxxflags="$SIDE_MODULE_CXXFLAGS -fexceptions -DBOOST_SP_DISABLE_THREADS=1" \
26
- cflags="$SIDE_MODULE_CFLAGS -fexceptions -DBOOST_SP_DISABLE_THREADS=1" \
25
+ cxxflags="$SIDE_MODULE_CXXFLAGS -fwasm-exceptions -DBOOST_SP_DISABLE_THREADS=1" \
26
+ cflags="$SIDE_MODULE_CFLAGS -fwasm-exceptions -DBOOST_SP_DISABLE_THREADS=1" \
27
27
linkflags="-fpic $SIDE_MODULE_LDFLAGS" \
28
28
--layout=system -j"${PYODIDE_JOBS:-3}" --prefix=${INSTALL_DIR} \
29
29
install
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ requirements:
12
12
build :
13
13
exports : requested
14
14
cflags : |
15
- -fexceptions -frtti
15
+ -fwasm-exceptions -frtti
16
16
cxxflags : |
17
- -fexceptions -frtti
17
+ -fwasm-exceptions -frtti
18
18
ldflags : |
19
- -fexceptions
19
+ -fwasm-exceptions
20
20
about :
21
21
home : http://casadi.org
22
22
PyPI : https://pypi.org/project/casadi
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ source:
16
16
- ./pyproject.toml
17
17
18
18
build :
19
- cflags : -fexceptions
20
- cxxflags : -fexceptions
21
- ldflags : -fexceptions
19
+ cflags : -fwasm-exceptions
20
+ cxxflags : -fwasm-exceptions
21
+ ldflags : -fwasm-exceptions
22
22
23
23
requirements :
24
24
run :
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ source:
11
11
build :
12
12
type : shared_library
13
13
script : |
14
- em++ ${SIDE_MODULE_CFLAGS} -fexceptions -I${PYTHONINCLUDE} -flto -fno-lto -std=c++20 -c throw.cpp -o throw.o
15
- em++ ${SIDE_MODULE_CFLAGS} -fexceptions -I${PYTHONINCLUDE} -flto -fno-lto -std=c++20 -c catch.cpp -o catch.o -mreference-types
16
- em++ ${SIDE_MODULE_LDFLAGS} -fexceptions -o ${DISTDIR}/cpp-exceptions-test-throw.so throw.o
17
- em++ ${SIDE_MODULE_LDFLAGS} -fexceptions -o ${DISTDIR}/cpp-exceptions-test-catch.so catch.o
14
+ em++ ${SIDE_MODULE_CFLAGS} -fwasm-exceptions -I${PYTHONINCLUDE} -flto -fno-lto -std=c++20 -c throw.cpp -o throw.o
15
+ em++ ${SIDE_MODULE_CFLAGS} -fwasm-exceptions -I${PYTHONINCLUDE} -flto -fno-lto -std=c++20 -c catch.cpp -o catch.o -mreference-types
16
+ em++ ${SIDE_MODULE_LDFLAGS} -fwasm-exceptions -o ${DISTDIR}/cpp-exceptions-test-throw.so throw.o
17
+ em++ ${SIDE_MODULE_LDFLAGS} -fwasm-exceptions -o ${DISTDIR}/cpp-exceptions-test-catch.so catch.o
18
18
about :
19
19
license : MPL-2.0
Original file line number Diff line number Diff line change 7
7
source :
8
8
path : src
9
9
build :
10
- cxxflags : -fexceptions
11
- ldflags : -fexceptions
10
+ cxxflags : -fwasm-exceptions
11
+ ldflags : -fwasm-exceptions
12
12
about :
13
13
license : MPL-2.0
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ build:
25
25
-s USE_FREETYPE=1
26
26
-s USE_LIBPNG=1
27
27
-s USE_ZLIB=1
28
- -fexceptions
28
+ -fwasm-exceptions
29
29
-fno-lto
30
30
cxxflags : |
31
31
-std=c++14
32
- -fexceptions
32
+ -fwasm-exceptions
33
33
ldflags : |
34
- -fexceptions
34
+ -fwasm-exceptions
35
35
script : export SETUPTOOLS_SCM_PRETEND_VERSION=$PKG_VERSION
36
36
post : |
37
37
rm -rf matplotlib/backends/qt_editor
Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ build:
54
54
-DUNDERSCORE_G77
55
55
-fvisibility=default
56
56
cxxflags : |
57
- -fexceptions
57
+ -fwasm-exceptions
58
58
-fvisibility=default
59
59
ldflags : |
60
60
-L$(NUMPY_LIB)/core/lib/
61
61
-L$(NUMPY_LIB)/random/lib/
62
- -fexceptions
62
+ -fwasm-exceptions
63
63
64
64
# Exclude tests via Meson's install tags functionality.
65
65
unvendor-tests : true
Original file line number Diff line number Diff line change 11
11
script : |
12
12
export GEOS_CONFIG=${WASM_LIBRARY_DIR}/bin/geos-config
13
13
cxxflags : |
14
- -fexceptions
14
+ -fwasm-exceptions
15
15
ldflags : |
16
- -fexceptions
16
+ -fwasm-exceptions
17
17
requirements :
18
18
run :
19
19
- numpy
You can’t perform that action at this time.
0 commit comments