diff options
Diffstat (limited to 'ports/dmlc')
| -rw-r--r-- | ports/dmlc/CONTROL | 9 | ||||
| -rw-r--r-- | ports/dmlc/portfile.cmake | 5 | ||||
| -rw-r--r-- | ports/dmlc/vcpkg.json | 13 |
3 files changed, 16 insertions, 11 deletions
diff --git a/ports/dmlc/CONTROL b/ports/dmlc/CONTROL deleted file mode 100644 index 7021ffdcd..000000000 --- a/ports/dmlc/CONTROL +++ /dev/null @@ -1,9 +0,0 @@ -Source: dmlc -Version: 2019-08-12 -Port-Version: 5 -Homepage: https://github.com/dmlc/dmlc-core -Description: DMLC-Core is the backbone library to support all DMLC projects, offers the bricks to build efficient and scalable distributed machine learning libraries. -Supports: !uwp - -Feature: openmp -Description: Build with openmp diff --git a/ports/dmlc/portfile.cmake b/ports/dmlc/portfile.cmake index fd339627a..3e4c7baeb 100644 --- a/ports/dmlc/portfile.cmake +++ b/ports/dmlc/portfile.cmake @@ -11,7 +11,8 @@ vcpkg_from_github( ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS - openmp ENABLE_OPENMP + FEATURES + openmp ENABLE_OPENMP ) if(VCPKG_CRT_LINKAGE STREQUAL dynamic) @@ -36,4 +37,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/dmlc) # Handle copyright -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/dmlc/vcpkg.json b/ports/dmlc/vcpkg.json new file mode 100644 index 000000000..36a4e0395 --- /dev/null +++ b/ports/dmlc/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "dmlc", + "version-date": "2019-08-12", + "port-version": 6, + "description": "DMLC-Core is the backbone library to support all DMLC projects, offers the bricks to build efficient and scalable distributed machine learning libraries.", + "homepage": "https://github.com/dmlc/dmlc-core", + "supports": "!uwp", + "features": { + "openmp": { + "description": "Build with openmp" + } + } +} |
