mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
commit
6c978f40bc
@ -1,6 +1,6 @@
|
|||||||
Source: arrow
|
Source: arrow
|
||||||
Version: 0.15.1
|
Version: 0.16.0
|
||||||
Build-Depends: boost-system, boost-filesystem, boost-multiprecision, boost-algorithm, flatbuffers, rapidjson, zlib, lz4, brotli, zstd, snappy, gflags, thrift, double-conversion, glog, uriparser
|
Build-Depends: boost-system, boost-filesystem, boost-multiprecision, boost-algorithm, flatbuffers, rapidjson, zlib, lz4, brotli, bzip2, zstd, snappy, gflags, thrift, double-conversion, glog, uriparser, openssl
|
||||||
Homepage: https://github.com/apache/arrow
|
Homepage: https://github.com/apache/arrow
|
||||||
Description: Apache Arrow is a columnar in-memory analytics layer designed to accelerate big data. It houses a set of canonical in-memory representations of flat and hierarchical data along with multiple language-bindings for structure manipulation. It also provides IPC and common algorithm implementations.
|
Description: Apache Arrow is a columnar in-memory analytics layer designed to accelerate big data. It houses a set of canonical in-memory representations of flat and hierarchical data along with multiple language-bindings for structure manipulation. It also provides IPC and common algorithm implementations.
|
||||||
Supports: x64
|
Supports: x64
|
@ -1,5 +1,5 @@
|
|||||||
diff --git a/cpp/cmake_modules/BuildUtils.cmake b/cpp/cmake_modules/BuildUtils.cmake
|
diff --git a/cpp/cmake_modules/BuildUtils.cmake b/cpp/cmake_modules/BuildUtils.cmake
|
||||||
index 4ef2948..9c3c121 100644
|
index f5f0ad7..3dca82e 100644
|
||||||
--- a/cpp/cmake_modules/BuildUtils.cmake
|
--- a/cpp/cmake_modules/BuildUtils.cmake
|
||||||
+++ b/cpp/cmake_modules/BuildUtils.cmake
|
+++ b/cpp/cmake_modules/BuildUtils.cmake
|
||||||
@@ -305,7 +305,7 @@ function(ADD_ARROW_LIB LIB_NAME)
|
@@ -305,7 +305,7 @@ function(ADD_ARROW_LIB LIB_NAME)
|
||||||
@ -53,7 +53,7 @@ index 8410916..a196b25 100644
|
|||||||
PATH_SUFFIXES ${LIB_PATH_SUFFIXES})
|
PATH_SUFFIXES ${LIB_PATH_SUFFIXES})
|
||||||
find_path(LZ4_INCLUDE_DIR NAMES lz4.h PATH_SUFFIXES ${INCLUDE_PATH_SUFFIXES})
|
find_path(LZ4_INCLUDE_DIR NAMES lz4.h PATH_SUFFIXES ${INCLUDE_PATH_SUFFIXES})
|
||||||
diff --git a/cpp/cmake_modules/FindThrift.cmake b/cpp/cmake_modules/FindThrift.cmake
|
diff --git a/cpp/cmake_modules/FindThrift.cmake b/cpp/cmake_modules/FindThrift.cmake
|
||||||
index 87cc24e..4de0760 100644
|
index f9d6296..82b8d22 100644
|
||||||
--- a/cpp/cmake_modules/FindThrift.cmake
|
--- a/cpp/cmake_modules/FindThrift.cmake
|
||||||
+++ b/cpp/cmake_modules/FindThrift.cmake
|
+++ b/cpp/cmake_modules/FindThrift.cmake
|
||||||
@@ -54,6 +54,10 @@ if(MSVC AND NOT THRIFT_MSVC_STATIC_LIB_SUFFIX)
|
@@ -54,6 +54,10 @@ if(MSVC AND NOT THRIFT_MSVC_STATIC_LIB_SUFFIX)
|
||||||
@ -67,7 +67,7 @@ index 87cc24e..4de0760 100644
|
|||||||
if(Thrift_ROOT)
|
if(Thrift_ROOT)
|
||||||
find_library(THRIFT_STATIC_LIB thrift${THRIFT_MSVC_STATIC_LIB_SUFFIX}
|
find_library(THRIFT_STATIC_LIB thrift${THRIFT_MSVC_STATIC_LIB_SUFFIX}
|
||||||
PATHS ${Thrift_ROOT}
|
PATHS ${Thrift_ROOT}
|
||||||
@@ -71,15 +75,13 @@ else()
|
@@ -74,16 +78,14 @@ else()
|
||||||
|
|
||||||
list(APPEND THRIFT_PC_LIBRARY_DIRS "${THRIFT_PC_LIBDIR}")
|
list(APPEND THRIFT_PC_LIBRARY_DIRS "${THRIFT_PC_LIBDIR}")
|
||||||
|
|
||||||
@ -80,6 +80,7 @@ index 87cc24e..4de0760 100644
|
|||||||
HINTS ${THRIFT_PC_PREFIX}
|
HINTS ${THRIFT_PC_PREFIX}
|
||||||
- NO_DEFAULT_PATH
|
- NO_DEFAULT_PATH
|
||||||
PATH_SUFFIXES "bin")
|
PATH_SUFFIXES "bin")
|
||||||
|
set(THRIFT_VERSION ${THRIFT_PC_VERSION})
|
||||||
else()
|
else()
|
||||||
- find_library(THRIFT_STATIC_LIB thrift${THRIFT_MSVC_STATIC_LIB_SUFFIX}
|
- find_library(THRIFT_STATIC_LIB thrift${THRIFT_MSVC_STATIC_LIB_SUFFIX}
|
||||||
+ find_library(THRIFT_STATIC_LIB thrift${THRIFT_MSVC_STATIC_LIB_SUFFIX}${THRIFT_LIB_NAME_DEBUG_SUFFIX}
|
+ find_library(THRIFT_STATIC_LIB thrift${THRIFT_MSVC_STATIC_LIB_SUFFIX}${THRIFT_LIB_NAME_DEBUG_SUFFIX}
|
||||||
@ -128,3 +129,49 @@ index 8e47086..d7ce559 100644
|
|||||||
"${CMAKE_SHARED_LIBRARY_PREFIX}zstd${CMAKE_SHARED_LIBRARY_SUFFIX}"
|
"${CMAKE_SHARED_LIBRARY_PREFIX}zstd${CMAKE_SHARED_LIBRARY_SUFFIX}"
|
||||||
PATH_SUFFIXES ${LIB_PATH_SUFFIXES})
|
PATH_SUFFIXES ${LIB_PATH_SUFFIXES})
|
||||||
find_path(ZSTD_INCLUDE_DIR NAMES zstd.h PATH_SUFFIXES ${INCLUDE_PATH_SUFFIXES})
|
find_path(ZSTD_INCLUDE_DIR NAMES zstd.h PATH_SUFFIXES ${INCLUDE_PATH_SUFFIXES})
|
||||||
|
diff --git a/cpp/cmake_modules/SetupCxxFlags.cmake b/cpp/cmake_modules/SetupCxxFlags.cmake
|
||||||
|
index 75b33c2..80cac9a 100644
|
||||||
|
--- a/cpp/cmake_modules/SetupCxxFlags.cmake
|
||||||
|
+++ b/cpp/cmake_modules/SetupCxxFlags.cmake
|
||||||
|
@@ -128,7 +128,9 @@ macro(arrow_add_werror_if_debug)
|
||||||
|
if("${CMAKE_BUILD_TYPE}" STREQUAL "DEBUG")
|
||||||
|
# Treat all compiler warnings as errors
|
||||||
|
if(MSVC)
|
||||||
|
- set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /WX")
|
||||||
|
+ if(MSVC_VERSION VERSION_LESS 1900)
|
||||||
|
+ set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /WX")
|
||||||
|
+ endif()
|
||||||
|
else()
|
||||||
|
set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Werror")
|
||||||
|
endif()
|
||||||
|
diff --git a/cpp/src/arrow/stl.h b/cpp/src/arrow/stl.h
|
||||||
|
index 7ae9eaf..b9efdcb 100644
|
||||||
|
--- a/cpp/src/arrow/stl.h
|
||||||
|
+++ b/cpp/src/arrow/stl.h
|
||||||
|
@@ -518,6 +518,9 @@ class allocator {
|
||||||
|
|
||||||
|
private:
|
||||||
|
MemoryPool* pool_;
|
||||||
|
+
|
||||||
|
+ template <class U>
|
||||||
|
+ friend class allocator;
|
||||||
|
};
|
||||||
|
|
||||||
|
/// \brief A MemoryPool implementation delegating allocations to a STL allocator
|
||||||
|
diff --git a/cpp/src/parquet/schema.h b/cpp/src/parquet/schema.h
|
||||||
|
index 87db4de..095ef9a 100644
|
||||||
|
--- a/cpp/src/parquet/schema.h
|
||||||
|
+++ b/cpp/src/parquet/schema.h
|
||||||
|
@@ -460,7 +460,11 @@ class PARQUET_EXPORT SchemaDescriptor {
|
||||||
|
// -- -- b |
|
||||||
|
// -- -- -- c |
|
||||||
|
// -- -- -- -- d
|
||||||
|
- std::unordered_map<int, const schema::NodePtr> leaf_to_base_;
|
||||||
|
+#if _MSC_VER >= 1900
|
||||||
|
+ std::unordered_map<int, schema::NodePtr> leaf_to_base_;
|
||||||
|
+#else
|
||||||
|
+ std::unordered_map<int, const schema::NodePtr> leaf_to_base_;
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
// Mapping between ColumnPath DotString to the leaf index
|
||||||
|
std::unordered_multimap<std::string, int> leaf_to_idx_;
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
diff --git a/cpp/cmake_modules/SetupCxxFlags.cmake b/cpp/cmake_modules/SetupCxxFlags.cmake
|
|
||||||
index 496904b..887f9c4 100644
|
|
||||||
--- a/cpp/cmake_modules/SetupCxxFlags.cmake
|
|
||||||
+++ b/cpp/cmake_modules/SetupCxxFlags.cmake
|
|
||||||
@@ -124,7 +124,9 @@ macro(arrow_add_werror_if_debug)
|
|
||||||
if("${CMAKE_BUILD_TYPE}" STREQUAL "DEBUG")
|
|
||||||
# Treat all compiler warnings as errors
|
|
||||||
if("${COMPILER_FAMILY}" STREQUAL "msvc")
|
|
||||||
- set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /WX")
|
|
||||||
+ if (MSVC_VERSION VERSION_LESS 1900)
|
|
||||||
+ set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /WX")
|
|
||||||
+ endif()
|
|
||||||
else()
|
|
||||||
set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Werror")
|
|
||||||
endif()
|
|
||||||
diff --git a/cpp/src/parquet/schema.h b/cpp/src/parquet/schema.h
|
|
||||||
index 740edbc..1526c73 100644
|
|
||||||
--- a/cpp/src/parquet/schema.h
|
|
||||||
+++ b/cpp/src/parquet/schema.h
|
|
||||||
@@ -457,7 +457,11 @@ class PARQUET_EXPORT SchemaDescriptor {
|
|
||||||
// -- -- b |
|
|
||||||
// -- -- -- c |
|
|
||||||
// -- -- -- -- d
|
|
||||||
+#if _MSC_VER >= 1900
|
|
||||||
+ std::unordered_map<int, schema::NodePtr> leaf_to_base_;
|
|
||||||
+#else
|
|
||||||
std::unordered_map<int, const schema::NodePtr> leaf_to_base_;
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
// Mapping between ColumnPath DotString to the leaf index
|
|
||||||
std::unordered_multimap<std::string, int> leaf_to_idx_;
|
|
@ -7,12 +7,11 @@ endif()
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO apache/arrow
|
REPO apache/arrow
|
||||||
REF apache-arrow-0.15.1
|
REF apache-arrow-0.16.0
|
||||||
SHA512 f371c687ad8f944c3552f2111ee3c721b89fd0cea01c4ab64c22322fe1ad96f6feff851b6f5505d8522ff4a28e59f6cafa6ce1ee0bc291d83338e4297150dc9e
|
SHA512 c8d693e927218c65526b48f18c4f00f9530d1a8731575b051b017a5350e68114c16dcd41ff578b4c0cc29cc79096621809658b8eac250934ecf0fcaabadf2cf6
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
PATCHES
|
||||||
all.patch
|
all.patch
|
||||||
fix-msvc-1900.patch
|
|
||||||
)
|
)
|
||||||
|
|
||||||
string(COMPARE EQUAL ${VCPKG_LIBRARY_LINKAGE} "dynamic" ARROW_BUILD_SHARED)
|
string(COMPARE EQUAL ${VCPKG_LIBRARY_LINKAGE} "dynamic" ARROW_BUILD_SHARED)
|
||||||
@ -31,6 +30,13 @@ vcpkg_configure_cmake(
|
|||||||
-DARROW_GFLAGS_USE_SHARED=off
|
-DARROW_GFLAGS_USE_SHARED=off
|
||||||
-DARROW_JEMALLOC=off
|
-DARROW_JEMALLOC=off
|
||||||
-DARROW_BUILD_UTILITIES=OFF
|
-DARROW_BUILD_UTILITIES=OFF
|
||||||
|
-DARROW_WITH_BZ2=ON
|
||||||
|
-DARROW_WITH_ZLIB=ON
|
||||||
|
-DARROW_WITH_ZSTD=ON
|
||||||
|
-DARROW_WITH_LZ4=ON
|
||||||
|
-DARROW_WITH_SNAPPY=ON
|
||||||
|
-DARROW_WITH_BROTLI=ON
|
||||||
|
-DPARQUET_REQUIRE_ENCRYPTION=ON
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
@ -49,4 +55,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake)
|
|||||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/arrow RENAME copyright)
|
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/arrow RENAME copyright)
|
||||||
|
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user