[igraph] update to 0.9.5 (#21346)

* [igraph] update to 0.9.5

* [igraph] x-add-version for 0.9.5

* [igraph] get rid of deprecated functions

* [igraph] format-manifest

* [igraph] x-add-version

* Update ports/igraph/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* [igraph] x-add-version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
This commit is contained in:
Szabolcs Horvát 2021-11-16 01:46:23 +01:00 committed by GitHub
parent ced4282b5e
commit 33e7e68c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 15 deletions

View File

@ -4,9 +4,9 @@
# - The release tarball contains pre-generated parser sources, which eliminates the dependency on bison/flex.
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/igraph/igraph/releases/download/0.9.4/igraph-0.9.4.tar.gz"
FILENAME "igraph-0.9.4.tar.gz"
SHA512 1188d69b95f581d7dac5874dcdb2d1b1a322e39b275c6f092c199ed6214def814062bd46d573bdaa4bc8f4514d6840c6e93dedbe0f6c99a15de33cbc39356573
URLS "https://github.com/igraph/igraph/releases/download/0.9.5/igraph-0.9.5.tar.gz"
FILENAME "igraph-0.9.5.tar.gz"
SHA512 2eb562bb898ff19f8e4ebb2d9f3393000b66154cb87318999bbb920793657e4e3a0b52d10bc8cbe4d2c3a5d27258fd8156df97f778065a92b969bfcb7d9fc28c
)
vcpkg_extract_source_archive_ex(
@ -20,7 +20,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
openmp IGRAPH_OPENMP_SUPPORT
)
# Allow cross-compilation. See https://igraph.org/c/doc/igraph-Installation.html#idm207877354096
# Allow cross-compilation. See https://igraph.org/c/html/latest/igraph-Installation.html#igraph-Installation-cross-compiling
set(ARITH_H "")
if (VCPKG_TARGET_IS_OSX)
set(ARITH_H ${CURRENT_PORT_DIR}/arith_osx.h)
@ -32,9 +32,8 @@ elseif (VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_UWP)
endif()
endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DIGRAPH_ENABLE_LTO=AUTO
# ARPACK not yet available in vcpkg.
@ -46,19 +45,19 @@ vcpkg_configure_cmake(
-DIGRAPH_USE_INTERNAL_CXSPARSE=OFF
# GLPK is not yet available in vcpkg.
-DIGRAPH_USE_INTERNAL_GLPK=ON
# Currently, external GMP provides no performance of functionality benefits.
# Currently, external GMP provides no performance or functionality benefits.
-DIGRAPH_USE_INTERNAL_GMP=ON
-DF2C_EXTERNAL_ARITH_HEADER=${ARITH_H}
${FEATURE_OPTIONS}
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/igraph)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/igraph)
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,11 +1,18 @@
{
"name": "igraph",
"version": "0.9.4",
"port-version": 1,
"version": "0.9.5",
"description": "igraph is a C library for network analysis and graph theory, with an emphasis on efficiency portability and ease of use.",
"homepage": "https://igraph.org/",
"dependencies": [
"suitesparse"
"suitesparse",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"graphml"

View File

@ -2805,8 +2805,8 @@
"port-version": 1
},
"igraph": {
"baseline": "0.9.4",
"port-version": 1
"baseline": "0.9.5",
"port-version": 0
},
"iir1": {
"baseline": "1.9.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e1ad33d42918b67a81d068be60950b488829811f",
"version": "0.9.5",
"port-version": 0
},
{
"git-tree": "9814112513cedc4fdc1d0eaf8f633278c792decb",
"version": "0.9.4",