mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[quantlib] update to 1.24 (#21068)
* [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24
This commit is contained in:
parent
87c03082e5
commit
7d3aeba684
@ -1,13 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d046251cc..d8201bf6a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -44,8 +44,6 @@ if (Boost_FOUND)
|
||||
endif (Boost_FOUND)
|
||||
|
||||
add_subdirectory(ql)
|
||||
-add_subdirectory(Examples)
|
||||
-add_subdirectory(test-suite)
|
||||
|
||||
#
|
||||
# Copy across the ANSI config file into the build directory. Users
|
@ -1,15 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 62ab08a115..2b383c1dd5 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -2,6 +2,10 @@ cmake_minimum_required()
|
||||
|
||||
project(QuantLib)
|
||||
|
||||
+if(APPLE AND NOT CMAKE_CXX_STANDARD)
|
||||
+ set(CMAKE_CXX_STANDARD 11)
|
||||
+endif()
|
||||
+
|
||||
include(CTest)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/cmake/quantlib.cmake)
|
||||
|
@ -1,26 +1,23 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO lballabio/QuantLib
|
||||
REF QuantLib-v1.22
|
||||
SHA512 279c2e9273dd0fbc03d19ac19814e8a3b5544545cc1441982232f89bd313fe76b6e252dbcae8a3d146ecc4f1d1e64632ac412096b89da882ba879a66776fdb91
|
||||
REF QuantLib-v1.24
|
||||
SHA512 1a63d90363cda69e20e40a60a2d6357f632fac997df520b949e73feb256dac8a999395d0ebe94734ac630e9104e512b0a545f6a2111b287a41e9128127aa5bb0
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
disable-examples-tests.patch
|
||||
fix-mac-build.patch # fixed in next release
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" USE_BOOST_DYNAMIC_LIBRARIES)
|
||||
|
||||
set(QL_MSVC_RUNTIME ${VCPKG_LIBRARY_LINKAGE})
|
||||
|
||||
if (VCPKG_TARGET_IS_WINDOWS)
|
||||
# This can (and should) be removed if QuantLib ever supports dynamically linking on Windows
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DUSE_BOOST_DYNAMIC_LIBRARIES=${USE_BOOST_DYNAMIC_LIBRARIES}
|
||||
-DMSVC_RUNTIME=${QL_MSVC_RUNTIME}
|
||||
-DQL_BUILD_BENCHMARK=OFF
|
||||
-DQL_BUILD_EXAMPLES=OFF
|
||||
-DQL_BUILD_TEST_SUITE=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "quantlib",
|
||||
"version": "1.22",
|
||||
"version": "1.24",
|
||||
"description": "The QuantLib C++ library",
|
||||
"homepage": "https://www.quantlib.org/",
|
||||
"supports": "!(windows & !static)",
|
||||
"dependencies": [
|
||||
"boost-accumulators",
|
||||
"boost-algorithm",
|
||||
@ -30,6 +31,7 @@
|
||||
"boost-serialization",
|
||||
"boost-signals2",
|
||||
"boost-smart-ptr",
|
||||
"boost-test",
|
||||
"boost-thread",
|
||||
"boost-tuple",
|
||||
"boost-type-traits",
|
||||
|
@ -5777,7 +5777,7 @@
|
||||
"port-version": 1
|
||||
},
|
||||
"quantlib": {
|
||||
"baseline": "1.22",
|
||||
"baseline": "1.24",
|
||||
"port-version": 0
|
||||
},
|
||||
"quaternions": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d8519a43e706ff22152e65942f48e5abd75bb76f",
|
||||
"version": "1.24",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "b2d3e38a4ca6467154bf1a46fd2663d937c3858b",
|
||||
"version": "1.22",
|
||||
|
Loading…
x
Reference in New Issue
Block a user