Skip to content

Commit 142f80b

Browse files
authored
[libpopcnt] add new port (microsoft#48150)
1 parent d97c2b9 commit 142f80b

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed

ports/libpopcnt/portfile.cmake

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
set(VCPKG_BUILD_TYPE release) # Header-only library
2+
3+
vcpkg_from_github(
4+
OUT_SOURCE_PATH SOURCE_PATH
5+
REPO kimwalisch/libpopcnt
6+
REF "v${VERSION}"
7+
SHA512 b01f1446c951b848357ed01e31cb2d1014639ba854710edcc5703b69226b9ca2e65c84d78308cf345654fbfc92ce467bb5a5171158db5b94f979674efb59f6dc
8+
HEAD_REF master
9+
)
10+
11+
file(COPY "${SOURCE_PATH}/libpopcnt.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
12+
13+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

ports/libpopcnt/vcpkg.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "libpopcnt",
3+
"version": "3.1",
4+
"description": "Fast C/C++ bit population count library",
5+
"homepage": "https://github.com/kimwalisch/libpopcnt",
6+
"license": "BSD-2-Clause"
7+
}

versions/baseline.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5332,6 +5332,10 @@
53325332
"baseline": "1.6.50",
53335333
"port-version": 0
53345334
},
5335+
"libpopcnt": {
5336+
"baseline": "3.1",
5337+
"port-version": 0
5338+
},
53355339
"libpopt": {
53365340
"baseline": "1.16",
53375341
"port-version": 18

versions/l-/libpopcnt.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"versions": [
3+
{
4+
"git-tree": "75540d799c09ac684dcd0e1503129e471621e626",
5+
"version": "3.1",
6+
"port-version": 0
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)