summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-25 16:09:35 +0200
committerMichael Bien <[email protected]>2010-04-25 16:09:35 +0200
commit22cf865f702cac07a5059f45baace1d1caf5dfdb (patch)
treea0fef35b87c1252416597e2c6eda10366f84cc3d /build.xml
parent22db3157165904003f3decd4e09efac8185897b5 (diff)
added strip libs step to 'jocl.c.compile'.
added path to default amd sdk on windows.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index cca00cce..a20fdb9e 100644
--- a/build.xml
+++ b/build.xml
@@ -128,6 +128,10 @@
<echo message=" - - - JOCL natives compiled - - - "/>
+ <antcall target="gluegen.cpptasks.striplibs" inheritRefs="true">
+ <param name="libdir" value="${natives.jocl.dir}/${namespace}"/>
+ </antcall>
+
</target>
<target name="c.setup.build" depends="gluegen.cpptasks.configure.compiler, gluegen.cpptasks.declare.compiler, c.configure.default, jocl.configure.linker">
@@ -158,7 +162,8 @@
<linker id="linker.cfg.win32.mingw.jocl" extends="linker.cfg.win32.mingw">
<linkerarg value="-Wl,--kill-at" /> <!-- remove @ from function names -->
- <syslibset dir="C:/NVIDIAComputingSDK/OpenCL/common/lib/Win32" libs="OpenCL"/>
+ <syslibset dir="C:/Program Files (x86)/ATI Stream/lib/x86" libs="OpenCL"/>
+ <!-- <syslibset dir="C:/NVIDIAComputingSDK/OpenCL/common/lib/Win32" libs="OpenCL"/> -->
</linker>
<linker id="linker.cfg.macosx.jocl" extends="linker.cfg.macosx">