Skip to content

Commit

Permalink
Add hdbscan port
Browse files Browse the repository at this point in the history
  • Loading branch information
ooraloo committed Feb 13, 2025
1 parent be1ae8e commit 252a6aa
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ports/hdbscan/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
URL "https://github.com/ooraloo/hdbscan-cpp-vcpkg"
REF "382c494ecdda557a9a1bf5e0d700d45b9e8decf7"
FETCH_REF "master"
)

vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE.md)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
17 changes: 17 additions & 0 deletions ports/hdbscan/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "hdbscan",
"version": "1.0.0",
"description": "A C++ implementation of HDBSCAN clustering adapted from https://github.com/rohanmohapatra/hdbscan-cpp",
"homepage": "https://github.com/ooraloo/hdbscan-cpp-vcpkg",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

0 comments on commit 252a6aa

Please sign in to comment.