src/hotspot/.mx.jvmci/mx_jvmci.py
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/hotspot/.mx.jvmci/mx_jvmci.py Wed Oct 11 10:58:46 2017
--- new/src/hotspot/.mx.jvmci/mx_jvmci.py Wed Oct 11 10:58:45 2017
*** 254,271 ****
--- 254,267 ----
"""
Generates an Eclipse project for each HotSpot build configuration.
"""
roots = [
! 'ASSEMBLY_EXCEPTION',
! 'LICENSE',
! 'README',
'THIRD_PARTY_README',
'agent',
'make',
'src',
'test'
! 'cpu',
! 'os',
! 'os_cpu',
+ 'share'
]
for jvmVariant in _jdkJvmVariants:
for debugLevel in _jdkDebugLevels:
name = jvmVariant + '-' + debugLevel
*** 603,621 ****
--- 599,627 ----
return cpu
def _get_openjdk_os_cpu():
return _get_openjdk_os() + '-' + _get_openjdk_cpu()
+ def _get_jdk_dir():
+ suiteParentDir = dirname(_suite.dir)
+ # suitParentDir is now something like: /some_prefix/jdk10-hs/open/src
+ pathComponents = suiteParentDir.split(os.sep)
+ for i in range(0, len(pathComponents)):
+ if pathComponents[i] in ["open", "src"]:
+ del pathComponents[i:]
+ break
+ return os.path.join(os.sep, *pathComponents)
+
def _get_jdk_build_dir(debugLevel=None):
"""
Gets the directory into which the JDK is built. This directory contains
the exploded JDK under jdk/ and the JDK image under images/jdk/.
"""
if debugLevel is None:
debugLevel = _vm.debugLevel
name = '{}-{}-{}-{}'.format(_get_openjdk_os_cpu(), 'normal', _vm.jvmVariant, debugLevel)
! return join(dirname(_suite.dir), 'build', name)
! return join(_get_jdk_dir(), 'build', name)
_jvmci_bootclasspath_prepends = []
def _get_hotspot_build_dir(jvmVariant=None, debugLevel=None):
"""
src/hotspot/.mx.jvmci/mx_jvmci.py
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File