Mercurial > hg > graal-jvmci-8
changeset 22627:e778e9aaed23
Add support for SPARC/Linux
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Tue, 29 Sep 2015 08:13:01 -0700 |
parents | b6b46b741102 |
children | 219a35438fb7 |
files | agent/src/os/linux/libproc.h mx.jvmci/mx_jvmci.py mx.jvmci/suite.py |
diffstat | 3 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/agent/src/os/linux/libproc.h Tue Sep 29 15:55:37 2015 +0200 +++ b/agent/src/os/linux/libproc.h Tue Sep 29 08:13:01 2015 -0700 @@ -34,7 +34,11 @@ #include "libproc_md.h" #endif +#if defined(sparcv9) && defined(linux) +#include <asm/ptrace.h> +#else #include <sys/ptrace.h> +#endif /************************************************************************************
--- a/mx.jvmci/mx_jvmci.py Tue Sep 29 15:55:37 2015 +0200 +++ b/mx.jvmci/mx_jvmci.py Tue Sep 29 08:13:01 2015 -0700 @@ -921,6 +921,10 @@ setMakeVar('HOTSPOT_BUILD_JOBS', str(cpus), env=env) setMakeVar('ALT_BOOTDIR', get_jvmci_bootstrap_jdk().home, env=env) # setMakeVar("EXPORT_PATH", jdk) + if mx.get_os() == 'linux' and platform.processor() == 'sparc64': + # SPARC/Linux + setMakeVar("DEBUG_BINARIES", "true", env=env) + setMakeVar("EXTRA_CFLAGS", "-Wno-conversion-null -Wno-int-to-pointer-cast -Wno-unused-function", env=env) setMakeVar('MAKE_VERBOSE', 'y' if mx._opts.verbose else '') if self.vm.endswith('nojvmci'):
--- a/mx.jvmci/suite.py Tue Sep 29 15:55:37 2015 +0200 +++ b/mx.jvmci/suite.py Tue Sep 29 08:13:01 2015 -0700 @@ -330,6 +330,9 @@ "linux" : { "amd64" : { "path" : "build/<vmbuild>/linux/amd64/<vm>/jvm.tar", + }, + "sparcv9" : { + "path" : "build/<vmbuild>/linux/sparcv9/<vm>/jvm.tar", } }, "darwin" : {