Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 6.04 KB

05-supported.md

File metadata and controls

83 lines (64 loc) · 6.04 KB

Supported

The following content applies to all packages within clang-format-node repository.

OS Platforms and Architectures

Each package supports ALL Tier1 and some Tier2 platforms of Node.js. Note that the functionality cannot be guaranteed on platforms which is not mentioned below.

(To see the full list of platforms supported by Node.js, click here.)


Operating System Architectures Support Type
1 macOS arm64 Tier 1
2 macOS x64 Tier 1
3 GNU/Linux armv7 Tier 1
4 GNU/Linux arm64 Tier 1
5 GNU/Linux ppc64le >=power8 Tier 2
6 GNU/Linux s390x Tier 2
7 GNU/Linux x64 Tier 1
8 Windows x64 Tier 1

Tip

  1. If your platform isn't yet supported, you can build the clang-format native binary from the latest upstream Clang sources. Refer to Build Process and .github/workflows/llvm-build-bump-pr.yml for the build scripts for Linux Shell and GitHub Actions, respectively.

  2. Or you can download clang-format native binary from LLVM release assets that match your operating system platform and architecture like the lists below.

    • clang+llvm-18.1.8-aarch64-linux-gnu.tar.xz
    • clang+llvm-18.1.8-armv7a-linux-gnueabihf.tar.gz
    • clang+llvm-18.1.8-powerpc64-ibm-aix-7.2.tar.xz
    • clang+llvm-18.1.8-x86_64-pc-windows-msvc.tar.xz
    • and more...

Node.js Version

Node Current

The official support for Node.js version 16 and above has been confirmed through testing.

However, this package does not utilize the latest features of Node.js and is transpiled using Babel. Therefore, it is expected to work on versions significantly lower than the officially supported ones. (ex. "node": ">= 0.7.10") Consequently, if the current package operates on a version of Node.js that is lower than the officially supported version, it should be perfectly fine to use.

If you want to use clang-format-node in continuous integration (CI), You can use GitHub Actions. The following basic runner images are compatible(available) with clang-format-node.

Image YAML Label Included Software
macOS 15 macos-15-large macOS-15
macOS 15 Arm64 macos-15 or macos-15-xlarge macOS-15-arm64
macOS 14 macos-latest-large or macos-14-large macOS-14
macOS 14 Arm64 macos-latest, macos-14, macos-latest-xlarge or macos-14-xlarge macOS-14-arm64
macOS 13 macos-13 or macos-13-large macOS-13
macOS 13 Arm64 macos-13-xlarge macOS-13-arm64
macOS 12 macos-12 or macos-12-large macOS-12
Ubuntu 24.04 ubuntu-latest or ubuntu-24.04 ubuntu-24.04
Ubuntu 22.04 ubuntu-22.04 ubuntu-22.04
Windows Server 2022 windows-latest or windows-2022 windows-2022

However, the following basic runner images are NOT compatible(available) with clang-format-node. It's because the dependencies for LLVM's latest release version are not compatible with the following images.

Image YAML Label Included Software
Ubuntu 20.04 ubuntu-20.04 [ubuntu-20.04]
Windows Server 2019 windows-2019 [windows-2019]

Docker Build Images

We used the following Images to build clang-format excuatable binaries.

Tip

If you want to see which software is included in GitHub Actions runner, click here and refer to the 'Included Software' column.

Binary Folder Name Docker(Build) Image
darwin-arm64 GitHub Actions runner macos-14
darwin-x64 GitHub Actions runner macos-12
linux-arm arm32v7/ubuntu:22.04
linux-arm64 arm64v8/ubuntu:22.04
linux-ppc64 ppc64le/ubuntu:22.04
linux-s390x s390x/ubuntu:22.04
linux-x64 GitHub Actions runner ubuntu-22.04
win32-x64 GitHub Actions runner windows-2022