mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[armadillo]update to 10.6.2 (#19648)
* [armadillo]update to 10.6.2 * update version * update portifile.cmake * update version
This commit is contained in:
parent
c592209c5f
commit
18860a0e48
@ -3,46 +3,43 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
vcpkg_from_sourceforge(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO arma
|
||||
FILENAME "armadillo-10.4.0.tar.xz"
|
||||
SHA512 72cf8a493e86c51c4c875076d0a9dd7c21fbfbd639064fa7a96daf4a5df02b36c93440bbae471f30d368547c6856c91fef97ce8ed2ec0526b0060588b71cd28a
|
||||
FILENAME "armadillo-10.6.2.tar.xz"
|
||||
SHA512 ae04e993830ca04e7eddfaf9c40a50fb9139b10b9667412f5a18707ac73ee529b8e3a5a91337782e4e01bae61207b44f24bdd8a77c6c2404011a06006d849aba
|
||||
PATCHES
|
||||
remove_custom_modules.patch
|
||||
fix-CMakePath.patch
|
||||
add-disable-find-package.patch
|
||||
)
|
||||
|
||||
file(REMOVE ${SOURCE_PATH}/cmake_aux/Modules/ARMA_FindBLAS.cmake)
|
||||
file(REMOVE ${SOURCE_PATH}/cmake_aux/Modules/ARMA_FindLAPACK.cmake)
|
||||
file(REMOVE ${SOURCE_PATH}/cmake_aux/Modules/ARMA_FindOpenBLAS.cmake)
|
||||
file(REMOVE "${SOURCE_PATH}/cmake_aux/Modules/ARMA_FindBLAS.cmake")
|
||||
file(REMOVE "${SOURCE_PATH}/cmake_aux/Modules/ARMA_FindLAPACK.cmake")
|
||||
file(REMOVE "${SOURCE_PATH}/cmake_aux/Modules/ARMA_FindOpenBLAS.cmake")
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DDETECT_HDF5=false
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_SuperLU=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_ACML=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_ACMLMP=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_ARPACK=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_ATLAS=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_MKL=ON
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/Armadillo/CMake TARGET_PATH share/Armadillo)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/Armadillo/CMake)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(GLOB SHARE_CONTENT ${CURRENT_PACKAGES_DIR}/share/Armadillo)
|
||||
file(GLOB SHARE_CONTENT "${CURRENT_PACKAGES_DIR}/share/Armadillo")
|
||||
list(LENGTH SHARE_CONTENT SHARE_LEN)
|
||||
if(SHARE_LEN EQUAL 0)
|
||||
# On case sensitive file system there is an extra empty directory created that should be removed
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/Armadillo)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/Armadillo")
|
||||
endif()
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,10 +1,18 @@
|
||||
{
|
||||
"name": "armadillo",
|
||||
"version": "10.4.0",
|
||||
"version": "10.6.2",
|
||||
"description": "Armadillo is a high quality linear algebra library (matrix maths) for the C++ language, aiming towards a good balance between speed and ease of use",
|
||||
"homepage": "http://arma.sourceforge.net",
|
||||
"dependencies": [
|
||||
"blas",
|
||||
"lapack"
|
||||
"lapack",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "66b31fe832e9322876f427f1fec7836bb71c082c",
|
||||
"version": "10.6.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "3925824cd7eed2d9fcaa092a9a543eb538d9a558",
|
||||
"version": "10.4.0",
|
||||
|
@ -157,7 +157,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"armadillo": {
|
||||
"baseline": "10.4.0",
|
||||
"baseline": "10.6.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"arrayfire": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user