Commit Graph
10 Commits
Author SHA1 Message Date
duan_j fffd36970c olex2: merge sysroot/lib64 (libgcc) into usr/lib64; make configure re-runnable 2026-10-16 17:55:10 +02:00
duan_j f6b63e740d olex2: export OLEX2_ROOT from the modulefile, use it in the README checks 2026-10-16 17:49:09 +02:00
duan_j 53a5753541 olex2: bundle glibc 2.39 + libstdc++ 14 sysroot, patchelf the executables
The 2026 upstream Linux binaries (olex2c, olex2, unirun, NoSpherA2,
openblas, cctbx ext) need GLIBC_2.38 / GLIBCXX_3.4.32; RHEL9 has 2.34 /
3.4.29 so they cannot run natively and a newer libc cannot be supplied
via LD_LIBRARY_PATH. Fetch frozen Fedora 40 glibc/libstdc++/libgcc rpms
from kojipkgs plus a static patchelf (all sha256-pinned), extract them
into PREFIX/sysroot and set interpreter + DT_RPATH on the dynamic
executables. Host keeps providing GTK2/X11/GL. Launcher sets C.UTF-8 and
never exposes the sysroot on LD_LIBRARY_PATH. Install verifies with
ld.so --list that olex2c resolves through the bundled glibc.
2026-10-16 17:46:54 +02:00
duan_j 2b5bb570ca olex2: do not preserve ownership when copying into PREFIX
First build failed in install: cp -a onto /opt/psi logs 'failed to
preserve ownership ... Permission denied' for every file (chown refused)
and exits non-zero, which tripped the die-guard although the copy itself
was fine. Use cp -r --preserve=mode,timestamps,links instead. Record the
pitfall in the new-module skill guardrails.
2026-10-16 17:26:28 +02:00
duan_j 514ef49dbb failed build log for olex2, to debug 2026-10-16 17:24:11 +02:00
duan_j 1eb66c483b olex2: rewrite recipe for RHEL9 - official archive with GUI + olex2c
The official olex2-linux64.zip already ships both the GUI (olex2) and the
console build (olex2c) plus cctbx and a private CPython 3.8, so nothing is
compiled. Default prep downloads + sha256-verifies the zip (rolling file,
version carries the upstream SVN revision), install copies the vendor tree
flat into PREFIX and adds bin/olex2 + bin/olex2c launchers that reproduce
the vendor start env without running the unirun auto-updater.
2026-10-16 17:19:04 +02:00
duan_j c2c20f07f3 update module header from Pmodule to Module 2026-08-14 11:45:14 +02:00
agosti_j 52fcf485c8 Changed build to keep the same structure of the installation as the zip archive 2025-11-21 15:56:14 +01:00
agosti_j c72e6d47b2 Add olex2 v1.5 2025-11-21 12:01:12 +01:00
duan_j 8df323db5e added olex2 for MX small molecules 2025-11-19 14:54:54 +01:00