[arrayfire] Fix usage (#26782)

* [arrayfire] Fix usage

* version

* Add double quotes

* version
This commit is contained in:
Jack·Boos·Yu 2022-09-14 20:25:19 +00:00 committed by GitHub
parent 8d3aa2bbf6
commit 6ff1bfa059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 3 deletions

View File

@ -45,7 +45,6 @@ set(AF_DEFAULT_VCPKG_CMAKE_FLAGS
-DAF_CPU_THREAD_PATH=${CPU_THREADS_PATH} # for building the arrayfire cpu threads lib -DAF_CPU_THREAD_PATH=${CPU_THREADS_PATH} # for building the arrayfire cpu threads lib
-DAF_FORGE_PATH=${FORGE_PATH} # forge headers for building the graphics lib -DAF_FORGE_PATH=${FORGE_PATH} # forge headers for building the graphics lib
-DAF_BUILD_FORGE=OFF -DAF_BUILD_FORGE=OFF
-DAF_INSTALL_CMAKE_DIR=${CURRENT_PACKAGES_DIR}/share/${PORT} # for CMake configs/targets
) )
# bin/dll directory for Windows non-static builds for the unified backend dll # bin/dll directory for Windows non-static builds for the unified backend dll
@ -74,6 +73,10 @@ vcpkg_cmake_configure(
OPTIONS OPTIONS
${AF_DEFAULT_VCPKG_CMAKE_FLAGS} ${AF_DEFAULT_VCPKG_CMAKE_FLAGS}
${AF_BACKEND_FEATURE_OPTIONS} ${AF_BACKEND_FEATURE_OPTIONS}
OPTIONS_DEBUG
-DAF_INSTALL_CMAKE_DIR="${CURRENT_PACKAGES_DIR}/debug/share/${PORT}" # for CMake configs/targets
OPTIONS_RELEASE
-DAF_INSTALL_CMAKE_DIR="${CURRENT_PACKAGES_DIR}/share/${PORT}" # for CMake configs/targets
MAYBE_UNUSED_VARIABLES MAYBE_UNUSED_VARIABLES
AF_CPU_THREAD_PATH AF_CPU_THREAD_PATH
) )
@ -81,6 +84,8 @@ vcpkg_cmake_install()
vcpkg_copy_pdbs() vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/examples") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/examples")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

View File

@ -1,7 +1,7 @@
{ {
"name": "arrayfire", "name": "arrayfire",
"version-semver": "3.8.0", "version-semver": "3.8.0",
"port-version": 1, "port-version": 2,
"description": "ArrayFire is a general-purpose library that simplifies the process of developing software that targets parallel and massively-parallel architectures including CPUs, GPUs, and other hardware acceleration devices.", "description": "ArrayFire is a general-purpose library that simplifies the process of developing software that targets parallel and massively-parallel architectures including CPUs, GPUs, and other hardware acceleration devices.",
"homepage": "https://github.com/arrayfire/arrayfire", "homepage": "https://github.com/arrayfire/arrayfire",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "9ce1cae30cfcfd85b9858f5f46a59136cce97e59",
"version-semver": "3.8.0",
"port-version": 2
},
{ {
"git-tree": "137eb0d15f469e75ad3255cf1de871d83b3dff49", "git-tree": "137eb0d15f469e75ad3255cf1de871d83b3dff49",
"version-semver": "3.8.0", "version-semver": "3.8.0",

View File

@ -182,7 +182,7 @@
}, },
"arrayfire": { "arrayfire": {
"baseline": "3.8.0", "baseline": "3.8.0",
"port-version": 1 "port-version": 2
}, },
"arrow": { "arrow": {
"baseline": "9.0.0", "baseline": "9.0.0",