View | Details | Raw Unified | Return to bug 206090
Collapse All | Expand All

(-)Makefile (-1 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	clfft
4
PORTNAME=	clfft
5
PORTVERSION=	2.6.1
5
PORTVERSION=	2.8
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	math
7
CATEGORIES=	math
8
8
Lines 17-22 Link Here
17
RUN_DEPENDS=	opencl>=0:${PORTSDIR}/devel/opencl
17
RUN_DEPENDS=	opencl>=0:${PORTSDIR}/devel/opencl
18
18
19
BROKEN_FreeBSD_9=	clFFT is only supported on FreeBSD 10.1 and newer
19
BROKEN_FreeBSD_9=	clFFT is only supported on FreeBSD 10.1 and newer
20
ONLY_FOR_ARCHS=	amd64
21
ONLY_FOR_ARCHS_REASON_amd64=	only builds and is supported on amd64
20
22
21
USE_GITHUB=	yes
23
USE_GITHUB=	yes
22
GH_ACCOUNT=	clMathLibraries
24
GH_ACCOUNT=	clMathLibraries
Lines 27-32 Link Here
27
29
28
CMAKE_ARGS+=	-DBUILD_CLIENT=OFF \
30
CMAKE_ARGS+=	-DBUILD_CLIENT=OFF \
29
		-DBUILD_TEST=OFF \
31
		-DBUILD_TEST=OFF \
32
		-DBUILD_CALLBACK_CLIENT=OFF \
30
		-DSUFFIX_LIB=""
33
		-DSUFFIX_LIB=""
31
34
32
CMAKE_SOURCE_PATH=	${WRKSRC}/src
35
CMAKE_SOURCE_PATH=	${WRKSRC}/src
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (clMathLibraries-clFFT-v2.6.1_GH0.tar.gz) = 2b5b15b903baeef4dcea6bb8efbe6aba284510148c04d20f9b151a94ae71c050
1
SHA256 (clMathLibraries-clFFT-v2.8_GH0.tar.gz) = 9964b537f0af121560e64cb5a2513b153511ca85e011f23a332c45cc66f3d60a
2
SIZE (clMathLibraries-clFFT-v2.6.1_GH0.tar.gz) = 893794
2
SIZE (clMathLibraries-clFFT-v2.8_GH0.tar.gz) = 967253
(-)files/patch-src_include_sharedLibrary.h (-17 lines)
Lines 1-17 Link Here
1
--- src/include/sharedLibrary.h.orig	2015-08-07 18:40:37.855840000 -0400
2
+++ src/include/sharedLibrary.h	2015-08-07 18:40:42.675578000 -0400
3
@@ -52,6 +52,14 @@
4
   {
5
           std::cerr << ::dlerror( ) << std::endl;
6
   }
7
+#elif defined(__FreeBSD__)
8
+        tstring freebsdName = unixPrefix;
9
+        freebsdName += libraryName += ".so";
10
+        void* fileHandle = ::dlopen( freebsdName.c_str( ), RTLD_NOW );
11
+        if( !quiet && !fileHandle )
12
+        {
13
+                std::cerr << ::dlerror( ) << std::endl;
14
+        }
15
 #else
16
         #error "unsupported platform"
17
 #endif
(-)files/patch-src_statTimer_statisticalTimer.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- src/statTimer/statisticalTimer.h.orig	2015-10-11 19:43:16.998055000 +0200
1
--- src/statTimer/statisticalTimer.h.orig	2015-10-20 00:29:59 UTC
2
+++ src/statTimer/statisticalTimer.h	2015-10-11 19:44:10.217558000 +0200
2
+++ src/statTimer/statisticalTimer.h
3
@@ -21,6 +21,7 @@
3
@@ -21,6 +21,7 @@
4
 #include <vector>
4
 #include <vector>
5
 #include <functional>
5
 #include <functional>
(-)pkg-plist (-14 / +12 lines)
Lines 1-22 Link Here
1
bin/examples/fft1d
2
bin/examples/fft2d
3
bin/examples/fft3d
4
include/clAmdFft.h
1
include/clAmdFft.h
5
include/clAmdFft.version.h
2
include/clAmdFft.version.h
6
include/clFFT.h
3
include/clFFT.h
7
include/clFFT.version.h
4
include/clFFT.version.h
5
lib/cmake/clFFT/clFFTConfig.cmake
6
lib/cmake/clFFT/clFFTConfigVersion.cmake
7
lib/cmake/clFFT/clFFTTargets-%%CMAKE_BUILD_TYPE%%.cmake
8
lib/cmake/clFFT/clFFTTargets.cmake
8
lib/libStatTimer.so
9
lib/libStatTimer.so
9
lib/libStatTimer.so.2
10
lib/libStatTimer.so.2
10
lib/libStatTimer.so.2.6.1
11
lib/libStatTimer.so.2.8.0
11
lib/libclFFT.so
12
lib/libclFFT.so
12
lib/libclFFT.so.2
13
lib/libclFFT.so.2
13
lib/libclFFT.so.2.6.1
14
lib/libclFFT.so.2.8.0
14
share/clFFT/clFFTConfig.cmake
15
share/clFFT/examples/fft1d
15
share/clFFT/clFFTConfigVersion.cmake
16
share/clFFT/examples/fft1d.c
16
share/clFFT/clFFTTargets-%%CMAKE_BUILD_TYPE%%.cmake
17
share/clFFT/examples/fft2d
17
share/clFFT/clFFTTargets.cmake
18
share/clFFT/examples/fft2d.c
18
share/clFFT/errorHandler.py
19
share/clFFT/examples/fft3d
19
share/clFFT/fftPerformanceTesting.py
20
share/clFFT/examples/fft3d.c
20
share/clFFT/measurePerformance.py
21
share/clFFT/performanceUtility.py
22
share/clFFT/plotPerformance.py

Return to bug 206090