File tree Expand file tree Collapse file tree 4 files changed +36
-8
lines changed Expand file tree Collapse file tree 4 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 1919 runs-on : ubuntu-22.04
2020 env :
2121 BUILDS : 3.12 3.13
22-
22+ EMFLAVOUR : 3.1.59
23+
2324 steps :
2425 - uses : actions/checkout@v3.3.0
2526
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- . ${CONFIG :- config}
3+ . scripts/emsdk-fetch.sh
44
55
66cd ${ROOT} /src
2020 already built in $PREFIX /lib/libxml2.a
2121 "
2222else
23- . ${SDKROOT} /scripts/emsdk-fetch.sh
2423
2524 mkdir -p $ROOT /build/libxml2
2625 pushd $ROOT /build/libxml2
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ . scripts/emsdk-fetch.sh
4+
5+ cd ${ROOT} /src
6+
7+ if [ -d liblz4 ]
8+ then
9+ echo ok
10+ else
11+ wget -c https://github.com/lz4/lz4/releases/download/v1.9.4/lz4-1.9.4.tar.gz
12+ tar xfz lz4-1.9.4.tar.gz
13+ mv lz4-1.9.4 liblz4
14+ fi
15+
16+ if [ -f $PREFIX /lib/liblz4.a ]
17+ then
18+ echo "
19+ already built in $PREFIX /lib/liblz4.a
20+ "
21+ else
22+ mkdir -p $ROOT /build/liblz4
23+ pushd $ROOT /build/liblz4
24+ emcmake cmake ../../src/liblz4/build/cmake -DCMAKE_INSTALL_PREFIX=$PREFIX \
25+ && emmake make install
26+ popd
27+ fi
28+
29+
30+
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- . ${CONFIG :- config}
3+ . ${SDKROOT} /scripts/emsdk-fetch.sh
44
55
66cd ${ROOT} /src
1414 echo "
1515 ${PKG} already prepared
1616 "
17- pushd ${PKG}
1817else
1918 git clone --recursive https://github.com/pmp-p/${PKG}
20- pushd ${PKG}
21- touch ../${PKG} .patched
19+ touch ${PKG} .patched
2220fi
2321
24- . ${SDKROOT} /scripts/emsdk-fetch.sh
22+ pushd ${PKG}
2523
2624. fltk-wasm-build.sh
2725
You can’t perform that action at this time.
0 commit comments