Remove parquet for Windows -- we don't need it yet (#240)

This commit is contained in:
mehrdadn
2016-07-09 06:06:21 +03:00
committed by Robert Nishihara
parent e1a74eadbe
commit fc711abda0
2 changed files with 0 additions and 14 deletions
-2
View File
@@ -4,7 +4,6 @@
@If Not Exist "grpc\.git" git clone "https://github.com/grpc/grpc"
@If Not Exist "arrow\.git" git clone "https://github.com/pcmoritz/arrow.git" --branch windows_with_submodules --recursive
@If Not Exist "arrow\cpp\thirdparty\flatbuffers\.git" git clone "https://github.com/google/flatbuffers.git" "arrow/cpp/thirdparty/flatbuffers"
@If Not Exist "arrow\cpp\thirdparty\parquet\.git" git clone "https://github.com/apache/parquet-cpp.git" "arrow/cpp/thirdparty/parquet"
@If Not Exist "numbuf\.git" git clone "https://github.com/amplab/numbuf.git" --branch win
@If Not Exist "python\.git" git clone "https://github.com/austinsc/python.git"
git -C "grpc" submodule update --init "third_party/protobuf"
@@ -14,7 +13,6 @@
git -C "grpc" apply --index --3way "%~dp0patches/windows/grpc-projects.patch"
git -C "grpc/third_party/protobuf" apply --index --3way "%~dp0patches/windows/protobuf-projects.patch"
git -C "arrow/cpp/thirdparty/flatbuffers" apply --index --3way "%~dp0patches/windows/flatbuffers-projects.patch"
git -C "arrow/cpp/thirdparty/parquet" apply --index --3way "%~dp0patches/windows/parquet-endian.patch"
git -C "python" apply --index --3way "%~dp0patches/windows/python-pyconfig.patch"
@PopD
@EndLocal
-12
View File
@@ -1,12 +0,0 @@
diff --git a/src/endian.h b/src/endian.h
new file
index e69de29..4d9eb94
--- /dev/null
+++ b/src/endian.h
@@ -0,0 +1,6 @@
+#ifdef _MSC_VER
+#define __builtin_expect(x, z) (x)
+#define __builtin_bswap16(x) _byteswap_ushort(x)
+#define __builtin_bswap32(x) _byteswap_ulong(x)
+#define __builtin_bswap64(x) _byteswap_uint64(x)
+#endif