harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov" <ivavladi...@gmail.com>
Subject [classlib][build] incorrect platform detection
Date Mon, 04 Dec 2006 13:13:50 GMT
Hello,
in order to exclude the DRLVM kernel tests on the x66_64 architecture I
found that architecture on my system were detected incorrectly.
Should we use more reliable mechanism to select architecture (external
utils, for example)?

My system is 64 bit according to 'uname' but 'i386' for ant:
> uname -a
Linux nstdrlel1 2.6.5-7.139-smp #1 SMP Fri Jan 14 15:41:33 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux
>ant -f properties.xml
Buildfile: properties.xml

svn-prop:

svn-info:

echo:
     [echo]
     [echo] Harmony javac properties:
     [echo]
     [echo]   hy.javac.compiler = org.eclipse.jdt.core.JDTCompilerAdapter
     [echo]   hy.javac.target = 1.5
     [echo]   hy.javac.source = 1.5
     [echo]   hy.javac.debug  = on
     [echo]   hy.javac.maxmem = 384M
     [echo]
     [echo] Harmony test properties:
     [echo]
     [echo]     hy.test.forkmode = once
     [echo]     hy.test.timeout = 900000
     [echo]     hy.test.vm.name = ibm
     [echo]     hy.test.vmargs =
     [echo]
     [echo] Harmony platform properties:
     [echo]
     [echo]   hy.os = linux
     [echo]   hy.arch = x86
     [echo]   hy.bits = 32
     [echo]   hy.platform = linux.x86
     [echo]   hy.platform.path = linux/x86
     [echo]
     [echo]   is.windows = ${is.windows}
     [echo]   is.unix = true
     [echo]   is.linux = true
     [echo]   is.32bit = true
     [echo]   is.64bit = ${is.64bit}
     [echo]   is.x86 = true
     [echo]   is.x86_64 = ${is.x86_64}
     [echo]   is.ia64 = ${is.ia64}
     [echo]
     [echo]   exe.suffix =
     [echo]   shlib.suffix = .so
     [echo]   make.command = make
     [echo]
     [echo]   hy.hdk = ${hy.hdk}
     [echo]   hy.cflags = -march=pentium3
     [echo]   hy.arch.define = HYX86
     [echo]
     [echo]
     [echo] The following property is only set if the "svn-prop" target has
been
     [echo] called:
     [echo]
     [echo]   svn.revision = 482127
     [echo]
     [echo]
     [echo] The following property is only set if the "svn-info" target has
been
     [echo] called:
     [echo]
     [echo]   svn.info = https://svn.apache.org/repos/asf 482127
     [echo]
     [echo] Ant native properties, for information, but please use Harmony
     [echo] properties in preference to these:
     [echo]
     [echo]   os.name = Linux
     [echo]   os.arch = i386
     [echo]
     [echo]

BUILD SUCCESSFUL
Total time: 2 seconds

 Thanks, Vladimir

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message