Re: Question about SCons support of python 3.6 and 3.7

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
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
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.