-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[popsift] add new port v0.9 #10979
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
Merged
Merged
[popsift] add new port v0.9 #10979
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
203f826
[ports] add popsift
simogasp 6ce3d66
[popsift] homepage and limitations
simogasp ee7987d
[popsift] test debug
simogasp cc6dfd3
[popsift] test -fpic off for static
simogasp c44b183
[popsift] update ci.baseline
simogasp a316dae
[popsift] testing winfixes
simogasp ec22882
[popsift] missing dependencies for apps
simogasp 0db4536
[popsift] update portfile
simogasp 223c471
[popsift] cleaning
simogasp e7d56ec
[popsift] using vcpkg_find_cuda
simogasp 2ecc066
[popsift] using CUDA_TOOLKIT_ROOT_DIR
simogasp 55136b0
[popsift] rolling back to v0.9
simogasp 6962496
[popsift] update versions/baseline
simogasp 0035f61
[popsift] baseline x64-static-md fail
simogasp c40849c
[popsift] missing popsift.json
simogasp fb213aa
[popsift] remove ci.baseline.txt
simogasp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| Source: popsift | ||
| Version: 0.9 | ||
| Port-Version: 0 | ||
| Description: PopSift is an implementation of the SIFT algorithm in CUDA. | ||
| Build-Depends: cuda | ||
| Homepage: https://github.com/alicevision/popsift | ||
| Supports: !(uwp|arm|arm64|android|x86) | ||
simogasp marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Feature: apps | ||
| Description: Application programs for popsift (detection and matching) | ||
| Build-Depends: boost-algorithm, boost-program-options, boost-filesystem, boost-system | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO alicevision/popsift | ||
| REF v0.9 | ||
| SHA512 56789520872203eea86e07e8210e00c0b67d85486af16df9d620b1aff10f8d9ef5d910cf1dda6c68af7ca2ed11658ab5414ac79117b543f91a7d8d6a96a17ce0 | ||
| HEAD_REF develop | ||
| ) | ||
|
|
||
| include(${CURRENT_INSTALLED_DIR}/share/vcpkg_find_cuda/vcpkg_find_cuda.cmake) | ||
| vcpkg_find_cuda(OUT_CUDA_TOOLKIT_ROOT CUDA_TOOLKIT_ROOT) | ||
|
|
||
| message(STATUS "CUDA_TOOLKIT_ROOT ${CUDA_TOOLKIT_ROOT}") | ||
|
|
||
| vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
| apps PopSift_BUILD_EXAMPLES | ||
| ) | ||
|
|
||
| vcpkg_configure_cmake( | ||
| SOURCE_PATH ${SOURCE_PATH} | ||
| PREFER_NINJA | ||
| OPTIONS ${FEATURE_OPTIONS} -DCUDA_TOOLKIT_ROOT_DIR=${CUDA_TOOLKIT_ROOT} | ||
| ) | ||
|
|
||
| vcpkg_install_cmake() | ||
|
|
||
| vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/PopSift) | ||
|
|
||
| vcpkg_copy_pdbs() | ||
|
|
||
| file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share) | ||
|
|
||
| # move the bin direcory to tools | ||
| if ("apps" IN_LIST FEATURES) | ||
| file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools) | ||
| file(RENAME "${CURRENT_PACKAGES_DIR}/bin" ${CURRENT_PACKAGES_DIR}/tools/popsift) | ||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
| # file(RENAME "${CURRENT_PACKAGES_DIR}/debug/bin" ${CURRENT_PACKAGES_DIR}/tools/popsift/debug) | ||
| vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/popsift) | ||
| endif() | ||
|
|
||
| file(INSTALL ${SOURCE_PATH}/COPYING.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/popsift RENAME copyright) |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "807871ff30d3f2e5f40fbe3ff72dde0254b30c8d", | ||
| "version-string": "0.9", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.