Git Product home page Git Product logo

Comments (4)

j2kun avatar j2kun commented on May 7, 2024

Acknowledged. I'm going to get the existing Debian docker image working again and then modify it for Ubuntu 22.04.

As a preview, I'm modifying the Dockerfile to install LLVM inside the image via apt, and then trying to ensure the LLVM version 13 aligns with the installed version, so that one is not required to rebuild LLVM from scratch.

RUN wget -O llvm.sh https://apt.llvm.org/llvm.sh \
  && chmod +x llvm.sh \
  # It's critical that this version matches the version specified in
  # llvm_toolchain in the WORKSPACE file.
  && ./llvm.sh 13

LLVM has an Ubuntu 22.04 package, but the WORKSPACE file is currently pinning to LLVM 10, and the 22.04 versions start at 11, while 10 is only supported for 18.04 and 20.04. Because we rely on XLS for the hardware synthesis toolchain XLS, and they use LLVM 13, I'm going to try to make it all work with LLVM 13.

from fully-homomorphic-encryption.

j2kun avatar j2kun commented on May 7, 2024

In other words, you may be able to fix this quickly by changing the llvm_toolchain version in WORKSPACE to match the LLVM installed on your machine, and use the command above to install the version of your choice.

from fully-homomorphic-encryption.

j2kun avatar j2kun commented on May 7, 2024

A patch has been submitted to add an Ubuntu jammy dockerfile. Probably won't get reviewed internally until next week as folks are out of office. In the mean time, 23491cc should resolve your installation issues by switching the project to use LLVM 13, which has a package on jammy.

from fully-homomorphic-encryption.

j2kun avatar j2kun commented on May 7, 2024

To install LLVM manually on your machine, you can run

wget -O llvm.sh https://apt.llvm.org/llvm.sh \
  && chmod +x llvm.sh \
  # It's critical that this version matches the version specified in
  # llvm_toolchain in the WORKSPACE file.
  && ./llvm.sh 13

from fully-homomorphic-encryption.

Related Issues (20)

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.