Comments (7)
I think so! Good idea!
from emscripten-docker.
Hi, I see that there is an attempt in your case to create a new cache entry under wasm-lto
but I have a difficult to reproduce it. Simple command doesn't work.
em++ test.cpp -flto -o test.js -s WASM=1
Is it possible for you to share compilation flags?
from emscripten-docker.
I've addressed blindly this issue in the commit ec1eaff, I will update images soon with that change.
from emscripten-docker.
em++ test.cpp -flto -o test.js -s WASM=1
Hmm, I'll need some time to get around but could you try adding optimisation and/or debug flags?
from emscripten-docker.
I've tested a various of flags under 1.39.5 - nothing has worked unfortunately.
Some images have been already updated with precompiled LTO, i.e:
docker pull trzeci/emscripten-fastcomp:1.39.7
docker pull trzeci/emscripten-upstream:1.39.7
Also would be useful if you tell which version of emscripten do you use, as I've found that this emscripten-core/emscripten#10603 might be related
from emscripten-docker.
Ah, it probably depends on contents of your test.cpp and which libraries end up being linked. If it's not using the standard library, it might be skipping these compilations altogether.
as I've found that this emscripten-core/emscripten#10603 might be related
Unlikely - that issue is just about size inefficiency, which is not very related.
from emscripten-docker.
So I've added a bunch of most common libs to cache with lto, please check if something missing I can add explicitly to the list : )
Thanks!
from emscripten-docker.
Related Issues (20)
- Current docker image doesn't support llvm upstream HOT 9
- None
- emscripten-upstream exception problems HOT 5
- Error: 'bits/alltypes.h' "file not found" in newer images HOT 10
- jenkins.trzeci.eu appears to be down HOT 4
- Building error of 1.39.1 HOT 3
- Has the pwd changed? HOT 6
- Missing emscripten:sdk-incoming-64bit
- Clean up README
- 1.39.4 is failing to build HOT 2
- Alpine Linux base image HOT 2
- No setup/usage instruction for Windows User HOT 6
- ETA for latest Emscripten builds HOT 2
- Make it easier to use emscripten tools HOT 1
- Use upstream by default? HOT 3
- latest tag HOT 6
- Advertise the official emscripten image
- Include cpack in Emscripten docker image
- Using -llibstdc++ works in fastcomp but not in upstream. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emscripten-docker.