Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2018 17:20:56 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468857 - in head/devel: . cpu_features
Message-ID:  <201805021720.w42HKuBC069211@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skreuzer
Date: Wed May  2 17:20:56 2018
New Revision: 468857
URL: https://svnweb.freebsd.org/changeset/ports/468857

Log:
  A small, fast, and simple open source library to report CPU features at
  runtime. Written in C89 for maximum portability, it allocates no memory and is
  suitable for implementing fundamental functions and running in sandboxed
  environments.
  
  WWW: https://github.com/google/cpu_features

Added:
  head/devel/cpu_features/
  head/devel/cpu_features/Makefile   (contents, props changed)
  head/devel/cpu_features/distinfo   (contents, props changed)
  head/devel/cpu_features/pkg-descr   (contents, props changed)
  head/devel/cpu_features/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed May  2 17:16:40 2018	(r468856)
+++ head/devel/Makefile	Wed May  2 17:20:56 2018	(r468857)
@@ -361,6 +361,7 @@
     SUBDIR += cppunit
     SUBDIR += cpputest
     SUBDIR += cproto
+    SUBDIR += cpu_features
     SUBDIR += cpuflags
     SUBDIR += cquery
     SUBDIR += cram

Added: head/devel/cpu_features/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cpu_features/Makefile	Wed May  2 17:20:56 2018	(r468857)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	cpu_features
+PORTVERSION=	0.1.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+
+MAINTAINER=	skreuzer@FreeBSD.org
+COMMENT=	Cross platform C99 library to get cpu features at runtime
+
+LICENSE=	APACHE20
+
+USES=	cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	google
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/list_cpu_features ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_LIB} ${WRKSRC}/libcpu_features.a ${STAGEDIR}${PREFIX}/lib
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/internal
+	${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/include/internal/*.h ${STAGEDIR}${PREFIX}/include/internal
+
+.include <bsd.port.mk>

Added: head/devel/cpu_features/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cpu_features/distinfo	Wed May  2 17:20:56 2018	(r468857)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1525271060
+SHA256 (google-cpu_features-v0.1.0_GH0.tar.gz) = ae6acdc4f5952aa0d168927a0a40d517f973150b4cfcdfe760a1336e30ab8b9e
+SIZE (google-cpu_features-v0.1.0_GH0.tar.gz) = 32051

Added: head/devel/cpu_features/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cpu_features/pkg-descr	Wed May  2 17:20:56 2018	(r468857)
@@ -0,0 +1,6 @@
+A small, fast, and simple open source library to report CPU features at
+runtime. Written in C89 for maximum portability, it allocates no memory and is
+suitable for implementing fundamental functions and running in sandboxed
+environments.
+
+WWW: https://github.com/google/cpu_features

Added: head/devel/cpu_features/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cpu_features/pkg-plist	Wed May  2 17:20:56 2018	(r468857)
@@ -0,0 +1,14 @@
+bin/list_cpu_features
+lib/libcpu_features.a
+include/cpu_features_macros.h
+include/cpuinfo_aarch64.h
+include/cpuinfo_arm.h
+include/cpuinfo_mips.h
+include/cpuinfo_x86.h
+include/internal/bit_utils.h
+include/internal/cpuid_x86.h
+include/internal/filesystem.h
+include/internal/hwcaps.h
+include/internal/linux_features_aggregator.h
+include/internal/stack_line_reader.h
+include/internal/string_view.h



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