Giter Site home page Giter Site logo

Only install clang-format about setup-cpp HOT 6 CLOSED

tru avatar tru commented on June 16, 2024
Only install clang-format

from setup-cpp.

Comments (6)

aminya avatar aminya commented on June 16, 2024

Yes, this is possible on Linux through the system package managers, but there is no separate release for the clang-format on other platforms. We can do it for the those that support it,

from setup-cpp.

tru avatar tru commented on June 16, 2024

Linux only would be enough for us.

from setup-cpp.

aminya avatar aminya commented on June 16, 2024

@tru This should be supported in the latest version.

from setup-cpp.

tru avatar tru commented on June 16, 2024

@aminya hi! it's much faster now! But there seems to be an issue with the version of clang-format being installed:

Installing clangformat 16.0.6
[cut]
Get:2 http://azure.archive.ubuntu.com/ubuntu jammy/universe amd64 clang-format amd64 1:14.0-55~exp2 [3694 B]
[cut]
Preparing to unpack .../clang-format_1%3a14.0-55~exp2_amd64.deb ...
  Unpacking clang-format:amd64 (1:14.0-55~exp2) ...
  Setting up clang-format:amd64 (1:14.0-55~exp2) ...
[cut]
✅ clangformat was installed successfully:
- The installation directory is /usr/lib/llvm-16
- The binary directory is /usr/lib/llvm-16/bin

Full run here: https://github.com/tru/llvm-project/actions/runs/6144686185/job/16670583505

from setup-cpp.

aminya avatar aminya commented on June 16, 2024

@tru Thanks for testing. This is fixed in the latest version. clang-format was being installed instead of clang-format-16.

from setup-cpp.

tru avatar tru commented on June 16, 2024

Thanks! It works great now!

from setup-cpp.

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.