Giter Site home page Giter Site logo

devjgm / google-cloud-cpp-bigquery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googleapis/google-cloud-cpp-bigquery

0.0 0.0 0.0 178 KB

Idiomatic C++11 client library for BigQuery

Home Page: https://cloud.google.com/bigquery/

License: Apache License 2.0

Python 0.79% C++ 34.66% C 0.50% Shell 31.42% CMake 23.11% Starlark 8.18% Awk 1.33%

google-cloud-cpp-bigquery's Introduction

Google BigQuery C++ Client Library

NOTICE: This repo will be merging with the googleapis/google-cloud-cpp monorepo soon; possibly as soon as early April. We expect this new monorepo organization to be better for our existing and new customers going forward. Please see googleapis/google-cloud-cpp#3612 for more details.

This repository contains the implementation of the Google BigQuery C++ client library.

This library is currently under development and subject to breaking changes.

Table of Contents

Requirements

Currently, we do not have all the infrastructure set up to test a wide range of compilers, build tool versions, and platforms. As such, the requirements below are narrow and represent what we know works through ad hoc testing.

Compiler

The Google BigQuery C++ Client is tested with the following compilers:

Compiler Minimum Version
Clang 6.0.1

Build Tools

The Google BigQuery C++ Client can be built with CMake or Bazel. The minimal versions of these tools we test with are:

Tool Minimum Version
CMake 3.5
Bazel 0.29.1

Libraries

The libraries also depend on the following libraries and their dependencies. The Google BigQuery C++ library is tested with the following versions of these dependencies:

Library Minimum version
gRPC v1.16.x

Build

Bazel

Install Dependencies

To build the project using Bazel, first install Bazel by following the instructions for your platform.

Build

To build all targets using Bazel, run the following command after cloning this repo:

bazel build ...

The executables can be found in the bazel-bin/ directory.

To run all tests, run the following command:

bazel test ...

CMake

Install Dependencies

Ubuntu (18.04 - Bionic Beaver)
sudo apt update && \
sudo apt install -y build-essential cmake git gcc g++ cmake \
        libc-ares-dev libc-ares2 libcurl4-openssl-dev libssl-dev make \
        pkg-config tar wget zlib1g-dev

Build

To build all available libraries and run the tests, run the following commands after cloning this repo:

Linux

To automatically download the dependencies and compile the libraries and examples you can use the CMake super build:

# Add -DBUILD_TESTING=OFF to disable tests
cmake -Hsuper -Bcmake-out

# Adjust the number of threads used by modifying parameter for `-j 4`
# following command will also invoke ctest at the end
cmake --build cmake-out -- -j 4

You will find compiled binaries in cmake-out/ respective to their source paths.

google-cloud-cpp-bigquery's People

Contributors

aryann avatar coryan avatar devjgm avatar justinseinlin avatar renovate-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.