question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider making a future/test build with Cheerp

See original GitHub issue

The developer of emscripten himself suggests using Cheerp for projects complaining about memory fragmentation (⚠ add reference).

I know it is too early to conclude anything yet but should we eventually happen to exhaust all of our options with https://github.com/paulo-coutinho/pdfium-lib/issues/33, Cheerp might provide a solution. It is GPLv2 for open-source projects and PDFium is open-source with its BSD license.

This is just a suggestion.


https://leaningtech.com/cheerp/ https://medium.com/leaningtech/best-in-class-webassembly-with-cheerp-2-5-rc1-aa44951bc0f0


Getting started

mkdir cheerp
cd    cheerp
wget https://launchpad.net/cheerp/trunk/cheerp-2.5/+download/cheerp-llvm-clang-2.5.tar.gz
tar xvf cheerp-llvm-clang-2.5.tar.gz
cd      cheerp-llvm-clang-2.5
cat README.md

mkdir build
cd    build
cmake -C ../CheerpCmakeConf.cmake -DCMAKE_BUILD_TYPE=Release ..
make #-j16
cd bin
ls
cetin@sert-works:~/dn/cheerp/cheerp-llvm-clang-2.5/build/bin$ ls
FileCheck     clang-import-test      llvm-c-test     llvm-extract     llvm-opt-report  llvm-tblgen
arcmt-test    clang-offload-bundler  llvm-cat        llvm-go          llvm-pdbutil     llvm-xray
bugpoint      clang-rename           llvm-config     llvm-lib         llvm-profdata    not
c-arcmt-test  clang-tblgen           llvm-cov        llvm-link        llvm-ranlib      obj2yaml
c-index-test  count                  llvm-cvtres     llvm-lit         llvm-rc          opt
clang         diagtool               llvm-cxxdump    llvm-lto         llvm-readelf     sancov
clang++       llc                    llvm-cxxfilt    llvm-lto2        llvm-readobj     sanstats
clang-6.0     lli                    llvm-diff       llvm-mc          llvm-rtdyld      scan-build
clang-check   lli-child-target       llvm-dis        llvm-mcmarkup    llvm-size        scan-view
clang-cl      llvm-PerfectShuffle    llvm-dlltool    llvm-modextract  llvm-split       verify-uselistorder
clang-cpp     llvm-ar                llvm-dsymutil   llvm-mt          llvm-stress      yaml-bench
clang-diff    llvm-as                llvm-dwarfdump  llvm-nm          llvm-strings     yaml2obj
clang-format  llvm-bcanalyzer        llvm-dwp        llvm-objdump     llvm-symbolizer

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27 (16 by maintainers)

github_iconTop GitHub Comments

6reactions
paulocoutinhoxcommented, Nov 12, 2021

I talked with “Alessandro Pignotti” on Gitter and he sad that in two days +/- a nightly build will be released with the master version.

https://gitter.im/leaningtech/cheerp

5reactions
paulocoutinhoxcommented, Nov 12, 2021

Ok, i will generate the JS file and maybe ignore the HTML for this target.

Ah, i make it work locally hacking the Google files inside the Dockerfile, and now im testing to upload to github actions after all steps to compile pdfium works (only left the cheerp compile it with success).

image

auhauhauhahuahu

Read more comments on GitHub >

github_iconTop Results From Across the Web

Consider making a future/test build with Cheerp · Issue #39 ... - GitHub
I tried make a new docker image for cheerp, but it too a lot of space. If anyone help me to build it...
Read more >
American English at State - Earlier today we posted about the ...
Earlier today we posted about the future. Test your understanding with this #AmericanEnglish quiz! We'll post the answers tomorrow.
Read more >
How to Make Learning Easier than Cheating | EdSurge News
Getting to the last step, “Copy an answer!”, doesn't serve anyone - the student fails to learn the material and will do poorly...
Read more >
A Guide to Developing a Business Plan for Farms and Rural ...
MISA's purpose is to bring together the agricultural community and the University community in a cooperative effort to develop and promote sustainable ...
Read more >
Build a Public API on Force.com - Jeff Douglas
We are going to use the CloudSpokes API as an example. Our API is written in Ruby and simply makes REST API or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found