Giter VIP home page Giter VIP logo

ingraind-build's People

Contributors

alessandrod avatar rsdy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

foniod

ingraind-build's Issues

Building Ubuntu 18.04 fails with llvm-11

Hi all,
I was trying to build from scratch using the existing Ubuntu 18.04 Docker image and I'm getting this error:

E: Unable to locate package libllvm11
E: Unable to locate package llvm-11-dev
E: Unable to locate package libclang-11-dev
E: Unable to locate package clang-format-11
The command '/bin/sh -c apt-get update     && apt-get -y install curl wget lsb-release wget software-properties-common     && bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"     && apt-get update     && apt-get -y install debhelper cmake llvm libllvm11 llvm-11-dev libclang-11-dev        libelf-dev bison flex libedit-dev clang-format-11 python python-netaddr        python-pyroute2 luajit libluajit-5.1-dev arping iperf netperf ethtool        devscripts zlib1g-dev libfl-dev        pkg-config libssl-dev        git        clang        musl musl-tools musl-dev        capnproto        linux-headers-generic     && apt-get clean -y' returned a non-zero code: 100

It looks like the problem comes from https://apt.llvm.org/llvm.sh pointing by default to LLVM version 12 - I've fixed it by
modifying Dockerfile.18.04 to download the script locally and execute it with a parameter pointing to version 11 like here:

-    && bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" \
+    && wget -O /tmp/llvm.sh https://apt.llvm.org/llvm.sh \
+    && chmod +x /tmp/llvm.sh \
+    && bash -c "/tmp/llvm.sh 11" \

Sharing this to check if this is the right approach and also for others to use in case they fall into the same issue

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.