aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-05-28 04:37:16 -0700
committerGitHub <noreply@github.com>2017-05-28 04:37:16 -0700
commit292834ddf128280ca8a177585f7ef29994d1a8c3 (patch)
treeb77ea0c1a17b20a82df0801b5cdad21171dc2ff5
parent11d4a5c47edb75c8aaaa7d86bc2d351af8b32e28 (diff)
parentd8149aae0838f70bcdb9e2b2f26469250d702789 (diff)
downloadvcpkg-292834ddf128280ca8a177585f7ef29994d1a8c3.tar.gz
vcpkg-292834ddf128280ca8a177585f7ef29994d1a8c3.zip
Merge pull request #1165 from atkawa7/arrow
Arrow #978
-rw-r--r--ports/arrow/CONTROL4
-rw-r--r--ports/arrow/portfile.cmake29
2 files changed, 33 insertions, 0 deletions
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.
diff --git a/ports/arrow/portfile.cmake b/ports/arrow/portfile.cmake
new file mode 100644
index 000000000..9bf6f999e
--- /dev/null
+++ b/ports/arrow/portfile.cmake
@@ -0,0 +1,29 @@
+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
+ 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)