summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-18 17:13:51 +0200
committerSven Gothel <[email protected]>2011-10-18 17:13:51 +0200
commit70407434fd4cd205b127ed7d73832eb0b3d01263 (patch)
treeaf0ac1f9035aa63eb901f56ef32d7f6178cd5fa4 /build.xml
parente85d4df16b980993b61b7c165afdedc65ec9bda0 (diff)
split solaris 32bit (x86/sparc), use jvmDataModel.arg set by gluegenv2.0-rc4
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml25
1 files changed, 20 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index bf34597c..300ae362 100644
--- a/build.xml
+++ b/build.xml
@@ -34,6 +34,10 @@
<isset property="c.dont.compile"/>
</condition>
+ <target name="-pre-init" depends="gluegen.cpptasks.detect.os">
+ <!-- gluegen.cpptasks... sets jvmDataModel.arg -->
+ </target>
+
<!-- -post-init is after all properties are imported -->
<target name="-post-init" depends="jogamp.env.init,gluegen.cpptasks.detect.os">
<property name="jocl.version" value="${jocl_base_version}-b${jocl.build.number}-${version.timestamp}" />
@@ -415,10 +419,15 @@
<!-- a hackish way on Solaris10 w/ gcc in 'sfw'
to make mmintrin.h, pmmintrin.h and xmmintrin.h visible -->
- <compiler id="compiler.cfg.solaris.jocl" extends="compiler.cfg.solaris">
+ <compiler id="compiler.cfg.solaris.jocl.x86" extends="compiler.cfg.solaris">
<compilerarg value="-I/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/install-tools/include" />
</compiler>
+ <compiler id="compiler.cfg.solaris.jocl.sparc" extends="compiler.cfg.solaris">
+ <!-- dunno .. need to fix, if we ever compile on Solaris/sparcv9 -->
+ <compilerarg value="-I/usr/sfw/lib/gcc/sparc-pc-solaris2.10/3.4.3/install-tools/include" />
+ </compiler>
+
<compiler id="compiler.cfg.solaris.jocl.sparcv9" extends="compiler.cfg.solaris.sparcv9">
<!-- dunno .. need to fix, if we ever compile on Solaris/sparcv9 -->
<compilerarg value="-I/usr/sfw/lib/gcc/sparc-pc-solaris2.10/3.4.3/install-tools/include" />
@@ -474,7 +483,7 @@
<target name="c.configure.os" depends="c.configure.win, c.configure.linux, c.configure.macosx, c.configure.solaris" />
<target name="c.configure.win" depends="c.configure.win.mingw32, c.configure.win.mingw64" if="isWindows" />
<target name="c.configure.linux" depends="c.configure.linux.x86, c.configure.linux.amd64, c.configure.linux.armv7" if="isLinux" />
- <target name="c.configure.solaris" depends="c.configure.solaris32, c.configure.solaris.sparcv9, c.configure.solaris.amd64" if="isSolaris" />
+ <target name="c.configure.solaris" depends="c.configure.solaris.x86, c.configure.solaris.sparc, c.configure.solaris.sparcv9, c.configure.solaris.amd64" if="isSolaris" />
<target name="c.configure.win.mingw32" if="isMingW32">
<echo message="Win.Ming32W" />
@@ -502,9 +511,15 @@
<property name="linker.cfg.id" value="linker.cfg.linux.armv7.jocl" />
</target>
- <target name="c.configure.solaris32" if="isSolaris32Bit">
- <echo message="Solaris" />
- <property name="compiler.cfg.id" value="compiler.cfg.solaris.jocl" />
+ <target name="c.configure.solaris.x86" if="isSolarisX86">
+ <echo message="SolarisX86" />
+ <property name="compiler.cfg.id" value="compiler.cfg.solaris.jocl.x86" />
+ <property name="linker.cfg.id" value="linker.cfg.solaris" />
+ </target>
+
+ <target name="c.configure.solaris.sparc" if="isSolarisSparc">
+ <echo message="SolarisSparc" />
+ <property name="compiler.cfg.id" value="compiler.cfg.solaris.jocl.sparc" />
<property name="linker.cfg.id" value="linker.cfg.solaris" />
</target>