Re: [Distutils] intelcompiler class in distutils

2015-10-02 Thread Donald Stufft
On October 2, 2015 at 9:42:22 AM, Hogan, Christopher 
(christopher.ho...@intel.com) wrote:
> Hello,
>  
> We noticed there are classes in distutils for specific compilers like 
> Borland, Cygwin,  
> MSVC, etc., and are interested in creating a class for the Intel compiler. Is 
> this something  
> that the python developers/community would like to see, or would such a patch 
> have a low  
> chance for acceptance?
>  


Is the Intel Compiler Free? (or OSS, but Free is the main thing). I think as 
long as there is a way for people to get a copy of the compiler to run tests 
and stuff against without spending $$$ there is very little reason not to add 
another compiler class.

If it costs money always, then IDK what the policy for that is, I personally 
still wouldn’t have a problem as long as there was a commitment from intel to 
support it, but it’s not my decision either.

-
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA


___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] intelcompiler class in distutils

2015-10-02 Thread Erik Bray
On Wed, Sep 30, 2015 at 3:17 PM, Hogan, Christopher
 wrote:
> Hello,
>
>
>
> We noticed there are classes in distutils for specific compilers like
> Borland, Cygwin, MSVC, etc., and are interested in creating a class for the
> Intel compiler.  Is this something that the python developers/community
> would like to see, or would such a patch have a low chance for acceptance?

Hi,

I don't have any weight to add one way or the other, but I have
encountered a need for this in the past (though it was a long time ago
and I can't recall the context).  It might be tricky to get it
accepted into distutils in the stdlib, if only because it would have
to come with some promise of continued maintenance.  And also getting
anything added to distutils these days is hard (though last I recall
the freeze may be liftable for non-backwards-compat-breaking new
features where needed?)

That said, you might have better luck adding it to setuptools instead,
or a completely separate third-party package.  Adding support for a
new compiler that is *not* directly in the distutils package requires
a bit of hackery though.  Incidentally, d2to1 [1] actually supports
packages that include their own compiler class, and allows them to use
that compiler for builds.  I don't know that this feature has ever
actually been used, but my point in bringing it up is just to
demonstrate that it can be done.  And you can look at that code for an
example of how to add a new compiler without it being directly in the
distutils module (even if it's a bit of a hack).

Best,

Erik

[1] https://github.com/embray/d2to1/blob/master/d2to1/util.py#L330
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] intelcompiler class in distutils

2015-10-02 Thread Hogan, Christopher
Hello,

We noticed there are classes in distutils for specific compilers like Borland, 
Cygwin, MSVC, etc., and are interested in creating a class for the Intel 
compiler.  Is this something that the python developers/community would like to 
see, or would such a patch have a low chance for acceptance?

Chris Hogan
Scripting Tools Engineer
Scripting, Analyzers and Tools
Intel Corporation

___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig