-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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@
- Loading branch information
Showing
4 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# $FreeBSD$ | ||
|
||
PORTNAME= cpu_features | ||
PORTVERSION= 0.4.0 | ||
PORTVERSION= 0.5.0 | ||
DISTVERSIONPREFIX= v | ||
CATEGORIES= devel | ||
|
||
MAINTAINER= [email protected] | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters