[Scons-users] Question about SCons support of python 3.6 and 3.7

Bill Deegan bill at baddogconsulting.com
Thu Jun 6 14:35:11 EDT 2019


Almost sounds like the right thing to do is have some per-distro logic?
Since it's not really per platform, unless we count ubuntu and centos as
platforms, but that seems not quite right

On Thu, Jun 6, 2019 at 12:15 PM Mats Wichmann <mats at wichmann.us> wrote:

> Sergey,
>
>
> On 6/4/19 9:16 AM, Sergey Torokhov wrote:
>
> > Java:
> > The problem of searching of apropreate include directory
> > was solved by patching posix.py script to add gentoo
> > java-jdk installation paths of packages "oracle-jdk-bin",
> > "openjdk-bin" and "openjdk":
> >
> > diff -Nur old/scons-3.0.5/src/engine/SCons/Tool/JavaCommon.py
> new/scons-3.0.5/src/engine/SCons/Tool/JavaCommon.py
> > --- old/src/engine/SCons/Tool/JavaCommon.py   2019-03-27
> 02:16:32.000000000 +0300
> > +++ new/src/engine/SCons/Tool/JavaCommon.py   2019-06-04
> 10:44:01.000000000 +0300
> > @@ -403,7 +403,10 @@
> >  java_macos_version_include_dir =
> '/System/Library/Frameworks/JavaVM.framework/Versions/%s*/Headers/'
> >
> >  java_linux_include_dirs = ['/usr/lib/jvm/default-java/include',
> > -                        '/usr/lib/jvm/java-*/include']
> > +                        '/usr/lib/jvm/java-*/include',
> > +                        '/opt/oracle-jdk-bin-*/include',
> > +                        '/opt/openjdk-bin-*/include',
> > +                        '/usr/lib/openjdk-*/include']
> >  # Need to match path like below (from Centos 7)
> >  # /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/include/
> >  java_linux_version_include_dirs =
> ['/usr/lib/jvm/java-*-sun-%s*/include',
> >
> >
> > I tested it only for package "oracle-jdk-bin-8.202".
>
> this logic in JavaCommon has changed a bit in the commit b774c488.  Is
> it possible to redo this against the copy in master?  Or at least let us
> know what the corresponding changes look like they should be for
> java_linux_version_include_dirs_glob (as it is now named)?
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190606/e0c5be0a/attachment.html>


More information about the Scons-users mailing list