--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/YVJgSx9OXiA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/YVJgSx9OXiA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
2-3 minutes does seem quite high. If you want, paste the output of EMCC_DEBUG=1 when building to JS, perhaps the timing info there will show something surprising to me.- Alon
On Fri, Jan 16, 2015 at 12:51 AM, Emanuele Palombo <emanuele...@gmail.com> wrote:
Thanks for your reply and explanation!I already follow all suggestions on the faq you have linked...and I compile on a i7 with 4+4 core.I think that my project is really huge, the final js file compiled is 24MB (without optimization).I'll wait the needed compile time (2-3 min)thanks again
On Thursday, 15 January 2015 22:11:27 UTC+1, Alon Zakai wrote:
- AlonCompiling bitcode to JS is done as a whole. There isn't an option currently to build to separate JS files.in particular, recent emscripten versions are much faster thanks to the native optimizer mentioned there, so worth verifying you are on a recent version and that the native optimizer is in effect (see faq entry).
But see
http://kripken.github.io/emscripten-site/docs/getting_started/FAQ.html#why-is-code-compilation-slow
On Thu, Jan 15, 2015 at 3:38 AM, Emanuele Palombo <emanuele...@gmail.com> wrote:
I have a huge C++ project and the compilation time is too long.Can I recompile only the file that I change?I have find old Static Linking (https://github.com/kripken/emscripten/wiki/Linking)...but I think is not a good solution.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/YVJgSx9OXiA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
COIN_CPP=src/coin/Cgl/CglAllDifferent.cpp src/coin/Cgl/CglClique.cpp [...] src/coin/OsiClp/OsiClpSolverInterface.cpp
OGDF_CPP=src/ogdf/basic/Math.cpp src/ogdf/basic/Graph.cpp [...] src/ogdf/energybased/MAARPacking.cpp
COIN_OBJECT=$(COIN_CPP:.cpp=.o)
OGDF_OBJECT=$(OGDF_CPP:.cpp=.o)
OTPIMIZATION = -O3
ifeq ($(NOPT),1)
OTPIMIZATION=
endif
all: coin ogdf bind
coin: $(COIN_CPP)
$(foreach cpp,$(COIN_CPP),$(CC) --bind $(OTPIMIZATION) --memory-init-file 0 $(COIN_PREPOCESSOR_DIRECTIVES) $(COIN_INCLUDE_PATH) $(cpp) -c -o $(cpp:.cpp=.o);)
ogdf:
@$(foreach cpp,$(OGDF_CPP),$(CC) --bind $(OTPIMIZATION) --memory-init-file 0 $(OGDF_PREPOCESSOR_DIRECTIVES) $(OGDF_INCLUDE_PATH) $(cpp) -c -o $(cpp:.cpp=.o);)
bind: $(COIN_OBJECT) $(OGDF_OBJECT)
$(CC) --bind $(OTPIMIZATION) --memory-init-file 0 $(COIN_OBJECT) $(OGDF_OBJECT) src/ogdf.js/bindings/bindings.cpp $(OGDF_INCLUDE_PATH) -o $(OUTPUT_JS)
clean:
@echo "Cleaning Coin..."
@$(foreach object,$(COIN_OBJECT),rm -f $(object))
@echo "Cleaning OGDF..."
@$(foreach object,$(OGDF_OBJECT),rm -f $(object))
@rm -f $(OUTPUT_JS)
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/YVJgSx9OXiA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.