Java updates: new versions, classpath, and JAVA_HOME (#8613)

This PR includes the following changes:

* Added JDK 10
* Changed the JDK version numbers according to the consensus reached
  in #2284
* Added spec['java'].home and spec['java'].libs, similar to #3367
  (JDK and IcedTea)
* Added a check to prevent people from installing JDK on macOS
* Set CLASSPATH for packages depending on Java (JDK and IcedTea)
* Add TODO for extending virtual packages (not currently possible)
* Add TODO for adding Java dependents to views
* Add TODO for packages which extend multiple packages (e.g. Java
  and Python)
This commit is contained in:
Adam J. Stewart
2018-08-28 13:35:13 -05:00
committed by scheibelp
parent 04c25ac468
commit be42b8df19
6 changed files with 192 additions and 44 deletions

View File

@@ -89,7 +89,7 @@ class Openmpi(AutotoolsPackage):
# Still supported
version('3.0.2', '098fa89646f5b4438d9d8534bc960cd6') # libmpi.so.40.00.2
version('3.0.1', '565f5060e080b0871a64b295c3d4426a') # libmpi.so.40.00.1
version('3.0.1', '565f5060e080b0871a64b295c3d4426a') # libmpi.so.40.00.1
version('3.0.0', '757d51719efec08f9f1a7f32d58b3305') # libmpi.so.40.00.0
version('2.1.5', '6019c8b67d4975d833801e72ba290918') # libmpi.so.20.10.3
version('2.1.4', '003b356a24a5b7bd1705a23ddc69d9a0') # libmpi.so.20.10.3
@@ -394,7 +394,7 @@ def configure_args(self):
config_args.extend([
'--enable-java',
'--enable-mpi-java',
'--with-jdk-dir={0}'.format(spec['java'].prefix)
'--with-jdk-dir={0}'.format(spec['java'].home)
])
else:
config_args.extend([