Sorry, master does not have proper fastcomp support yet - we are waiting to merge for a while yet. I fixed that wiki page now.
- Alon On Wed, Mar 26, 2014 at 9:43 AM, Rob Raguet-Schofield <[email protected]>wrote: > Okay, 'incoming' does build correctly. I was following the instructions > on the wiki that suggested 'master' would be more stable: > > > Branches > > > > To get a stable snapshot of emscripten development, use the master > branch in all repos: emscripten, emscripten-fastcomp and > emscripten-fastcomp-clang (that is, in emscripten, in emscripten's LLVM > fork and in emscripten's clang fork). You can also use theincoming branch > in all three if you want the very latest changes, but those branches can > sometimes have breakage. > > > > Make sure to use the SAME branch in all three. Changes might land in > emscripten incoming for example that will not work on the master branches > of the other two. > > > > On Mar 26, 2014, at 11:26 AM, Bruce Mitchener <[email protected]> > wrote: > > > Make sure you're on the "incoming" branch in all 3 repositories? > > > > - Bruce > > > > > > > > On Wed, Mar 26, 2014 at 11:18 PM, Rob Raguet-Schofield < > [email protected]> wrote: > > I'm trying to build emscripten-fastcomp based on the instructions on > this wiki page <https://github.com/kripken/emscripten/wiki/LLVM-Backend>. > I've cloned all three repositories: > > > > git clone https://github.com/kripken/emscripten emscripten > > git clone > > https://github.com/kripken/emscripten-fastcompemscripten-fastcomp > > git clone > > https://github.com/kripken/emscripten-fastcomp-clangemscripten-fastcomp/tools/clang > > > > but when I attempt to build emscripten-fastcomp using either the > autoconf or cmake build systems I get a build error: > > > > cd emscripten-fastcomp > > mkdir build > > cd build > > cmake .. -DCMAKE_BUILD_TYPE=Release > -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" -DLLVM_INCLUDE_EXAMPLES=OFF > -DLLVM_INCLUDE_TESTS=OFF > > make > > > > ... > > > > [ 66%] Building CXX object > tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Targets.cpp.o > > > /opt/emscripten-fastcomp/tools/clang/lib/Basic/Targets.cpp:5427:22: error: > no member named 'asmjs' in 'llvm::Triple' > > case llvm::Triple::asmjs: > > ~~~~~~~~~~~~~~^ > > > /opt/emscripten-fastcomp/tools/clang/lib/Basic/Targets.cpp:5429:26: error: > no member named 'Emscripten' in 'llvm::Triple' > > case llvm::Triple::Emscripten: > > ~~~~~~~~~~~~~~^ > > 2 errors generated. > > make[2]: *** > [tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Targets.cpp.o] Error 1 > > make[1]: *** > [tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/all] Error 2 > > make: *** [all] Error 2 > > > > Are the instructions on this wiki page out of date, or am I perhaps > doing something else wrong? Thanks! > > > > Rob Raguet-Schofield > (rob ra gA skO fEld) > > -- > 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
