summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml9
-rw-r--r--jocl.properties2
-rw-r--r--nbproject/project.properties7
3 files changed, 14 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 22714c01..1e07ec10 100644
--- a/build.xml
+++ b/build.xml
@@ -177,12 +177,12 @@
<target name="jocl.configure.linker">
<linker id="linker.cfg.linux.jocl" extends="linker.cfg.linux">
- <syslibset dir="/usr/lib" libs="OpenCL" if="static.binding" unless="opencl.lib32.dir"/>
+ <syslibset dir="/usr/lib" libs="OpenCL" if="static.binding" unless="opencl.lib32.dir"/>
<syslibset dir="${opencl.lib32.dir}" libs="OpenCL" if="opencl.lib32.dir"/>
</linker>
<linker id="linker.cfg.linux.amd64.jocl" extends="linker.cfg.linux.amd64" >
- <syslibset dir="/usr/lib" libs="OpenCL" if="static.binding" unless="opencl.lib64.dir"/>
+ <syslibset dir="/usr/lib" libs="OpenCL" if="static.binding" unless="opencl.lib64.dir"/>
<syslibset dir="${opencl.lib64.dir}" libs="OpenCL" if="opencl.lib64.dir"/>
</linker>
@@ -191,6 +191,11 @@
<syslibset dir="${opencl.lib32.dir}" libs="OpenCL" if="static.binding"/>
</linker>
+ <linker id="linker.cfg.win64.mingw.jocl" extends="linker.cfg.win64.mingw">
+ <linkerarg value="-Wl,--kill-at" /> <!-- remove @ from function names -->
+ <syslibset dir="${opencl.lib64.dir}" libs="OpenCL" if="static.binding"/>
+ </linker>
+
<linker id="linker.cfg.macosx.jocl" extends="linker.cfg.macosx">
<linkerarg value="-framework" />
<linkerarg value="OpenCL" />
diff --git a/jocl.properties b/jocl.properties
index 676ffb8c..eb2b0430 100644
--- a/jocl.properties
+++ b/jocl.properties
@@ -6,6 +6,8 @@
#
#Windows32 ATI
#opencl.lib32.dir=C:/Program Files (x86)/ATI Stream/lib/x86
+#opencl.lib64.dir=C:/Program Files (x86)/ATI Stream/lib/x86_64
#
#Windows32 NVidia
#opencl.lib32.dir=C:/NVIDIAComputingSDK/OpenCL/common/lib/Win32
+#opencl.lib64.dir=C:/NVIDIAComputingSDK/OpenCL/common/lib/x64 \ No newline at end of file
diff --git a/nbproject/project.properties b/nbproject/project.properties
index dadb96be..2662f41f 100644
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -108,8 +108,11 @@ static.binding=true
#overwrite lib path for static linking
#use only if static.binding is true
-#opencl.lib.dir=C:/Program Files (x86)/ATI Stream/lib/x86
-#opencl.lib.dir=C:/NVIDIAComputingSDK/OpenCL/common/lib/Win32
+#opencl.lib32.dir=C:/Program Files (x86)/ATI Stream/lib/x86
+#opencl.lib64.dir=C:/Program Files (x86)/ATI Stream/lib/x86_64
+
+#opencl.lib32.dir=C:/NVIDIAComputingSDK/OpenCL/common/lib/Win32
+#opencl.lib64.dir=C:/NVIDIAComputingSDK/OpenCL/common/lib/x64
#disable the build build the native part of the bindings
#c.dont.compile=true