Git Product home page Git Product logo

build-llvm's Introduction

Scripts to time LLVM Builds

Lets time LLVM builds!

The scripts included here will build LLVM (currently LLVM 11) and time how long it takes to build the proper binaries.

To ensure consistency, the following build process is used:

  • Build LLVM 11 and clang-11 with host compiler.
  • Build LLVM 11 and clang-11 again, with newly built LLVM11.
  • Time a build cross compiling to the other architecture (x86-64 for arm64 and vice versa).
  • (Linux Only): Optionally build form a tmpfs mount to remove disk I/O as a bottleneck of build times.

Build Settings

The following build settings are used during build:

  • Clang-11 and LLVM-11 from the official source tarball.
  • Build Clang in addition to LLVM (-DLLVM_ENABLE_PROJECTS=clang).
  • Release mode build (-DCMAKE_BUILD_TYPE=Release)
  • Ninja is used as the build system (-G Ninja)
  • Optimize for the native processor (-mtune=native)

Supported Platforms

  • Linux (x86-64 and arm64), tested on Ubuntu 18.04
  • MacOS (x86-64 tested), tested on MacOS 10.15.7

build-llvm's People

Contributors

artemdinaburg avatar

Watchers

 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.