Skip to content

Commit

Permalink
[armadillo] Update to 12.0.1 (#30297)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheney-W authored Mar 20, 2023
1 parent 1ad25d5 commit a2f6e58
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
12 changes: 6 additions & 6 deletions ports/armadillo/dependencies.patch
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index da1ff3a..5a7ede9 100644
index 5b27e3c..78d3952 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -265,7 +265,6 @@ message(STATUS "*** Looking for external libraries")
@@ -260,7 +260,6 @@ message(STATUS "*** Looking for external libraries")
## Find LAPACK and BLAS libraries, or their optimised versions
##

-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake_aux/Modules/")

if(APPLE)
message(STATUS "Detected macOS")
@@ -336,11 +335,16 @@ else()
@@ -331,11 +330,16 @@ else()
set(FlexiBLAS_FOUND false)
endif()

Expand All @@ -27,15 +27,15 @@ index da1ff3a..5a7ede9 100644

message(STATUS "FlexiBLAS_FOUND = ${FlexiBLAS_FOUND}" )
message(STATUS " MKL_FOUND = ${MKL_FOUND}" )
@@ -503,7 +507,6 @@ if(DETECT_HDF5)
endif()
@@ -449,7 +453,6 @@ else()
endif()


-include(ARMA_FindARPACK)
message(STATUS "ARPACK_FOUND = ${ARPACK_FOUND}")

if(ARPACK_FOUND)
@@ -511,7 +514,6 @@ if(ARPACK_FOUND)
@@ -457,7 +460,6 @@ if(ARPACK_FOUND)
set(ARMA_LIBS ${ARMA_LIBS} ${ARPACK_LIBRARY})
endif()

Expand Down
4 changes: 2 additions & 2 deletions ports/armadillo/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ vcpkg_from_sourceforge(
OUT_SOURCE_PATH SOURCE_PATH
REPO arma
FILENAME "armadillo-${VERSION}.tar.xz"
SHA512 fa344a0f1dc8270d8aa01c35a00e9dd4182031ab3a0e1ecf8b748151eccdb5445807eb880b454ccba5250749ee02845adb1669732de89a4939e3368d36471015
SHA512 b1b9fbce6bdacc3340ab190605aba77e821629e0a51e0c6277840eaf803d037a778b9243c02c5b55d67976c203808a5fc34894f3928b707685f6d8695ef0bc0d
PATCHES
cmake-config.patch
dependencies.patch
Expand Down Expand Up @@ -48,4 +48,4 @@ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/armadillo_bits/config.hpp"

file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(COPY "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
2 changes: 1 addition & 1 deletion ports/armadillo/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "armadillo",
"version": "11.4.4",
"version": "12.0.1",
"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": "https://arma.sourceforge.net/",
"license": "Apache-2.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/armadillo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8e222a2972a96da2fbb07a76585574e9512b107f",
"version": "12.0.1",
"port-version": 0
},
{
"git-tree": "f149e3877dead7fd5e1783feb83a64a794eddcba",
"version": "11.4.4",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
"port-version": 0
},
"armadillo": {
"baseline": "11.4.4",
"baseline": "12.0.1",
"port-version": 0
},
"arpack-ng": {
Expand Down

0 comments on commit a2f6e58

Please sign in to comment.