mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:11:36 +08:00
[arrow] Fix the problem that feature acero and dataset cannot be used (#31765)
* fix arroeacer not found * update version * fix usage * update version * fix usage * update version
This commit is contained in:
parent
5d3798ac73
commit
ba1ae2ec2d
@ -80,6 +80,14 @@ if("dataset" IN_LIST FEATURES)
|
||||
)
|
||||
endif()
|
||||
|
||||
if("acero" IN_LIST FEATURES)
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME arrowacero
|
||||
CONFIG_PATH lib/cmake/ArrowAcero
|
||||
DO_NOT_DELETE_PARENT_CONFIG_PATH
|
||||
)
|
||||
endif()
|
||||
|
||||
if("parquet" IN_LIST FEATURES)
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME parquet
|
||||
@ -94,6 +102,14 @@ if("parquet" IN_LIST FEATURES)
|
||||
file(READ "${CMAKE_CURRENT_LIST_DIR}/usage-parquet" usage-parquet)
|
||||
file(APPEND "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" "${usage-parquet}")
|
||||
endif()
|
||||
if("dataset" IN_LIST FEATURES)
|
||||
file(READ "${CMAKE_CURRENT_LIST_DIR}/usage-dataset" usage-dataset)
|
||||
file(APPEND "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" "${usage-dataset}")
|
||||
endif()
|
||||
if("acero" IN_LIST FEATURES)
|
||||
file(READ "${CMAKE_CURRENT_LIST_DIR}/usage-acero" usage-acero)
|
||||
file(APPEND "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" "${usage-acero}")
|
||||
endif()
|
||||
|
||||
if("example" IN_LIST FEATURES)
|
||||
file(INSTALL "${SOURCE_PATH}/cpp/examples/minimal_build/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/example")
|
||||
|
3
ports/arrow/usage-acero
Normal file
3
ports/arrow/usage-acero
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
find_package(ArrowAcero CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE "$<IF:$<BOOL:${ARROW_BUILD_STATIC}>,ArrowAcero::arrow_acero_static,ArrowAcero::arrow_acero_shared>")
|
3
ports/arrow/usage-dataset
Normal file
3
ports/arrow/usage-dataset
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
find_package(ArrowDataset CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE "$<IF:$<BOOL:${ARROW_BUILD_STATIC}>,ArrowDataset::arrow_dataset_static,ArrowDataset::arrow_dataset_shared>")
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "arrow",
|
||||
"version": "12.0.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Cross-language development platform for in-memory analytics",
|
||||
"homepage": "https://arrow.apache.org",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f4aba951b4604b0846af32c50cf4e6959e0e119d",
|
||||
"version": "12.0.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "4e29a49e78533ec10e3142ae7ad69fdd12c8d163",
|
||||
"version": "12.0.0",
|
||||
|
@ -222,7 +222,7 @@
|
||||
},
|
||||
"arrow": {
|
||||
"baseline": "12.0.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"arsenalgear": {
|
||||
"baseline": "2.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user