Skip to content

Commit

Permalink
[superlu] Update to v6.0.0 (microsoft#31089)
Browse files Browse the repository at this point in the history
* [superlu] Update to v6.0.0

* [superlu] remove spurious configure

* [superlu] v db
  • Loading branch information
FabienPean authored Apr 26, 2023
1 parent 93fc361 commit b3f7701
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
3 changes: 2 additions & 1 deletion ports/superlu/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xiaoyeli/superlu
REF "v${VERSION}"
SHA512 1461b52bc18a8b0345beb70fdd46e07df497a13be840bcc061158ea1d0e61c8745806d1ad21cb2723db80f5ed762c3741f9c0ded2b2013df46da0e8bb6b77b83
SHA512 8feeb08404cad58724f0f6478bc785b56d8c725b549f1fdc07d3578c4e14bdbdbd8bcda1cdfd366a39417eda60765825e87cf781c68e6723a8246cb357b41439
HEAD_REF master
PATCHES
remove-make.inc.patch
superfluous-configure.patch
)

vcpkg_cmake_configure(
Expand Down
12 changes: 12 additions & 0 deletions ports/superlu/superfluous-configure.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d733990..11f429a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -230,7 +230,6 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/superlu.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)

configure_file(${SuperLU_SOURCE_DIR}/SRC/superlu_config.h.in ${SuperLU_BINARY_DIR}/SRC/superlu_config.h)
-configure_file(${SuperLU_SOURCE_DIR}/SRC/superlu_config.h.in ${SuperLU_SOURCE_DIR}/SRC/superlu_config.h)

# Following is to configure a header file for FORTRAN code
configure_file(${SuperLU_SOURCE_DIR}/SRC/superlu_config.h.in ${SuperLU_BINARY_DIR}/FORTRAN/superlu_config.h)
3 changes: 1 addition & 2 deletions ports/superlu/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "superlu",
"version": "5.3.0",
"port-version": 1,
"version": "6.0.0",
"description": "Supernodal sparse direct solver.",
"homepage": "https://github.com/xiaoyeli/superlu",
"license": "BSD-3-Clause-LBNL",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7713,8 +7713,8 @@
"port-version": 0
},
"superlu": {
"baseline": "5.3.0",
"port-version": 1
"baseline": "6.0.0",
"port-version": 0
},
"symengine": {
"baseline": "0.9.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/s-/superlu.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8187a877fbae6bdc54d5922753a1d67141576be0",
"version": "6.0.0",
"port-version": 0
},
{
"git-tree": "bcc27a8221ab0323b537025944ebc20ae56c36ac",
"version": "5.3.0",
Expand Down

0 comments on commit b3f7701

Please sign in to comment.