From f2eea8f13a846184f56465945d204545597b3c2e Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Thu, 21 Feb 2019 13:46:01 -0600 Subject: Updating HPX to V1.2.1 (#5407) --- ports/hpx/CONTROL | 2 +- ports/hpx/boost-1.69.patch | 36 ------------------------------------ ports/hpx/portfile.cmake | 5 ++--- 3 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 ports/hpx/boost-1.69.patch diff --git a/ports/hpx/CONTROL b/ports/hpx/CONTROL index 5eb1595d2..e99f115ae 100644 --- a/ports/hpx/CONTROL +++ b/ports/hpx/CONTROL @@ -1,5 +1,5 @@ Source: hpx -Version: 1.2.0-1 +Version: 1.2.1-0 Build-Depends: hwloc, boost-accumulators, boost-algorithm, boost-asio, boost-assign, boost-atomic, boost-bimap, boost-chrono, boost-config, boost-context, boost-dynamic-bitset, boost-exception, boost-filesystem, boost-iostreams, boost-lockfree, boost-program-options, boost-range, boost-regex, boost-signals2, boost-smart-ptr, boost-spirit, boost-system, boost-throw-exception, boost-variant, boost-winapi Description: The C++ Standards Library for Concurrency and Parallelism HPX is a C++ Standards Library for Concurrency and Parallelism. It implements all of the corresponding facilities as defined by the C++ Standard. Additionally, in HPX we implement functionalities proposed as part of the ongoing C++ standardization process. We also extend the C++ Standard APIs to the distributed case. diff --git a/ports/hpx/boost-1.69.patch b/ports/hpx/boost-1.69.patch deleted file mode 100644 index f589ca795..000000000 --- a/ports/hpx/boost-1.69.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/hpx/exception.hpp b/hpx/exception.hpp -index 0c818088c7b..3eeaa579131 100644 ---- a/hpx/exception.hpp -+++ b/hpx/exception.hpp -@@ -50,6 +50,12 @@ namespace hpx - /// Construct a hpx::exception from a boost#system_error. - explicit exception(boost::system::system_error const& e); - -+ /// Construct a hpx::exception from a boost#system#error_code (this is -+ /// new for Boost V1.69). This constructor is required to compensate -+ /// for the changes introduced as a resolution to LWG3162 -+ /// (https://cplusplus.github.io/LWG/issue3162). -+ explicit exception(boost::system::error_code const& e); -+ - /// Construct a hpx::exception from a \a hpx::error and an error message. - /// - /// \param e The parameter \p e holds the hpx::error code the new -diff --git a/src/exception.cpp b/src/exception.cpp -index 52c1cceba6b..cb6535fd008 100644 ---- a/src/exception.cpp -+++ b/src/exception.cpp -@@ -89,6 +89,14 @@ namespace hpx - LERR_(error) << "created exception: " << this->what(); - } - -+ /// Construct a hpx::exception from a boost#system#error_code (this is -+ /// new for Boost V1.69). -+ exception::exception(boost::system::error_code const& e) -+ : boost::system::system_error(e) -+ { -+ LERR_(error) << "created exception: " << this->what(); -+ } -+ - /// Construct a hpx::exception from a \a hpx::error and an error message. - /// - /// \param e The parameter \p e holds the hpx::error code the new diff --git a/ports/hpx/portfile.cmake b/ports/hpx/portfile.cmake index d50b18af9..2955905ce 100644 --- a/ports/hpx/portfile.cmake +++ b/ports/hpx/portfile.cmake @@ -8,10 +8,9 @@ endif() vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO STEllAR-GROUP/hpx - REF 1.2.0 - SHA512 caf2650381856db6a96fd4b120975d94d68d9bb19ada1d6cd076abe2d4aa1418e410167f774a881d95eacd0d46bbd5f90f16a4c77b4a2cf00e5b24ea17bfe670 + REF 1.2.1 + SHA512 46e9e36cbd9bec935b2a1efce8167c641de88aca8e4dd9c2e3269a1d82ab2965812b5483b6dff4465634f454757b19ad4f73ddcc5ddd73d6efbf28d0819f7dc7 HEAD_REF master - PATCHES boost-1.69.patch ) vcpkg_configure_cmake( -- cgit v1.2.3