[sundials] Update to 5.7.0 and also update repository (#16705)

* [sundials] Update to 5.7.0 and also update repository

* Update versions

* Update OPTIONS

* Update versions/s-/sundials.json
This commit is contained in:
NancyLi1013 2021-03-16 02:06:19 +08:00 committed by GitHub
parent 924ad6ad6c
commit d1c0075558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 16 deletions

View File

@ -1,4 +0,0 @@
Source: sundials
Version: 5.5.0
Homepage: https://computation.llnl.gov/projects/sundials
Description: SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation Solvers)

View File

@ -1,14 +1,9 @@
set(ARCHIVE_NAME "sundials-5.5.0")
vcpkg_download_distfile(ARCHIVE
URLS "https://computation.llnl.gov/projects/sundials/download/${ARCHIVE_NAME}.tar.gz"
FILENAME "${ARCHIVE_NAME}.tar.gz"
SHA512 e8cba7341f6b8d647151fe5543e62a13adda363d4c96bdaba7a70925b2c58ec4f4f089a0d6c9c5a57c50fb32fa1285bd09b450697056bc3da24cf882c6c7c427
)
vcpkg_extract_source_archive_ex(
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
REPO LLNL/sundials
REF 73c280cd55ca2b42019c8a9aa54af10e41e27b9d # v5.7.0
SHA512 c70c53e5f5efe47255d23f36e71ffd75d61905a13a634a26bfbbd43c3c8764b7805db9a8cbe48c6cf69b2a1028701cb7118074bbbc01de71faf4f30bf0be22f9
HEAD_REF master
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" SUN_BUILD_STATIC)
@ -18,7 +13,7 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DEXAMPLES_ENABLE=OFF
-D_BUILD_EXAMPLES=OFF
-DBUILD_STATIC_LIBS=${SUN_BUILD_STATIC}
-DBUILD_SHARED_LIBS=${SUN_BUILD_SHARED}
)

View File

@ -0,0 +1,6 @@
{
"name": "sundials",
"version-semver": "5.7.0",
"description": "SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation Solvers)",
"homepage": "https://computation.llnl.gov/projects/sundials"
}

View File

@ -5697,7 +5697,7 @@
"port-version": 1
},
"sundials": {
"baseline": "5.5.0",
"baseline": "5.7.0",
"port-version": 0
},
"superlu": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f6b0c03d6b78a5632db68b010ab4d9526c73450c",
"version-semver": "5.7.0",
"port-version": 0
},
{
"git-tree": "8d36ea64574b793b164d015845c69e6278168ba5",
"version-string": "5.5.0",