Re: [cfe-users] Default compiler flags

2018-09-25 Thread Matthew Fernandez via cfe-users
25, 2018, at 12:00, via cfe-users wrote: > > Date: Mon, 24 Sep 2018 21:53:49 -0500 > From: David Blaikie via cfe-users > To: Alexander Biddulph , Eric > Christopher > Cc: "cfe-users@lists.llvm.org" > Subject: Re: [cfe-users] Default compiler flags >

Re: [cfe-users] Default compiler flags

2018-09-24 Thread David Blaikie via cfe-users
Don't know of any quick way to do that in LLVM - I guess companies/folks who do this go into the source code in Clang's driver and mess with it. - Dave On Mon, Sep 17, 2018 at 10:10 PM Alexander Biddulph via cfe-users < cfe-users@lists.llvm.org> wrote: > I am trying to compile clang/llvm to targ

[cfe-users] Default compiler flags

2018-09-17 Thread Alexander Biddulph via cfe-users
I am trying to compile clang/llvm to target a specific CPU architecture (Intel Broadwell for instance). The intention here is that every time this specific compiler is run it will only ever generate code for that specific CPU. To achieve this I would like to "bake-in" some command line arguments