Skip to content

build: bump LLVM requirement to 21 - #66541

Open
aduh95 wants to merge 1 commit into
nodejs:mainfrom
aduh95:bump-clang
Open

aduh95 wants to merge 1 commit into
nodejs:mainfrom
aduh95:bump-clang

Conversation

@aduh95

@aduh95 aduh95 commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

simdjson 5.0.0 (bot PR is #66495) has introduced use of exceptions (on methods we don't use), and clang 19 refuses to compile it with -fno-exceptions (which we pass). clang 21 accepts to compile as long as the throw statements can be tree-shaken away, so bumping our requirement on Node.js 27+ might be preferable than floating a patch on simdjson.

/cc @nodejs/build

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@aduh95 aduh95 added the semver-major PRs that contain breaking changes and should be released in the next major version. label Oct 5, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/actions
  • @nodejs/build
  • @nodejs/tsc

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. doc Issues and PRs related to Node.js documentation. meta Issues and PRs related to the general management of the project. labels Oct 5, 2026
@richardlau

richardlau commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

I don't think anything in the Jenkins CI is on clang 21, other than maybe fedora-latest (although testing on that is currently suspended pending resolution of the DigitalOcean situation) and rhel10. Would have to check if we'd need to be on Ubuntu 26.04 (which we currently are not running) instead of 24.04 for clang 21.

We generally avoid compiling our own version of e.g. clang or install a version on a Linux distro outside of the distro's package manager because it does not replicate what we'd be expecting contributors/downstream builders to be doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. doc Issues and PRs related to Node.js documentation. meta Issues and PRs related to the general management of the project. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants