Coder Social home page Coder Social logo

llvm-docker's Introduction

Dockerized LLVM 10 for Ubuntu 20.04 LTS

This Docker image, based on Ubuntu 20.04, contains the following components:

  1. LLVM 10.0.1 (Binaries and development headers are installed at /llvm; the source code of LLVM can be found at /llvm-src)
  2. Flex 2.6.4
  3. Bison 3.5.1
  4. GCC, G++ 9.3.0

Filesystem

In addition to common files,

  • /llvm : Binaries and development headers are installed here
  • /llvm-src : Source code of LLVM

Customization

  • Default locale: zh_CN.UTF-8
  • /llvm/bin is included in PATH
  • vim, nano installed by default

Usage

Docker Concepts

  • Image: an executable
  • Container: a process (but you can stop it and resume it at any time)

Fetch image

docker pull ksqsf/llvm

Consider using USTC Mirrors.

Start a new container

docker run     \
  --name $NAME \
  -v $HOST_DIR:$DOCKER_PATH \
  -it ksqsf/llvm
  • $HOST_DIR must be absolute. Consider using realpath.
  • Since --rm is not present, after you exit, the container will not be deleted. Check its existence with docker ps -a or docker container ls -a (it doesn't display stopped containers without -a).

Restart a container

docker start -ai $NAME

llvm-docker's People

Contributors

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