aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/sundials/CONTROL2
-rw-r--r--ports/sundials/portfile.cmake6
2 files changed, 5 insertions, 3 deletions
diff --git a/ports/sundials/CONTROL b/ports/sundials/CONTROL
index 376a430fc..7651993bf 100644
--- a/ports/sundials/CONTROL
+++ b/ports/sundials/CONTROL
@@ -1,3 +1,3 @@
Source: sundials
-Version: 2.7.0-1
+Version: 3.1.1
Description: SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation Solvers)
diff --git a/ports/sundials/portfile.cmake b/ports/sundials/portfile.cmake
index 141cb3b11..52c7ca4a1 100644
--- a/ports/sundials/portfile.cmake
+++ b/ports/sundials/portfile.cmake
@@ -1,12 +1,12 @@
include(vcpkg_common_functions)
-set(ARCHIVE_NAME "sundials-2.7.0")
+set(ARCHIVE_NAME "sundials-3.1.1")
set(SOURCE_PATH "${CURRENT_BUILDTREES_DIR}/src/${ARCHIVE_NAME}")
vcpkg_download_distfile(ARCHIVE_FILE
URLS "https://computation.llnl.gov/projects/sundials/download/${ARCHIVE_NAME}.tar.gz"
FILENAME "${ARCHIVE_NAME}.tar.gz"
- SHA512 c86c167538065a4109b36ae7c8f60f3d92184133cfa661b5acfccee052c38f40be865412a1746bb57907b61602c212c0f15e1e30ef29e8a49db6d46a75a28e69
+ SHA512 3e8fc7183c5503943f1ba00c73b04c1614a48b6e6cb90559ec5481f9acffaa19acd97bd961611b251ebdc032f1a13f0919b0ab0cdfe9d9b4ddc99d40bef5719f
)
vcpkg_extract_source_archive(${ARCHIVE_FILE})
@@ -41,6 +41,8 @@ if(DEBUG_DLLS)
endif()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/sundials RENAME copyright)
+file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE")
+file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE")
if(REMOVE_DLLS)
file(REMOVE ${REMOVE_DLLS})