http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/GNUmakefile.in ---------------------------------------------------------------------- diff --git a/GNUmakefile.in b/GNUmakefile.in index fd97f4f..6a7ca9b 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -11,7 +11,6 @@ include $(top_builddir)/src/Makefile.global all: # $(MAKE) -C doc $@ $(MAKE) -C depends/thirdparty/googletest $@ - $(MAKE) -C depends/thirdparty/thrift/hawqbuild $@ $(MAKE) -C depends/libhdfs3 $@ $(MAKE) -C depends/libyarn $@ $(MAKE) -C src $@ @@ -23,7 +22,6 @@ all: install: # $(MAKE) -C doc $@ $(MAKE) -C depends/thirdparty/googletest $@ - $(MAKE) -C depends/thirdparty/thrift/hawqbuild $@ $(MAKE) -C depends/libhdfs3 $@ $(MAKE) -C depends/libyarn $@ $(MAKE) -C src $@ @@ -56,7 +54,6 @@ clean: # $(MAKE) -C doc $@ $(MAKE) -C contrib $@ -$(MAKE) -C depends/thirdparty/googletest $@ - -$(MAKE) -C depends/thirdparty/thrift/hawqbuild $@ -$(MAKE) -C depends/libhdfs3 $@ -$(MAKE) -C depends/libyarn $@ $(MAKE) -C src $@ @@ -73,7 +70,6 @@ distclean maintainer-clean: # -$(MAKE) -C doc $@ -$(MAKE) -C contrib $@ -$(MAKE) -C depends/thirdparty/googletest $@ - -$(MAKE) -C depends/thirdparty/thrift/hawqbuild $@ -$(MAKE) -C depends/libhdfs3 $@ -$(MAKE) -C depends/libyarn $@ -$(MAKE) -C config $@
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/configure ---------------------------------------------------------------------- diff --git a/configure b/configure index 22401df..63da7fc 100755 --- a/configure +++ b/configure @@ -720,7 +720,6 @@ with_zlib with_system_tzdata with_libhdfs3 with_libyarn -with_thrift with_openssl with_bonjour with_ldap @@ -864,7 +863,6 @@ with_ldap with_bonjour with_openssl with_readline -with_thrift with_libyarn with_libhdfs3 with_libedit_preferred @@ -1555,7 +1553,6 @@ Optional Packages: --with-bonjour build with Bonjour support --with-openssl build with OpenSSL support --without-readline do not use GNU Readline nor BSD Libedit for editing - --with-thrift build thrift --without-libyarn do not build libyarn --without-libhdfs3 do not build libhdfs3 --without-libedit-preferred Don't prefer BSD Libedit over GNU Readline @@ -6104,36 +6101,6 @@ $as_echo "$as_me: WARNING: *** Readline does not work on MinGW --- disabling" >& fi # -# thrift -# - -pgac_args="$pgac_args with_thrift" - - -# Check whether --with-thrift was given. -if test "${with_thrift+set}" = set; then : - withval=$with_thrift; - case $withval in - yes) - : - ;; - no) - : - ;; - *) - as_fn_error $? "no argument expected for --with-thrift option" "$LINENO" 5 - ;; - esac - -else - with_thrift=no - -fi - - - - -# # libyarn # @@ -9996,9 +9963,6 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # Check for thrift -#AC_CHECK_HEADERS(thrift/protocol/TBinaryProtocol.h, [], [AC_MSG_ERROR([thrift is required])]) - -# Check for boost ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -10391,6 +10355,22 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +for ac_header in thrift/protocol/TBinaryProtocol.h +do : + ac_fn_cxx_check_header_mongrel "$LINENO" "thrift/protocol/TBinaryProtocol.h" "ac_cv_header_thrift_protocol_TBinaryProtocol_h" "$ac_includes_default" +if test "x$ac_cv_header_thrift_protocol_TBinaryProtocol_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_THRIFT_PROTOCOL_TBINARYPROTOCOL_H 1 +_ACEOF + +else + as_fn_error $? "thrift is required" "$LINENO" 5 +fi + +done + + +# Check for boost for ac_header in boost/chrono.hpp do : ac_fn_cxx_check_header_mongrel "$LINENO" "boost/chrono.hpp" "ac_cv_header_boost_chrono_hpp" "$ac_includes_default" @@ -16544,7 +16524,7 @@ $as_echo "done" >&6; } fi -ac_config_files="$ac_config_files GNUmakefile src/VERSIONS.mk depends/thirdparty/googletest/Makefile.global depends/thirdparty/thrift/hawqbuild/Makefile.global depends/libhdfs3/Makefile.global depends/libyarn/Makefile.global src/Makefile.global src/pl/pljava/src/java/Makefile.global" +ac_config_files="$ac_config_files GNUmakefile src/VERSIONS.mk depends/thirdparty/googletest/Makefile.global depends/libhdfs3/Makefile.global depends/libyarn/Makefile.global src/Makefile.global src/pl/pljava/src/java/Makefile.global" ac_config_links="$ac_config_links src/backend/port/dynloader.c:src/backend/port/dynloader/${template}.c src/backend/port/pg_sema.c:${SEMA_IMPLEMENTATION} src/backend/port/pg_shmem.c:${SHMEM_IMPLEMENTATION} src/include/dynloader.h:src/backend/port/dynloader/${template}.h src/include/pg_config_os.h:src/include/port/${template}.h src/Makefile.port:src/makefiles/Makefile.${template}" @@ -17265,7 +17245,6 @@ do "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;; "src/VERSIONS.mk") CONFIG_FILES="$CONFIG_FILES src/VERSIONS.mk" ;; "depends/thirdparty/googletest/Makefile.global") CONFIG_FILES="$CONFIG_FILES depends/thirdparty/googletest/Makefile.global" ;; - "depends/thirdparty/thrift/hawqbuild/Makefile.global") CONFIG_FILES="$CONFIG_FILES depends/thirdparty/thrift/hawqbuild/Makefile.global" ;; "depends/libhdfs3/Makefile.global") CONFIG_FILES="$CONFIG_FILES depends/libhdfs3/Makefile.global" ;; "depends/libyarn/Makefile.global") CONFIG_FILES="$CONFIG_FILES depends/libyarn/Makefile.global" ;; "src/Makefile.global") CONFIG_FILES="$CONFIG_FILES src/Makefile.global" ;; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/configure.in ---------------------------------------------------------------------- diff --git a/configure.in b/configure.in index 12cd3b8..92cdf4f 100644 --- a/configure.in +++ b/configure.in @@ -812,13 +812,6 @@ if test "$PORTNAME" = "win32"; then fi # -# thrift -# -PGAC_ARG_BOOL(with, thrift, no, - [ --with-thrift build thrift]) -AC_SUBST(with_thrift) - -# # libyarn # PGAC_ARG_BOOL(with, libyarn, yes, @@ -1179,7 +1172,7 @@ It is possible the compiler isn't looking in the proper directory.])]) AC_LANG_PUSH([C++]) # Check for thrift -#AC_CHECK_HEADERS(thrift/protocol/TBinaryProtocol.h, [], [AC_MSG_ERROR([thrift is required])]) +AC_CHECK_HEADERS(thrift/protocol/TBinaryProtocol.h, [], [AC_MSG_ERROR([thrift is required])]) # Check for boost AC_CHECK_HEADERS(boost/chrono.hpp, [], [AC_MSG_ERROR([boost is required. @@ -2138,7 +2131,7 @@ else fi AC_SUBST(vpath_build) -AC_CONFIG_FILES([GNUmakefile src/VERSIONS.mk depends/thirdparty/googletest/Makefile.global depends/thirdparty/thrift/hawqbuild/Makefile.global depends/libhdfs3/Makefile.global depends/libyarn/Makefile.global src/Makefile.global src/pl/pljava/src/java/Makefile.global]) +AC_CONFIG_FILES([GNUmakefile src/VERSIONS.mk depends/thirdparty/googletest/Makefile.global depends/libhdfs3/Makefile.global depends/libyarn/Makefile.global src/Makefile.global src/pl/pljava/src/java/Makefile.global]) AC_CONFIG_LINKS([ src/backend/port/dynloader.c:src/backend/port/dynloader/${template}.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/README ---------------------------------------------------------------------- diff --git a/depends/thirdparty/README b/depends/thirdparty/README index bbbfc60..141a4ef 100644 --- a/depends/thirdparty/README +++ b/depends/thirdparty/README @@ -1,6 +1,3 @@ -thrift(with version 0.9.3): - https://github.com/apache/thrift/archive/0.9.3.tar.gz - Please do not create following directories yourselves: gporca, gp-xerces, gpos, postgres since they are auto-created and used when building some related features, i.e. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/.clang-format ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/.clang-format b/depends/thirdparty/thrift/.clang-format deleted file mode 100644 index a62eef8..0000000 --- a/depends/thirdparty/thrift/.clang-format +++ /dev/null @@ -1,56 +0,0 @@ ---- -Language: Cpp -# BasedOnStyle: LLVM -AccessModifierOffset: -2 -ConstructorInitializerIndentWidth: 2 -AlignEscapedNewlinesLeft: false -AlignTrailingComments: true -AllowAllParametersOfDeclarationOnNextLine: false -AllowShortBlocksOnASingleLine: false -AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: false -AllowShortFunctionsOnASingleLine: Inline -AlwaysBreakTemplateDeclarations: true -AlwaysBreakBeforeMultilineStrings: true -BreakBeforeBinaryOperators: true -BreakBeforeTernaryOperators: true -BreakConstructorInitializersBeforeComma: false -BinPackParameters: false -ColumnLimit: 100 -ConstructorInitializerAllOnOneLineOrOnePerLine: true -DerivePointerAlignment: false -IndentCaseLabels: false -IndentWrappedFunctionNames: false -IndentFunctionDeclarationAfterType: false -MaxEmptyLinesToKeep: 1 -KeepEmptyLinesAtTheStartOfBlocks: true -NamespaceIndentation: None -ObjCSpaceAfterProperty: false -ObjCSpaceBeforeProtocolList: true -PenaltyBreakBeforeFirstCallParameter: 190 -PenaltyBreakComment: 300 -PenaltyBreakString: 10000 -PenaltyBreakFirstLessLess: 120 -PenaltyExcessCharacter: 1000000 -PenaltyReturnTypeOnItsOwnLine: 1200 -PointerAlignment: Left -SpacesBeforeTrailingComments: 1 -Cpp11BracedListStyle: true -Standard: Auto -IndentWidth: 2 -TabWidth: 4 -UseTab: Never -BreakBeforeBraces: Attach -SpacesInParentheses: false -SpacesInAngles: false -SpaceInEmptyParentheses: false -SpacesInCStyleCastParentheses: false -SpacesInContainerLiterals: true -SpaceBeforeAssignmentOperators: true -ContinuationIndentWidth: 4 -CommentPragmas: '^ IWYU pragma:' -ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] -SpaceBeforeParens: ControlStatements -DisableFormat: false -... - http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/.editorconfig ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/.editorconfig b/depends/thirdparty/thrift/.editorconfig deleted file mode 100755 index 3611762..0000000 --- a/depends/thirdparty/thrift/.editorconfig +++ /dev/null @@ -1,112 +0,0 @@ -# -## Licensed to the Apache Software Foundation (ASF) under one -## or more contributor license agreements. See the NOTICE file -## distributed with this work for additional information -## regarding copyright ownership. The ASF licenses this file -## to you under the Apache License, Version 2.0 (the -## "License"); you may not use this file except in compliance -## with the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, -## software distributed under the License is distributed on an -## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -## KIND, either express or implied. See the License for the -## specific language governing permissions and limitations -## under the License. -## -# - -# EditorConfig: http://editorconfig.org -# see doc/coding_standards.md - -root = true - -[*] -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -# ActionScript -# [*.as] - -# C -# [*.c] - -# C++ -[*.cpp] -indent_style = space -indent_size = 2 - -# C-Sharp -# [*.cs] - -# D -# [*.d] - -# Erlang -# [*.erl] - -# Go-lang -[*.go] -indent_style = tab -indent_size = 8 - -# C header files -# [*.h] - -# Haskell -# [*.hs] - -# Haxe -# [*.hx] - -# Java -# [*.java] - -# Javascript -[*.js] -indent_style = space -indent_size = 2 - -# JSON -[*.json] -indent_style = space -indent_size = 2 - -# Lua -# [*.lua] - -[*.markdown] -indent_style = space -trim_trailing_whitespace = false - -[*.md] -indent_style = space -trim_trailing_whitespace = false - -# OCaml -# [*.ml] - -# Delphi Pascal -# [*.pas] - -# PHP -# [*.php] - -# Perl -# [*.pm] - -# Python -# [*.py] - -# Ruby -# [*.rb] - -# Typescript -# [*.ts] - -# XML -# [*.xml] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/.gitattributes ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/.gitattributes b/depends/thirdparty/thrift/.gitattributes deleted file mode 100644 index 176a458..0000000 --- a/depends/thirdparty/thrift/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text=auto http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/.gitignore ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/.gitignore b/depends/thirdparty/thrift/.gitignore deleted file mode 100644 index 91ee32d..0000000 --- a/depends/thirdparty/thrift/.gitignore +++ /dev/null @@ -1,280 +0,0 @@ -# generic ignores -*.la -*.lo -*.o -*.deps -*.dirstamp -*.libs -*.log -*.trs -*.suo -*.pyc -*.cache -*.user -*.ipch -*.sdf -*.jar -*.exe -*.dll -*_ReSharper* -*.opensdf -*.swp -*.hi -*~ - -.*project -junit*.properties -.idea -gen-* -Makefile -Makefile.in -aclocal.m4 -acinclude.m4 -autom4te.cache -cmake-* -node_modules -compile -test-driver - -.sonar -.DS_Store -.svn -.vagrant - -/contrib/.vagrant/ -/aclocal/libtool.m4 -/aclocal/lt*.m4 -/autoscan.log -/autoscan-*.log -/compiler/cpp/Debug -/compiler/cpp/Release -/compiler/cpp/libparse.a -/compiler/cpp/src/thriftl.cc -/compiler/cpp/src/thrifty.cc -/compiler/cpp/src/thrifty.hh -/compiler/cpp/src/windows/version.h -/compiler/cpp/thrift -/compiler/cpp/thriftl.cc -/compiler/cpp/thrifty.cc -/compiler/cpp/lex.yythriftl.cc -/compiler/cpp/thrifty.h -/compiler/cpp/thrifty.hh -/compiler/cpp/version.h -/config.* -/configure -/configure.lineno -/configure.scan -/contrib/fb303/config.cache -/contrib/fb303/config.log -/contrib/fb303/config.status -/contrib/fb303/configure -/contrib/fb303/cpp/libfb303.a -/contrib/fb303/java/build/ -/contrib/fb303/py/build/ -/contrib/fb303/py/fb303/FacebookService-remote -/contrib/fb303/py/fb303/FacebookService.py -/contrib/fb303/py/fb303/__init__.py -/contrib/fb303/py/fb303/constants.py -/contrib/fb303/py/fb303/ttypes.py -/depcomp -/install-sh -/lib/cpp/Debug/ -/lib/cpp/Debug-mt/ -/lib/cpp/Release/ -/lib/cpp/Release-mt/ -/lib/cpp/src/thrift/qt/moc_TQTcpServer.cpp -/lib/cpp/src/thrift/qt/moc__TQTcpServer.cpp -/lib/cpp/src/thrift/config.h -/lib/cpp/src/thrift/stamp-h2 -/lib/cpp/test/Benchmark -/lib/cpp/test/AllProtocolsTest -/lib/cpp/test/DebugProtoTest -/lib/cpp/test/DenseProtoTest -/lib/cpp/test/EnumTest -/lib/cpp/test/JSONProtoTest -/lib/cpp/test/OptionalRequiredTest -/lib/cpp/test/SecurityTest -/lib/cpp/test/SpecializationTest -/lib/cpp/test/ReflectionTest -/lib/cpp/test/RecursiveTest -/lib/cpp/test/TFDTransportTest -/lib/cpp/test/TFileTransportTest -/lib/cpp/test/TInterruptTest -/lib/cpp/test/TNonblockingServerTest -/lib/cpp/test/TPipedTransportTest -/lib/cpp/test/TServerIntegrationTest -/lib/cpp/test/TSocketInterruptTest -/lib/cpp/test/TransportTest -/lib/cpp/test/UnitTests -/lib/cpp/test/ZlibTest -/lib/cpp/test/OpenSSLManualInitTest -/lib/cpp/test/concurrency_test -/lib/cpp/test/link_test -/lib/cpp/test/processor_test -/lib/cpp/test/tests.xml -/lib/cpp/concurrency_test -/lib/cpp/*.pc -/lib/cpp/x64/Debug/ -/lib/cpp/x64/Debug-mt/ -/lib/cpp/x64/Release -/lib/cpp/x64/Release-mt -/lib/c_glib/*.gcda -/lib/c_glib/*.gcno -/lib/c_glib/*.loT -/lib/c_glib/test/*.gcno -/lib/c_glib/test/testwrapper.sh -/lib/c_glib/test/testwrapper-test* -/lib/c_glib/test/testapplicationexception -/lib/c_glib/test/testbinaryprotocol -/lib/c_glib/test/testbufferedtransport -/lib/c_glib/test/testcontainertest -/lib/c_glib/test/testdebugproto -/lib/c_glib/test/testframedtransport -/lib/c_glib/test/testmemorybuffer -/lib/c_glib/test/testoptionalrequired -/lib/c_glib/test/testsimpleserver -/lib/c_glib/test/teststruct -/lib/c_glib/test/testthrifttest -/lib/c_glib/test/testthrifttestclient -/lib/c_glib/test/testtransportsocket -/lib/c_glib/thriftc.pc -/lib/c_glib/thrift_c_glib.pc -/lib/csharp/**/bin/ -/lib/csharp/**/obj/ -/lib/d/libthriftd.a -/lib/d/test/serialization_benchmark -/lib/d/test/transport_test -/lib/d/unittest/ -/lib/delphi/src/*.dcu -/lib/delphi/test/*.identcache -/lib/delphi/test/*.local -/lib/delphi/test/*.dcu -/lib/delphi/test/*.2007 -/lib/delphi/test/*.dproj -/lib/delphi/test/*.dproj -/lib/delphi/test/codegen/*.bat -/lib/delphi/test/skip/*.local -/lib/delphi/test/skip/*.identcache -/lib/delphi/test/skip/*.identcache -/lib/delphi/test/skip/*.dproj -/lib/delphi/test/skip/*.dproj -/lib/delphi/test/skip/*.2007 -/lib/delphi/test/serializer/*.identcache -/lib/delphi/test/serializer/*.dproj -/lib/delphi/test/serializer/*.local -/lib/delphi/test/serializer/*.2007 -/lib/delphi/test/serializer/*.dcu -/lib/delphi/test/multiplexed/*.dproj -/lib/delphi/test/multiplexed/*.2007 -/lib/delphi/test/multiplexed/*.local -/lib/delphi/test/multiplexed/*.identcache -/lib/delphi/test/multiplexed/*.dcu -/lib/delphi/test/typeregistry/*.2007 -/lib/delphi/test/typeregistry/*.dproj -/lib/delphi/test/typeregistry/*.identcache -/lib/delphi/test/typeregistry/*.local -/lib/delphi/test/typeregistry/*.dcu -/lib/erl/.generated -/lib/erl/.eunit -/lib/erl/ebin -/lib/erl/deps/ -/lib/haxe/test/bin -/lib/hs/dist -/lib/java/build -/lib/js/test/build -/lib/nodejs/coverage -/lib/nodejs/node_modules/ -/lib/perl/MANIFEST -/lib/perl/MYMETA.json -/lib/perl/MYMETA.yml -/lib/perl/Makefile-perl.mk -/lib/perl/blib -/lib/perl/pm_to_blib -/lib/py/build -/lib/py/thrift.egg-info/ -/lib/rb/Gemfile.lock -/lib/rb/debug_proto_test -/lib/rb/.config -/lib/rb/ext/conftest.dSYM/ -/lib/rb/ext/mkmf.log -/lib/rb/ext/thrift_native.bundle -/lib/rb/ext/thrift_native.so -/lib/rb/test/ -/lib/rb/thrift-*.gem -/lib/php/src/ext/thrift_protocol/Makefile.* -/lib/php/src/ext/thrift_protocol/build/ -/lib/php/src/ext/thrift_protocol/config.* -/lib/php/src/ext/thrift_protocol/configure -/lib/php/src/ext/thrift_protocol/configure.in -/lib/php/src/ext/thrift_protocol/install-sh -/lib/php/src/ext/thrift_protocol/libtool -/lib/php/src/ext/thrift_protocol/ltmain.sh -/lib/php/src/ext/thrift_protocol/missing -/lib/php/src/ext/thrift_protocol/mkinstalldirs -/lib/php/src/ext/thrift_protocol/modules/ -/lib/php/src/ext/thrift_protocol/php_thrift_protocol.lo -/lib/php/src/ext/thrift_protocol/run-tests.php -/lib/php/src/ext/thrift_protocol/thrift_protocol.la -/lib/php/src/ext/thrift_protocol/tmp-php.ini -/lib/php/src/packages/ -/lib/php/test/TEST-*.xml -/lib/php/test/packages/ -/lib/py/dist/ -/lib/erl/logs/ -/lib/go/test/gopath/ -/lib/go/test/ThriftTest.thrift -/libtool -/ltmain.sh -/missing -/node_modules/ -/stamp-h1 -/test/results.json -/test/c_glib/test_client -/test/c_glib/test_server -/test/cpp/StressTest -/test/cpp/StressTestNonBlocking -/test/cpp/TestClient -/test/cpp/TestServer -/test/log/ -/test/test.log -/test/erl/.eunit/ -/test/erl/.generated -/test/go/bin/ -/test/go/ThriftTest.thrift -/test/go/gopath -/test/go/pkg/ -/test/go/src/code.google.com/ -/test/go/src/github.com/golang/ -/test/go/src/gen/ -/test/go/src/thrift -/test/haxe/bin -/test/hs/TestClient -/test/hs/TestServer -/test/py.twisted/_trial_temp/ -/test/rb/Gemfile.lock -/tutorial/cpp/TutorialClient -/tutorial/cpp/TutorialServer -/tutorial/c_glib/tutorial_client -/tutorial/c_glib/tutorial_server -/tutorial/delphi/*.dsk -/tutorial/delphi/*.local -/tutorial/delphi/*.tvsconfig -/tutorial/delphi/DelphiClient/dcu -/tutorial/delphi/DelphiServer/dcu -/tutorial/delphi/DelphiClient/*.local -/tutorial/delphi/DelphiClient/*.identcache -/tutorial/delphi/DelphiServer/*.identcache -/tutorial/delphi/DelphiServer/*.local -/tutorial/go/go-tutorial -/tutorial/go/calculator-remote -/tutorial/go/src/shared -/tutorial/go/src/tutorial -/tutorial/go/src/git.apache.org -/tutorial/haxe/bin -/tutorial/hs/dist/ -/tutorial/java/build/ -/tutorial/js/build/ -/ylwrap -/hawqbuild/Makefile.global - -/cmake_* http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/72ea8afd/depends/thirdparty/thrift/.travis.yml ---------------------------------------------------------------------- diff --git a/depends/thirdparty/thrift/.travis.yml b/depends/thirdparty/thrift/.travis.yml deleted file mode 100644 index 587d795..0000000 --- a/depends/thirdparty/thrift/.travis.yml +++ /dev/null @@ -1,188 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# build Apache Thrift on Travis CI - https://travis-ci.org/ - -language: cpp - -sudo: required - -cache: - - apt - - npm - - maven - -compiler: - - clang - - gcc - -before_install: - - sh build/travis/installCXXDependencies.sh - - if [ "$ALL_DEPS" != "no" ] ; then sh build/travis/installDependencies.sh 1> /dev/null ; fi - - if [ "$ALL_DEPS" != "no" ] ; then export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/1.20/bin:$PATH ; fi - - if [ "$ALL_DEPS" != "no" ] ; then cabal update ; fi - # Disabling any cabal concurrent jobs to workaround GHC crashes due to out of memory. - # We can safely remove this to speed up cabal install, once Travis infrastructure is upgraded. - - if [ "$ALL_DEPS" != "no" ] ; then sed -i 's/^\s*jobs\s*:\s*\$ncpus\s*$/jobs:1/g' $HOME/.cabal/config && cat $HOME/.cabal/config | grep jobs ; fi - - -script: - - if [ "x$CMAKE_CONFIG" != "xnone" ] ; then mkdir cmake_build && cd cmake_build && cmake -GNinja -DQT_MOC_EXECUTABLE="moq-qt5" $CMAKE_CONFIG $TRAVIS_BUILD_DIR ; fi - - if [ "x$CMAKE_CONFIG" != "xnone" ] ; then ninja ; fi - - if [ "x$CMAKE_CONFIG" != "xnone" ] ; then cpack ; cd $TRAVIS_BUILD_DIR ; fi - - if [ "x$CONFIG" != "xnone" ] ; then sh bootstrap.sh ; fi - - if [ "x$CONFIG" != "xnone" ] ; then sh configure $CONFIG ; fi - - if [ "x$CONFIG" != "xnone" ] ; then make $MAKE_TARGET -j2 ; fi - -after_failure: - - if [ "x$ERROR_LOG" != "xnone" ] ; then cat $ERROR_LOG ; fi - -env: - global: - - TEST_NAME="" - - CMAKE_CONFIG="none" - - CONFIG="none" - - MAKE_TARGET="check" - - ALL_DEPS="no" - - GHCVER=7.8.3 - - ERROR_LOG="none" - - matrix: - # Put it here because it's most time consuming - - TEST_NAME="make cross (automake)" - THRIFT_CROSSTEST_CONCURRENCY=6 - CONFIG="--enable-tutorial=no --without-erlang --without-lua --without-haxe --without-d" - ALL_DEPS="yes" - MAKE_TARGET="cross" - ERROR_LOG="test/log/unexpected_failures.log" - - # CMake builds - - TEST_NAME="compiler (CMake + CPack)" - CMAKE_CONFIG="-DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF" - - TEST_NAME="all (CMake + CPack)" - CMAKE_CONFIG="" - ALL_DEPS="yes" - - TEST_NAME="C++/boost-threads (CMake + CPack)" - CMAKE_CONFIG="-DWITH_C_GLIB=OFF -DWITH_JAVA=OFF -DWITH_BOOSTTHREADS=ON" - - TEST_NAME="C++/std-threads (CMake + CPack)" - CMAKE_CONFIG="-DCMAKE_CXX_FLAGS=-std=c++0x -DWITH_C_GLIB=OFF -DWITH_JAVA=OFF -DWITH_STDTHREADS=ON" - - TEST_NAME="compiler (mingw32-gcc, CMake + CPack)" - CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF" - - # Autotool builds - # TODO: Remove them as migration is made - - TEST_NAME="compiler (automake)" - CONFIG="--disable-libs" - - TEST_NAME="all (automake)" - CONFIG="--without-erlang --without-python --without-go --without-lua" - ALL_DEPS="yes" - - TEST_NAME="C & C++ & Haskell (automake)" - CONFIG="--without-csharp --without-java --without-erlang --without-nodejs --without-lua --without-python --without-perl --without-php --without-php-extension --without-ruby --without-go --without-d" - ALL_DEPS="yes" - - TEST_NAME="Small Set (automake)" - CONFIG="--without-erlang --without-haskell --without-python --without-go --without-lua --without-d --without-ruby --without-nodejs --without-java" - ALL_DEPS="yes" - - TEST_NAME="dist (automake)" - CONFIG="" - ALL_DEPS="yes" - MAKE_TARGET="dist" - -matrix: - allow_failures: - # gcc fails on travis seemingly due to out of memory - - compiler: gcc - - exclude: - # This one takes very long - - compiler: gcc - env: TEST_NAME="make cross (automake)" CONFIG="--without-python" ALL_DEPS="yes" MAKE_TARGET="cross" - - # Does not use native compiler, no need to do it twice - - compiler: gcc - env: TEST_NAME="compiler (mingw32-gcc, CMake + CPack)" CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF" - - compiler: gcc - env: TEST_NAME="dist (automake)" CONFIG="" ALL_DEPS="yes" MAKE_TARGET="dist" - - include: - - env: - - TEST_NAME="Debian Packages" - compiler: clang - before_install: - - sh build/travis/installCXXDependencies.sh; - - sh build/travis/installDependencies.sh 1> /dev/null; - - sudo apt-get install build-essential mono-gmcs mono-devel libmono-system-web2.0-cil erlang-base ruby1.8-dev python-all python-all-dev python-all-dbg php5 php5-dev - script: - - dpkg-buildpackage -tc -us -uc - - ls -al .. - - - # QA jobs for code analytics and metrics - - # static code analysis with cppcheck (we can add --enable=all later) - - env: TEST_NAME="cppcheck (compiler) error" - script: cppcheck --force --quiet --inline-suppr --error-exitcode=1 -j2 compiler/cpp/src - before_install: sudo apt-get install cppcheck - - env: TEST_NAME="cppcheck (cpp) error" - script: cppcheck --force --quiet --inline-suppr --error-exitcode=1 -j2 lib/cpp/src lib/cpp/test test/cpp tutorial/cpp - before_install: sudo apt-get install cppcheck - - env: TEST_NAME="cppcheck (c_glib) error" - script: cppcheck --force --quiet --inline-suppr --error-exitcode=1 -j2 lib/c_glib/src lib/c_glib/test test/c_glib/src tutorial/c_glib - before_install: sudo apt-get install cppcheck - # add --error-exitcode=1 as soon as everything is fixed - - env: TEST_NAME="cppcheck (compiler) all" - script: cppcheck --force --quiet --inline-suppr --enable=all -j2 compiler/cpp/src - before_install: sudo apt-get install cppcheck - - env: TEST_NAME="cppcheck (cpp) all" - script: cppcheck --force --quiet --inline-suppr --enable=all -j2 lib/cpp/src lib/cpp/test test/cpp tutorial/cpp - before_install: sudo apt-get install cppcheck - - env: TEST_NAME="cppcheck (c_glib) all" - script: cppcheck --force --quiet --inline-suppr --enable=all -j2 lib/c_glib/src lib/c_glib/test test/c_glib/src tutorial/c_glib - before_install: sudo apt-get install cppcheck - - # TODO use findbugs for Java - # TODO use fxcop for C# - - # TODO do style checks - - # search for TODO within source tree - - env: TEST_NAME="TODO" - before_install: - script: grep -r TODO * - # search for FIXME within source tree - - env: TEST_NAME="FIXME" - before_install: - script: grep -r FIXME * - # search for HACK within source tree - - env: TEST_NAME="HACK" - before_install: - script: grep -r HACK * - # some statistics about the code base - - env: TEST_NAME="sloccount" - before_install: - script: sloccount . - before_install: sudo apt-get install sloccount - # some info about the build machine - - env: TEST_NAME="info" - before_install: - script: - - dpkg -l - - uname -a - -# TODO make it perfect ;-r -#
