emscripten_docker/povray_wasm/build_alpine.sh

23 lines
456 B
Bash
Raw Normal View History

2021-09-15 14:55:40 +00:00
EMAIL="hi@mmcwilliams.com"
NAME="Matt McWilliams"
2021-09-16 00:26:18 +00:00
CFLAGS="-pthread" #-DBOOST_THREAD_USE_LIB -s USE_BOOST_HEADERS=1
LDFLAGS="$CFLAGS -s INITIAL_MEMORY=33554432 -Wl -V"
ARGS=(
#LIBS="-lboost_system -lboost_thread -lboost_date_time"
COMPILED_BY="$NAME <$EMAIL>"
CC=emcc
CXX=em++
CFLAGS="$CFLAGS"
CXXFLAGS="$CFLAGS"
LDFLAGS="$LDFLAGS"
--host=wasm32
)
cd unix/
sh prebuild.sh
cd ../
2021-09-16 00:26:18 +00:00
emconfigure ./configure "${ARGS[@]}"
2021-09-16 00:21:14 +00:00
exit 1
2021-09-15 20:10:38 +00:00
emmake make -j2