Update sundials to 3.1.1

This commit is contained in:
Andreas Schulte 2018-06-05 21:06:29 +02:00
parent d59359ba62
commit cf4a688e44
2 changed files with 5 additions and 3 deletions

View File

@ -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)

View File

@ -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})