GithubHelp home page GithubHelp logo

clickhouse / llvm Goto Github PK

View Code? Open in Web Editor NEW
2.0 17.0 9.0 33.88 MB

Stripped version of LLVM for use in ClickHouse for runtime code generation.

CMake 0.71% C 1.18% C++ 96.66% Python 1.22% Shell 0.13% Perl 0.04% Emacs Lisp 0.02% Batchfile 0.01% Vim Script 0.03% Dockerfile 0.01% Starlark 0.01% TypeScript 0.01%

llvm's Introduction

Fork of llvm-project to bundle LLVM inside in ClickHouse. This is intended for reproducible builds, that continue to work regardless to changes of compile options and ABI changes.

The usage of this repository is not necessarily. Instead you can simply install packages libllvm9.0 liblld-9.0-dev libclang-9.0-dev from your Ubuntu repository and use them for build.

But when using packages from the system, a few downsides exist:

  • it requires to use fresh enough version of Ubuntu for builds;
  • the packages are usually outdated;
  • the packages may lack static libraries;
  • the packages may change in uncontrolled way and your build becomes irreproducible;
  • different OS have their own combinations of packages - it's very difficult to follow;
  • the packages was compiled with fixed compile flags and fixed ABI, you cannot change it;
  • for example, you may want to rebuild packages with or without RTTI, with libc++ or libstdc++, with sanitizer, etc.

Downsides of bundled library:

  • increased build time.

Repository is stripped using prepare.sh script. Additional ClickHouse patch is prepare_changes.patch.

llvm's People

Contributors

alesapin avatar alexey-milovidov avatar amosbird avatar azat avatar kitaisreal avatar nikitamikhaylov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.