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.

Reply via email to