Skip to content

build Mesa in OpenGL 2025.09 with static LLVM to drop LLVM to build dependency - #26267

Open
Thyre wants to merge 2 commits into
easybuilders:developfrom
Thyre:20260615085503_new_pr_OpenGL202509
Open

build Mesa in OpenGL 2025.09 with static LLVM to drop LLVM to build dependency#26267
Thyre wants to merge 2 commits into
easybuilders:developfrom
Thyre:20260615085503_new_pr_OpenGL202509

Conversation

@Thyre

@Thyre Thyre commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

(created using eb --new-pr)

Avoids clash of libraries when upstream LLVM and downstream LLVM forks are loaded at the same time, e.g. AOCC, NVIDIA Grace Clang, DPCPP or ROCm-LLVM.

@github-actions github-actions Bot added 2025b issues & PRs related to 2025b common toolchains 2026.1 issues & PRs related to 2026.1 common toolchains change labels Jun 15, 2026
@Thyre

Thyre commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

Test report by @Thyre
SUCCESS
Build succeeded for 2 out of 2 (total: 10 mins 24 secs) (2 easyconfigs in total)
Linux - Linux Arch Linux UNKNOWN, x86_64, AMD Ryzen 7 7800X3D 8-Core Processor (zen4), 1 x AMD Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] (device id: 0x7550, gfx: gfx1201, driver: Linuxversion7.0.11-arch1-1(linux@archlinux)(gcc(GCC)16.1.120260430,GNUld(GNUBinutils)2.46.0)#1SMPPREEMPT_DYNAMICTue,02Jun202618:26:58+0000), 1 x AMD Raphael (device id: 0x164e, gfx: gfx1036, driver: Linuxversion7.0.11-arch1-1(linux@archlinux)(gcc(GCC)16.1.120260430,GNUld(GNUBinutils)2.46.0)#1SMPPREEMPT_DYNAMICTue,02Jun202618:26:58+0000), Python 3.14.5
See https://gist.github.com/Thyre/71c5e71ba91ff0f88ad14189ff3580ab for a full test report.

@Thyre

Thyre commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

Testing a (non-exhaustive) list of EasyConfigs using OpenGL / Mesa in 2025b.

@Thyre

Thyre commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

@boegelbot please test @ jsc-zen3
EB_ARGS="--installpath /tmp/$USER/ecpr-26267 OpenGL-2025.09-GCCcore-14.3.0.eb OpenGL-2026.05-GCCcore-15.2.0.eb GLFW-3.4-GCCcore-14.3.0.eb ESPResSo-4.2.2-foss-2025b.eb JasPer-4.2.8-GCCcore-14.3.0.eb TurboVNC-3.3-GCCcore-14.3.0.eb PyOpenGL-3.1.10-GCCcore-14.3.0.eb VTK-9.5.2-foss-2025b.eb freeglut-3.6.0-GCCcore-14.3.0.eb libepoxy-1.5.10-GCCcore-14.3.0.eb R-4.5.2-gfbf-2025b.eb sway-1.11-GCCcore-14.3.0.eb FLTK-1.4.4-GCCcore-14.3.0.eb Xwayland-24.1.9-GCCcore-14.3.0.eb occt-7.9.1-GCCcore-14.3.0.eb"

@Thyre Thyre modified the milestones: next release (5.3.1?), 5.x Jun 15, 2026
@boegelbot

Copy link
Copy Markdown
Collaborator

@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=26267 EB_ARGS="--installpath /tmp/$USER/ecpr-26267 OpenGL-2025.09-GCCcore-14.3.0.eb OpenGL-2026.05-GCCcore-15.2.0.eb GLFW-3.4-GCCcore-14.3.0.eb ESPResSo-4.2.2-foss-2025b.eb JasPer-4.2.8-GCCcore-14.3.0.eb TurboVNC-3.3-GCCcore-14.3.0.eb PyOpenGL-3.1.10-GCCcore-14.3.0.eb VTK-9.5.2-foss-2025b.eb freeglut-3.6.0-GCCcore-14.3.0.eb libepoxy-1.5.10-GCCcore-14.3.0.eb R-4.5.2-gfbf-2025b.eb sway-1.11-GCCcore-14.3.0.eb FLTK-1.4.4-GCCcore-14.3.0.eb Xwayland-24.1.9-GCCcore-14.3.0.eb occt-7.9.1-GCCcore-14.3.0.eb" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_26267 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 10754

Test results coming soon (I hope)...

Details

- notification for comment with ID 4705426374 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@Thyre Thyre modified the milestones: 5.x, release after 5.3.1 Jun 15, 2026
@Thyre

Thyre commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

Job didn't start due to system deps missing for libinput

@Thyre

Thyre commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

@boegelbot please test @ jsc-zen3
EB_ARGS="--installpath /tmp/$USER/ecpr-26267 OpenGL-2025.09-GCCcore-14.3.0.eb OpenGL-2026.05-GCCcore-15.2.0.eb GLFW-3.4-GCCcore-14.3.0.eb ESPResSo-4.2.2-foss-2025b.eb JasPer-4.2.8-GCCcore-14.3.0.eb TurboVNC-3.3-GCCcore-14.3.0.eb PyOpenGL-3.1.10-GCCcore-14.3.0.eb VTK-9.5.2-foss-2025b.eb freeglut-3.6.0-GCCcore-14.3.0.eb libepoxy-1.5.10-GCCcore-14.3.0.eb R-4.5.2-gfbf-2025b.eb FLTK-1.4.4-GCCcore-14.3.0.eb Xwayland-24.1.9-GCCcore-14.3.0.eb occt-7.9.1-GCCcore-14.3.0.eb"

@boegelbot

Copy link
Copy Markdown
Collaborator

@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=26267 EB_ARGS="--installpath /tmp/$USER/ecpr-26267 OpenGL-2025.09-GCCcore-14.3.0.eb OpenGL-2026.05-GCCcore-15.2.0.eb GLFW-3.4-GCCcore-14.3.0.eb ESPResSo-4.2.2-foss-2025b.eb JasPer-4.2.8-GCCcore-14.3.0.eb TurboVNC-3.3-GCCcore-14.3.0.eb PyOpenGL-3.1.10-GCCcore-14.3.0.eb VTK-9.5.2-foss-2025b.eb freeglut-3.6.0-GCCcore-14.3.0.eb libepoxy-1.5.10-GCCcore-14.3.0.eb R-4.5.2-gfbf-2025b.eb FLTK-1.4.4-GCCcore-14.3.0.eb Xwayland-24.1.9-GCCcore-14.3.0.eb occt-7.9.1-GCCcore-14.3.0.eb" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_26267 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 10811

Test results coming soon (I hope)...

Details

- notification for comment with ID 4716135920 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot

Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
FAILED
Build succeeded for 12 out of 14 (total: 3 hours 42 mins 24 secs) (14 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.25
See https://gist.github.com/boegelbot/9bb15da4f5a3a34b150954f3dafa5862 for a full test report.

@Thyre

Thyre commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

Test report by @boegelbot
FAILED
Build succeeded for 12 out of 14 (total: 3 hours 42 mins 24 secs) (14 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.25
See https://gist.github.com/boegelbot/9bb15da4f5a3a34b150954f3dafa5862 for a full test report.

Both builds failed due to pkg_resources not being found. This is unrelated to this PR.

@Thyre

Thyre commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator Author

Missing pkg_resources should be fixed (see #26285), so trying again.

@Thyre

Thyre commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator Author

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/$USER/ecpr-26267 OpenGL-2025.09-GCCcore-14.3.0.eb OpenGL-2026.05-GCCcore-15.2.0.eb GLFW-3.4-GCCcore-14.3.0.eb ESPResSo-4.2.2-foss-2025b.eb JasPer-4.2.8-GCCcore-14.3.0.eb TurboVNC-3.3-GCCcore-14.3.0.eb PyOpenGL-3.1.10-GCCcore-14.3.0.eb VTK-9.5.2-foss-2025b.eb freeglut-3.6.0-GCCcore-14.3.0.eb libepoxy-1.5.10-GCCcore-14.3.0.eb R-4.5.2-gfbf-2025b.eb FLTK-1.4.4-GCCcore-14.3.0.eb Xwayland-24.1.9-GCCcore-14.3.0.eb occt-7.9.1-GCCcore-14.3.0.eb"

@boegelbot

Copy link
Copy Markdown
Collaborator

@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=26267 EB_ARGS="--installpath /tmp/$USER/ecpr-26267 OpenGL-2025.09-GCCcore-14.3.0.eb OpenGL-2026.05-GCCcore-15.2.0.eb GLFW-3.4-GCCcore-14.3.0.eb ESPResSo-4.2.2-foss-2025b.eb JasPer-4.2.8-GCCcore-14.3.0.eb TurboVNC-3.3-GCCcore-14.3.0.eb PyOpenGL-3.1.10-GCCcore-14.3.0.eb VTK-9.5.2-foss-2025b.eb freeglut-3.6.0-GCCcore-14.3.0.eb libepoxy-1.5.10-GCCcore-14.3.0.eb R-4.5.2-gfbf-2025b.eb FLTK-1.4.4-GCCcore-14.3.0.eb Xwayland-24.1.9-GCCcore-14.3.0.eb occt-7.9.1-GCCcore-14.3.0.eb" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_26267 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 10833

Test results coming soon (I hope)...

Details

- notification for comment with ID 4727081469 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegel

boegel commented Jun 17, 2026

Copy link
Copy Markdown
Member

Just a note: it's worth re-testing everything that depends on OpenGL (since the LLVM runtime dep has disappeared).

@Thyre As discussed in the EasyBuild conf call: let's have a separate PR for OpenGL 2026.05 (which is currently only in develop), so we can still include this in EasyBuild v5.3.1

Signed-off-by: Jan André Reuter <j.reuter@fz-juelich.de>
@Thyre Thyre changed the title build Mesa in OpenGL 2025.09 and 2026.05 with static LLVM to drop LLVM to builddependency build Mesa in OpenGL 2025.09 with static LLVM to drop LLVM to builddependency Jun 17, 2026
@github-actions github-actions Bot removed the 2026.1 issues & PRs related to 2026.1 common toolchains label Jun 17, 2026
@boegelbot

Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 14 out of 14 (total: 3 hours 14 mins 21 secs) (14 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.25
See https://gist.github.com/boegelbot/a2e4bae46f3b6d401c4da6947fc35143 for a full test report.

@boegel boegel changed the title build Mesa in OpenGL 2025.09 with static LLVM to drop LLVM to builddependency build Mesa in OpenGL 2025.09 with static LLVM to drop LLVM to build dependency Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025b issues & PRs related to 2025b common toolchains change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants