File tree 2 files changed +8
-7
lines changed 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 53
53
# Customizes the Emscripten docker container via the Dockerfile in this repo
54
54
- name : Build the Docker image
55
55
run : |
56
+ # Sometimes it might be necessary to use a different version of EMSDK for different scenarios
56
57
if [[ $BUILD_TYPE =~ 'source' ]]; then
57
- BUILD_VERSION='3.1.12 '
58
+ BUILD_VERSION='3.1.41 '
58
59
else
59
60
BUILD_VERSION='3.1.41'
60
61
fi
Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ build/lib/libxapian.a : build/lib/libz.a
69
69
70
70
build/lib/libzim.a : build/lib/liblzma.so build/lib/libz.a build/lib/libzstd.a build/lib/libicudata.so build/lib/libxapian.a
71
71
# Origin: wget -N --content-disposition https://github.com/openzim/libzim/archive/7.2.2.tar.gz
72
- [ ! -f libzim-* .tar.xz ] && wget -N https://download.openzim.org/release/libzim/libzim-8.1 .0.tar.xz || true
73
- tar xf libzim-8.1 .0.tar.xz
72
+ [ ! -f libzim-* .tar.xz ] && wget -N https://download.openzim.org/release/libzim/libzim-8.2 .0.tar.xz || true
73
+ tar xf libzim-8.2 .0.tar.xz
74
74
# It's no use trying to compile examples
75
- sed -i -e " s/^subdir('examples')//" libzim-8.1 .0/meson.build
76
- cd libzim-8.1 .0; PKG_CONFIG_PATH=/src/build/lib/pkgconfig meson --prefix=` pwd` /../build --cross-file=../emscripten-crosscompile.ini . build -DUSE_MMAP=false
77
- cd libzim-8.1 .0; ninja -C build
78
- cd libzim-8.1 .0; ninja -C build install
75
+ sed -i -e " s/^subdir('examples')//" libzim-8.2 .0/meson.build
76
+ cd libzim-8.2 .0; PKG_CONFIG_PATH=/src/build/lib/pkgconfig meson --prefix=` pwd` /../build --cross-file=../emscripten-crosscompile.ini . build -DUSE_MMAP=false
77
+ cd libzim-8.2 .0; ninja -C build
78
+ cd libzim-8.2 .0; ninja -C build install
79
79
80
80
# Development WASM version for testing with WORKERFS and NODEFS, completely unoptimized
81
81
libzim-wasm.dev.js : libzim_bindings.cpp prejs_file_api.js postjs_file_api.js
You can’t perform that action at this time.
0 commit comments