From 207c2810b00667f65072fad8473280e590acae51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szabolcs=20Horv=C3=A1t?= Date: Thu, 6 May 2021 21:24:08 +0200 Subject: [igraph] update to 0.9.3 (#17683) * igraph: update to 0.9.3 * igraph: x-add-version * formatting fix * x-add-version --- ports/igraph/001_add_crt_secure_no_warnings.patch | 12 ------------ ports/igraph/portfile.cmake | 8 ++++---- ports/igraph/vcpkg.json | 5 ++++- versions/baseline.json | 2 +- versions/i-/igraph.json | 5 +++++ 5 files changed, 14 insertions(+), 18 deletions(-) delete mode 100644 ports/igraph/001_add_crt_secure_no_warnings.patch diff --git a/ports/igraph/001_add_crt_secure_no_warnings.patch b/ports/igraph/001_add_crt_secure_no_warnings.patch deleted file mode 100644 index a138a53de..000000000 --- a/ports/igraph/001_add_crt_secure_no_warnings.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/etc/cmake/compilers.cmake b/etc/cmake/compilers.cmake -index 3aabff4cb..97c01e545 100644 ---- a/etc/cmake/compilers.cmake -+++ b/etc/cmake/compilers.cmake -@@ -2,6 +2,7 @@ include(CheckCCompilerFlag) - - if(MSVC) - add_compile_options(/FS) -+ add_compile_definitions(_CRT_SECURE_NO_WARNINGS) - endif() - - if (NOT MSVC) diff --git a/ports/igraph/portfile.cmake b/ports/igraph/portfile.cmake index 87ac76966..d8164d83f 100644 --- a/ports/igraph/portfile.cmake +++ b/ports/igraph/portfile.cmake @@ -4,20 +4,20 @@ # - 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.2/igraph-0.9.2.tar.gz" - FILENAME "igraph-0.9.2.tar.gz" - SHA512 8feb0c23c28e62f1e538fc41917e941f45421060b6240653ee03153b13551c454be019343a314b7913edb9c908518a131034c8e2098d9dd8e5c923fb84d195b3 + URLS "https://github.com/igraph/igraph/releases/download/0.9.3/igraph-0.9.3.tar.gz" + FILENAME "igraph-0.9.3.tar.gz" + SHA512 69c7a217a27a34763750fe1bb3a981d9ce5aceb9027fe98ebdd2b2cbf4558734f55128ff8d9e46d066020d5bc942f6df761861bf7b103025015d3f0e336a7e7c ) vcpkg_extract_source_archive_ex( OUT_SOURCE_PATH SOURCE_PATH ARCHIVE ${ARCHIVE} - PATCHES 001_add_crt_secure_no_warnings.patch ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS FEATURES graphml IGRAPH_GRAPHML_SUPPORT + openmp IGRAPH_OPENMP_SUPPORT ) # Allow cross-compilation. See https://igraph.org/c/doc/igraph-Installation.html#idm207877354096 diff --git a/ports/igraph/vcpkg.json b/ports/igraph/vcpkg.json index 451d942db..24c253633 100644 --- a/ports/igraph/vcpkg.json +++ b/ports/igraph/vcpkg.json @@ -1,6 +1,6 @@ { "name": "igraph", - "version": "0.9.2", + "version": "0.9.3", "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": [ @@ -15,6 +15,9 @@ "dependencies": [ "libxml2" ] + }, + "openmp": { + "description": "Use OpenMP parallelization in some functions" } } } diff --git a/versions/baseline.json b/versions/baseline.json index b2463bb44..70d60ae4d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2593,7 +2593,7 @@ "port-version": 0 }, "igraph": { - "baseline": "0.9.2", + "baseline": "0.9.3", "port-version": 0 }, "iir1": { diff --git a/versions/i-/igraph.json b/versions/i-/igraph.json index 5db5b6ad6..b01577af4 100644 --- a/versions/i-/igraph.json +++ b/versions/i-/igraph.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ddee866d3bd75d1537681669470c84a530fb432f", + "version": "0.9.3", + "port-version": 0 + }, { "git-tree": "c2c35718e43fc23a6187173b49c19b11b8a89fdd", "version": "0.9.2", -- cgit v1.2.3