From 888ebcb293f4e263c755fa71393292e45de992f9 Mon Sep 17 00:00:00 2001 From: atkawa7 Date: Wed, 24 May 2017 16:28:23 -0700 Subject: Created Apache Arrow Control #978 --- ports/arrow/CONTROL | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ports/arrow/CONTROL diff --git a/ports/arrow/CONTROL b/ports/arrow/CONTROL new file mode 100644 index 000000000..2e0233bb6 --- /dev/null +++ b/ports/arrow/CONTROL @@ -0,0 +1,4 @@ +Source: arrow +Version: apache-arrow-0.4.0 +Build-Depends: boost +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. -- cgit v1.2.3 From 1bca466fcb223bcecd2ddd4c97a16a35a9cf0528 Mon Sep 17 00:00:00 2001 From: atkawa7 Date: Wed, 24 May 2017 16:30:01 -0700 Subject: Created Apache Arrow portfile #978 Note: this portfile only works 64 bit --- ports/arrow/portfile.cmake | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ports/arrow/portfile.cmake diff --git a/ports/arrow/portfile.cmake b/ports/arrow/portfile.cmake new file mode 100644 index 000000000..d82610e11 --- /dev/null +++ b/ports/arrow/portfile.cmake @@ -0,0 +1,25 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO apache/arrow + REF apache-arrow-0.4.0 + SHA512 cdd67a884528b088688d88c0627b9c13077215e234dd0772797f0bf63319ffc18533276d52110a37a0938d32f006023b74dce93e71d34b1e0003a86761cea6ee + HEAD_REF master +) + + +set(CPP_SOURCE_PATH "${SOURCE_PATH}/cpp") + +vcpkg_configure_cmake( + SOURCE_PATH ${CPP_SOURCE_PATH} + OPTIONS -DARROW_BUILD_TESTS=off +) + + +vcpkg_install_cmake() + + +file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/arrow RENAME copyright) + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) -- cgit v1.2.3 From d8149aae0838f70bcdb9e2b2f26469250d702789 Mon Sep 17 00:00:00 2001 From: atkawa7 Date: Wed, 24 May 2017 18:39:27 -0700 Subject: Apache Arrow only supports x64 --- ports/arrow/portfile.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/arrow/portfile.cmake b/ports/arrow/portfile.cmake index d82610e11..9bf6f999e 100644 --- a/ports/arrow/portfile.cmake +++ b/ports/arrow/portfile.cmake @@ -1,5 +1,9 @@ include(vcpkg_common_functions) +if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL "x64") + message(FATAL_ERROR "Apache Arrow only supports x64") +endif() + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO apache/arrow -- cgit v1.2.3