Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 20:54:46 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467735 - head/lang/pocl
Message-ID:  <201804182054.w3IKskm3002271@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Apr 18 20:54:46 2018
New Revision: 467735
URL: https://svnweb.freebsd.org/changeset/ports/467735

Log:
  lang/pocl: Remove BROKEN=fails to package
  
  It didn't fail to package for me on 11 amd64 and 12 amd64.
  
  Port changes:
  * Move BROKENxx and ONLY_FOR_ARCHS lines to a proper place.
  * Order USExx section
  * Change to cmake:outsource
  
  Approved by:	portmgr blanket

Modified:
  head/lang/pocl/Makefile
  head/lang/pocl/pkg-plist

Modified: head/lang/pocl/Makefile
==============================================================================
--- head/lang/pocl/Makefile	Wed Apr 18 20:28:04 2018	(r467734)
+++ head/lang/pocl/Makefile	Wed Apr 18 20:54:46 2018	(r467735)
@@ -12,7 +12,9 @@ COMMENT=	POrtable Computing Language (POCL)
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		fails to package
+BROKEN_FreeBSD_10=	pocl is not supported on 10.x
+ONLY_FOR_ARCHS=		amd64 i386
+ONLY_FOR_ARCHS_REASON=	only tested on x86
 
 BUILD_DEPENDS=	llvm${LLVM_VERSION}>=0:devel/llvm${LLVM_VERSION} \
 		opencl>=2.1:devel/opencl
@@ -21,15 +23,11 @@ LIB_DEPENDS=	libhwloc.so:devel/hwloc \
 		libltdl.so:devel/libltdl
 RUN_DEPENDS=	llvm${LLVM_VERSION}>=0:devel/llvm${LLVM_VERSION}
 
-BROKEN_FreeBSD_10=	pocl is not supported on 10.x
-ONLY_FOR_ARCHS=		i386 amd64
-ONLY_FOR_ARCHS_REASON=	only tested on x86
-
 LLVM_VERSION=	${MESA_LLVM_VER:U40}
 
-USE_LDCONFIG=	yes
+USES=		cmake:outsource localbase:ldflags ncurses pkgconfig
 USE_CXXSTD=	gnu++11
-USES=		cmake localbase:ldflags ncurses pkgconfig
+USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DWITH_LLVM_CONFIG="${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config" \
 		-DPOCL_INSTALL_PKGCONFIG_DIR="${PREFIX}/libdata/pkgconfig" \

Modified: head/lang/pocl/pkg-plist
==============================================================================
--- head/lang/pocl/pkg-plist	Wed Apr 18 20:28:04 2018	(r467734)
+++ head/lang/pocl/pkg-plist	Wed Apr 18 20:54:46 2018	(r467735)
@@ -16,10 +16,10 @@ libdata/pkgconfig/pocl.pc
 %%DATADIR%%/include/pocl.h
 %%DATADIR%%/include/pocl_device.h
 %%DATADIR%%/include/pocl_types.h
-%%DATADIR%%/kernel-%%ARCH%%-unknown-%%OPSYS%%%%OSREL%%-avx.bc
-%%DATADIR%%/kernel-%%ARCH%%-unknown-%%OPSYS%%%%OSREL%%-avx2.bc
-%%DATADIR%%/kernel-%%ARCH%%-unknown-%%OPSYS%%%%OSREL%%-avx512.bc
-%%DATADIR%%/kernel-%%ARCH%%-unknown-%%OPSYS%%%%OSREL%%-avx_fma4.bc
-%%DATADIR%%/kernel-%%ARCH%%-unknown-%%OPSYS%%%%OSREL%%-sse2.bc
-%%DATADIR%%/kernel-%%ARCH%%-unknown-%%OPSYS%%%%OSREL%%-sse41.bc
-%%DATADIR%%/kernel-%%ARCH%%-unknown-%%OPSYS%%%%OSREL%%-ssse3.bc
+%%DATADIR%%/kernel-%%ARCH%%-portbld-%%OPSYS%%%%OSREL%%-avx.bc
+%%DATADIR%%/kernel-%%ARCH%%-portbld-%%OPSYS%%%%OSREL%%-avx2.bc
+%%DATADIR%%/kernel-%%ARCH%%-portbld-%%OPSYS%%%%OSREL%%-avx512.bc
+%%DATADIR%%/kernel-%%ARCH%%-portbld-%%OPSYS%%%%OSREL%%-avx_fma4.bc
+%%DATADIR%%/kernel-%%ARCH%%-portbld-%%OPSYS%%%%OSREL%%-sse2.bc
+%%DATADIR%%/kernel-%%ARCH%%-portbld-%%OPSYS%%%%OSREL%%-sse41.bc
+%%DATADIR%%/kernel-%%ARCH%%-portbld-%%OPSYS%%%%OSREL%%-ssse3.bc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804182054.w3IKskm3002271>