Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2021 22:37:24 +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: r563161 - in head/devel/cpu_features: . files
Message-ID:  <202101282237.10SMbObQ002616@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skreuzer
Date: Thu Jan 28 22:37:24 2021
New Revision: 563161
URL: https://svnweb.freebsd.org/changeset/ports/563161

Log:
  Update to version 0.5.0
  
  Upstream Enhancements:
   * Detect future Intel AVX/AMX features #128
   * Add support for Tiger Lake and Sapphire rapids Intel microarchitectures #127
   * Update features for AArch64 to Linux 5.8 #126
   * AVX-512 FMA count detection #120
  
  Port Changes:
   * Add license file
   * Change libcpu_features to a shared library
  
  PR: 253037
  Submitted by:	yuri@

Deleted:
  head/devel/cpu_features/files/
Modified:
  head/devel/cpu_features/Makefile
  head/devel/cpu_features/distinfo
  head/devel/cpu_features/pkg-plist

Modified: head/devel/cpu_features/Makefile
==============================================================================
--- head/devel/cpu_features/Makefile	Thu Jan 28 22:23:55 2021	(r563160)
+++ head/devel/cpu_features/Makefile	Thu Jan 28 22:37:24 2021	(r563161)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	cpu_features
-PORTVERSION=	0.4.0
+PORTVERSION=	0.5.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -9,6 +9,7 @@ MAINTAINER=	skreuzer@FreeBSD.org
 COMMENT=	Cross platform C99 library to get cpu features at runtime
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 NOT_FOR_ARCHS=		aarch64 armv6 armv7 mips mips64 riscv64
 NOT_FOR_ARCHS_REASON=	assumes android if on ARM or MIPS; not ported to riscv64
@@ -17,11 +18,13 @@ USES=	cmake:insource
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
 
+CMAKE_ON=	BUILD_SHARED_LIBS
+
 CFLAGS+=	-fPIC
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/list_cpu_features ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/libcpu_features.a ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_LIB} ${WRKSRC}/libcpu_features.so ${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

Modified: head/devel/cpu_features/distinfo
==============================================================================
--- head/devel/cpu_features/distinfo	Thu Jan 28 22:23:55 2021	(r563160)
+++ head/devel/cpu_features/distinfo	Thu Jan 28 22:37:24 2021	(r563161)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1563070474
-SHA256 (google-cpu_features-v0.4.0_GH0.tar.gz) = 4fe7435b84f18ec1db261365c36be7d7f16d2ec39221f70b2cdf6efcd423542b
-SIZE (google-cpu_features-v0.4.0_GH0.tar.gz) = 55192
+TIMESTAMP = 1611873019
+SHA256 (google-cpu_features-v0.5.0_GH0.tar.gz) = b967811cecd68412e0dc65e4964756a6ae48755456fa2c2f42034f6271ac2c27
+SIZE (google-cpu_features-v0.5.0_GH0.tar.gz) = 61947

Modified: head/devel/cpu_features/pkg-plist
==============================================================================
--- head/devel/cpu_features/pkg-plist	Thu Jan 28 22:23:55 2021	(r563160)
+++ head/devel/cpu_features/pkg-plist	Thu Jan 28 22:37:24 2021	(r563161)
@@ -1,5 +1,4 @@
 bin/list_cpu_features
-lib/libcpu_features.a
 include/cpu_features_cache_info.h
 include/cpu_features_macros.h
 include/cpuinfo_aarch64.h
@@ -14,3 +13,4 @@ include/internal/hwcaps.h
 include/internal/stack_line_reader.h
 include/internal/string_view.h
 include/internal/unix_features_aggregator.h
+lib/libcpu_features.so



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