From c65198892b732f3f00712ce8bd56cc9297d110d5 Mon Sep 17 00:00:00 2001 From: Jonathan Sweemer Date: Wed, 26 Apr 2023 15:02:44 +0900 Subject: [PATCH] [quantlib] update to v1.30 (#30985) * [quantlib] update to v1.30 * [quantlib] update to v1.30 * [quantlib] update to v1.30 * [quantlib] update to v1.30 --- ports/quantlib/portfile.cmake | 5 +++-- ports/quantlib/remove-amortizingbonds-all.patch | 12 ++++++++++++ ports/quantlib/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/q-/quantlib.json | 5 +++++ 5 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 ports/quantlib/remove-amortizingbonds-all.patch diff --git a/ports/quantlib/portfile.cmake b/ports/quantlib/portfile.cmake index d55a7293018052..2a1561f9b8900f 100644 --- a/ports/quantlib/portfile.cmake +++ b/ports/quantlib/portfile.cmake @@ -1,9 +1,10 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO lballabio/QuantLib - REF QuantLib-v1.29 - SHA512 0610e666943f29f4fcf6188f2673837a24da749c2071f2463667bfef67262aba6425612db82d9f0553f7717dc7b8214e01dfafcf29145510d39a9e2024a749fc + REF QuantLib-v1.30 + SHA512 7948f33fac124e615051863a1780ed2f98a626577174b54d0a276e604d3b034828e3d6c0c528687c4c0b974829dde830daf6be70f8de51467c9fc0f9a76eb525 HEAD_REF master + PATCHES remove-amortizingbonds-all.patch ) if (VCPKG_TARGET_IS_WINDOWS) diff --git a/ports/quantlib/remove-amortizingbonds-all.patch b/ports/quantlib/remove-amortizingbonds-all.patch new file mode 100644 index 00000000000000..abbeb90c9227a6 --- /dev/null +++ b/ports/quantlib/remove-amortizingbonds-all.patch @@ -0,0 +1,12 @@ +diff --git a/ql/CMakeLists.txt b/ql/CMakeLists.txt +index fc137f41d..7ac42a58b 100644 +--- a/ql/CMakeLists.txt ++++ b/ql/CMakeLists.txt +@@ -2220,7 +2220,6 @@ set(QL_GENERATED_HEADERS + ${PROJECT_BINARY_DIR}/ql/cashflows/all.hpp + ${PROJECT_BINARY_DIR}/ql/currencies/all.hpp + ${PROJECT_BINARY_DIR}/ql/experimental/all.hpp +- ${PROJECT_BINARY_DIR}/ql/experimental/amortizingbonds/all.hpp + ${PROJECT_BINARY_DIR}/ql/experimental/asian/all.hpp + ${PROJECT_BINARY_DIR}/ql/experimental/averageois/all.hpp + ${PROJECT_BINARY_DIR}/ql/experimental/barrieroption/all.hpp diff --git a/ports/quantlib/vcpkg.json b/ports/quantlib/vcpkg.json index 8c6d48583490c7..7b9e0cbc652db0 100644 --- a/ports/quantlib/vcpkg.json +++ b/ports/quantlib/vcpkg.json @@ -1,6 +1,6 @@ { "name": "quantlib", - "version": "1.29", + "version": "1.30", "description": "The QuantLib C++ library", "homepage": "https://www.quantlib.org/", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 27c853c583272a..12298a67034896 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6781,7 +6781,7 @@ "port-version": 0 }, "quantlib": { - "baseline": "1.29", + "baseline": "1.30", "port-version": 0 }, "quaternions": { diff --git a/versions/q-/quantlib.json b/versions/q-/quantlib.json index 9774fee3b57edc..fb1ea4d3f442d1 100644 --- a/versions/q-/quantlib.json +++ b/versions/q-/quantlib.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "8a4c25e9a7ca2099d8a528f7477a43fd60a271bb", + "version": "1.30", + "port-version": 0 + }, { "git-tree": "0b303bae8ef48f28c1cf4cf88b717756c1a20a1b", "version": "1.29",