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
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



     [echo] Harmony javac properties:
     [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] Harmony test properties:
     [echo]     hy.test.forkmode = once
     [echo]     hy.test.timeout = 900000
     [echo]     hy.test.vm.name = ibm
     [echo]     hy.test.vmargs =
     [echo] Harmony platform properties:
     [echo]   hy.os = linux
     [echo]   hy.arch = x86
     [echo]   hy.bits = 32
     [echo]   hy.platform = linux.x86
     [echo]   hy.platform.path = linux/x86
     [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]   exe.suffix =
     [echo]   shlib.suffix = .so
     [echo]   make.command = make
     [echo]   hy.hdk = ${hy.hdk}
     [echo]   hy.cflags = -march=pentium3
     [echo]   hy.arch.define = HYX86
     [echo] The following property is only set if the "svn-prop" target has
     [echo] called:
     [echo]   svn.revision = 482127
     [echo] The following property is only set if the "svn-info" target has
     [echo] called:
     [echo]   svn.info = https://svn.apache.org/repos/asf 482127
     [echo] Ant native properties, for information, but please use Harmony
     [echo] properties in preference to these:
     [echo]   os.name = Linux
     [echo]   os.arch = i386

Total time: 2 seconds

 Thanks, Vladimir

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