[libpopcnt] add new port (#48150)

This commit is contained in:
toge 2025-11-06 05:51:23 +09:00 committed by GitHub
parent d97c2b90f6
commit 142f80bb08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,13 @@
set(VCPKG_BUILD_TYPE release) # Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO kimwalisch/libpopcnt
REF "v${VERSION}"
SHA512 b01f1446c951b848357ed01e31cb2d1014639ba854710edcc5703b69226b9ca2e65c84d78308cf345654fbfc92ce467bb5a5171158db5b94f979674efb59f6dc
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/libpopcnt.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,7 @@
{
"name": "libpopcnt",
"version": "3.1",
"description": "Fast C/C++ bit population count library",
"homepage": "https://github.com/kimwalisch/libpopcnt",
"license": "BSD-2-Clause"
}

View File

@ -5332,6 +5332,10 @@
"baseline": "1.6.50",
"port-version": 0
},
"libpopcnt": {
"baseline": "3.1",
"port-version": 0
},
"libpopt": {
"baseline": "1.16",
"port-version": 18

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "75540d799c09ac684dcd0e1503129e471621e626",
"version": "3.1",
"port-version": 0
}
]
}