Skip to content

Commit

Permalink
[quantlib] update to v1.30 (#30985)
Browse files Browse the repository at this point in the history
* [quantlib] update to v1.30

* [quantlib] update to v1.30

* [quantlib] update to v1.30

* [quantlib] update to v1.30
  • Loading branch information
sweemer authored Apr 26, 2023
1 parent 0be3552 commit c651988
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
5 changes: 3 additions & 2 deletions ports/quantlib/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
12 changes: 12 additions & 0 deletions ports/quantlib/remove-amortizingbonds-all.patch
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion ports/quantlib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6781,7 +6781,7 @@
"port-version": 0
},
"quantlib": {
"baseline": "1.29",
"baseline": "1.30",
"port-version": 0
},
"quaternions": {
Expand Down
5 changes: 5 additions & 0 deletions versions/q-/quantlib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8a4c25e9a7ca2099d8a528f7477a43fd60a271bb",
"version": "1.30",
"port-version": 0
},
{
"git-tree": "0b303bae8ef48f28c1cf4cf88b717756c1a20a1b",
"version": "1.29",
Expand Down

0 comments on commit c651988

Please sign in to comment.