[pythran] Re: Pythran options in the setup.py

  • From: serge guelton <sguelton@xxxxxxxxxxxxx>
  • To: pythran@xxxxxxxxxxxxx
  • Date: Mon, 8 May 2017 11:05:11 +0200

On Tue, May 02, 2017 at 01:57:33PM +0200, Pierre Augier wrote:

Hello,

What would be a clean way to add pythran options (as -fopenmp -march=native
or eve|n ||||complex_hook|) in a setup.py?

Pierre


Hi Pierre,

untested, but passing:

    extra_compile_args=['-O3', '-fopenmp']

to the Extension

should work.

I don't think it's possible for the complex hook :-/


Other related posts: