LLVM/clang

Hello,

I am a student and I work to atos. They ask me to port LLVM/clang to AIX.
I know that LLVM/clan is decomposed into three part : front-end (clang),optimizer and back-end (LLVM).
I think that I could begin by trying to port the front-end (clang ) and the part optimization.
Think you that it is possible to separate these two parts of the built chain of LLVM/clang to compile them for AIX separately of the back-end?

Best Regards

FAURE Maximilien

Hi Maximilien,

Clang depends on llvm, so I think you will have to start with llvm.

Cheers,
Arnaud

+cfe-dev

Clang requires llvm for several parts: some platform abstractions
(filesystems, ...) as well as well as the optimizers and backends.
Clang is built on top of llvm --- there is not much of llvm you can leave
out on the floor: at configure time you can select to exclude some features
/ backends from the build so that you can start with a smaller base.

Cmake is supported on AIX, so you should try to configure the build with
cmake ... and see how it goes from there.

If you happen to be around Paris on October 15th, there is a social
organized where you can discuss with some other llvm users
(LLVM / Clang Paris socials | Meetup ).

Cheers,
Arnaud

From: FAURE, MAXIMILIEN [mailto:maximilien.faure@atos.net]
Sent: 02 October 2015 12:01
To: Arnaud De Grandmaison
Subject: RE:LLVM/clang

Hi Arnaud,
Thanks for your answer.

But in this case, do you think that I will build just a part of llvm ?
Just the useful part for build clang?

regards
maximilien
________________________________________
De : Arnaud A. de Grandmaison [arnaud.degrandmaison@arm.com] Envoyé :
vendredi 2 octobre 2015 10:26 À : FAURE, MAXIMILIEN Cc : cfe-
dev@lists.llvm.org Objet : RE: LLVM/clang

Hi Maximilien,

Clang depends on llvm, so I think you will have to start with llvm.

Cheers,
Arnaud

> From: cfe-dev [mailto:cfe-dev-bounces@lists.llvm.org] On Behalf Of
> FAURE, MAXIMILIEN via cfe-dev
> Sent: 02 October 2015 10:16
> To: cfe-dev@lists.llvm.org
> Subject: [cfe-dev] LLVM/clang
>
> Hello,
>
> I am a student and I work to atos. They ask me to port LLVM/clang to

AIX.