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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Gerolf Hoflehner via llvm-dev
> 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.
> 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: [hidden email] [[hidden email]]" im Auftrag von "mats petersson [[hidden email]]
Gesendet: Montag, 12. Juni 2017 15:55
An: Ludwig, Marc
Cc: [hidden email]
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 <[hidden email]<mailto:[hidden email]>> 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
[hidden email]<mailto:[hidden email]>
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
_______________________________________________
LLVM Developers mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Gerolf Hoflehner via llvm-dev


On 12 June 2017 at 17:39, Ludwig, Marc via llvm-dev <[hidden email]> 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: [hidden email] [[hidden email]]&quot; im Auftrag von &quot;mats petersson [[hidden email]]
Gesendet: Montag, 12. Juni 2017 15:55
An: Ludwig, Marc
Cc: [hidden email]
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 <[hidden email]<mailto:[hidden email]>> 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
[hidden email]<mailto:[hidden email]>
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
_______________________________________________
LLVM Developers mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


_______________________________________________
LLVM Developers mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Loading...