[llvm-dev] Building compiler front-end from GitHub source

mats petersson via llvm-dev llvm-dev at lists.llvm.org
Tue Jun 13 01:53:11 PDT 2017


On 12 June 2017 at 17:39, Ludwig, Marc via llvm-dev <llvm-dev at lists.llvm.org
> wrote:

> > what does "make" and "make check-all" produce as output?
> I've should create a log on my next try and let you know what it says. But
> this will be a huge LOG-File.
>

If it's that huge, maybe cutting it down to the last few bits would be
useful? Like I said, I don't know what this project does with regards to
building, etc.

--
Mats

> > You may be missing some pre-requisit, or have too new of something?
> I'll check that too.
>
> Thanks for your response and best regards,
>
> Marc
> ________________________________________
> Von: mats.o.petersson at googlemail.com [mats.o.petersson at googlemail.com]"
> im Auftrag von "mats petersson [mats at planetcatfish.com]
> Gesendet: Montag, 12. Juni 2017 15:55
> An: Ludwig, Marc
> Cc: llvm-dev at lists.llvm.org
> Betreff: Re: [llvm-dev] Building compiler front-end from GitHub source
>
> Exactly what does "make" and "make check-all" produce as output? I'm not
> at all familiar with that concept, but the overall build script is similar
> to what my Pascal compiler does (aside from using git rather than SVN to
> fetch the llvm and clang sources)... You may be missing some pre-requisit,
> or have too new of something?
>
> --
> Mats
>
> On 12 June 2017 at 14:50, Ludwig, Marc via llvm-dev <
> llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
> Hi there ...
>
> I tried to build an compiler front-end for the m-language on top of LLVM
> from [this](https://github.com/f-akazawa/mlang) GitHub repo.
> The build went through but no binaries for the specific front-end where
> generated.
>
> I've tried it this way:
> ```
> # source directory
> LLVM_ROOT=$(pwd)
> # pull in llvm sources
> svn co http://llvm.org/svn/llvm-project/llvm/branches/release_31 llvm
> # pull in clang
> cd llvm/tools || exit $?
> svn co http://llvm.org/svn/llvm-project/cfe/branches/release_31 clang
> # pull in mlang
> git clone https://github.com/f-akazawa/mlang.git
> cd "$LLVM_ROOT" || exit $?
> mkdir build && cd build || exit $?
> "$LLVM_ROOT"/llvm/configure --enable-optimized --enable-targets="host-only"
> make
> make check-all
> ```
> Anyone an idea what i'am missing?
>
> PS: I've also tried it on the llvm irc node, but there's no one responding.
>
> Thank you for your time and best regards,
>
> Marc
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170613/aeeaa5d1/attachment-0001.html>


More information about the llvm-dev mailing list