From owner-svn-ports-all@freebsd.org Wed May 2 17:20:57 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C700FAF85F; Wed, 2 May 2018 17:20:57 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C43E6E1B5; Wed, 2 May 2018 17:20:57 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 372F713F11; Wed, 2 May 2018 17:20:57 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w42HKvpQ069216; Wed, 2 May 2018 17:20:57 GMT (envelope-from skreuzer@FreeBSD.org) Received: (from skreuzer@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w42HKuBC069211; Wed, 2 May 2018 17:20:56 GMT (envelope-from skreuzer@FreeBSD.org) Message-Id: <201805021720.w42HKuBC069211@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: skreuzer set sender to skreuzer@FreeBSD.org using -f From: Steven Kreuzer Date: Wed, 2 May 2018 17:20:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468857 - in head/devel: . cpu_features X-SVN-Group: ports-head X-SVN-Commit-Author: skreuzer X-SVN-Commit-Paths: in head/devel: . cpu_features X-SVN-Commit-Revision: 468857 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2018 17:20:57 -0000 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 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