Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ruapu] Add new port #42915

Merged
merged 2 commits into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions ports/ruapu/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# header-only library
set(VCPKG_BUILD_TYPE release)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nihui/ruapu
REF "${VERSION}"
SHA512 efc74fde9e08637a5a888cfcbca000c1e7fe8095be5e59415c54c535cc2be496a4efe8aa66aac5dfbb1ae3385ba7762eb8bfd83ddbdf21720c7561707c287e45
HEAD_REF master
)

file(COPY "${SOURCE_PATH}/ruapu.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
7 changes: 7 additions & 0 deletions ports/ruapu/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "ruapu",
"version": "0.1.0",
"description": "Detect CPU features with single-file",
"homepage": "https://github.com/nihui/ruapu",
"license": "MIT"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
@@ -8088,6 +8088,10 @@
"baseline": "0.9.6+20210811",
"port-version": 1
},
"ruapu": {
"baseline": "0.1.0",
"port-version": 0
},
"rubberband": {
"baseline": "4.0.0",
"port-version": 0
9 changes: 9 additions & 0 deletions versions/r-/ruapu.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "7a70de92d2e605300b4cb147b32a11db159d6db7",
"version": "0.1.0",
"port-version": 0
}
]
}