* [arrayfire] Fix usage

* version

* Add double quotes

* version
This commit is contained in:
Jack·Boos·Yu 2022-09-14 20:25:19 +00:00 коммит произвёл GitHub
Родитель 8d3aa2bbf6
Коммит 6ff1bfa059
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 13 добавлений и 3 удалений

Просмотреть файл

@ -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_FORGE_PATH=${FORGE_PATH} # forge headers for building the graphics lib
-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
@ -74,6 +73,10 @@ vcpkg_cmake_configure(
OPTIONS
${AF_DEFAULT_VCPKG_CMAKE_FLAGS}
${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
AF_CPU_THREAD_PATH
)
@ -81,6 +84,8 @@ vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/examples")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "arrayfire",
"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.",
"homepage": "https://github.com/arrayfire/arrayfire",
"license": "BSD-3-Clause",

Просмотреть файл

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

Просмотреть файл

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