CHEERP_PREFIX=/opt/cheerp
mkdir -p build_genericjs
cd build_genericjs
RANLIB="${CHEERP_PREFIX}/bin/llvm-ar s" \
AR="${CHEERP_PREFIX}/bin/llvm-ar" \
CC="${CHEERP_PREFIX}/bin/clang -target cheerp" \
LD="${CHEERP_PREFIX}/bin/llvm-link" \
CFLAGS="-Wno-int-conversion" \
../configure --target=cheerp --disable-shared --prefix=${CHEERP_PREFIX} --with-malloc=dlmalloc
make
make install-cheerp
cd ..
mkdir -p build_asmjs
cd build_asmjs
RANLIB="${CHEERP_PREFIX}/bin/llvm-ar s" \
AR="${CHEERP_PREFIX}/bin/llvm-ar" \
CC="${CHEERP_PREFIX}/bin/clang -target cheerp-wasm" \
LD="${CHEERP_PREFIX}/bin/llvm-link" \
CFLAGS="-Wno-int-conversion" \
../configure --target=cheerp-wasm --disable-shared --prefix=${CHEERP_PREFIX} --with-malloc=dlmalloc
make
make install-bc
cd ..
-
Notifications
You must be signed in to change notification settings - Fork 3
A Cheerp-enabled libc implementation
License
leaningtech/cheerp-musl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Cheerp-enabled libc implementation
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published