mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-02 21:00:13 -05:00
A compiler activated while installing dependencies does not survive in the caller's shell, so make rpm could fall back to one that can't compile mergerfs. Route the RPM build through buildtools/run-rpmbuild, which keeps an explicit compiler and otherwise activates an installed GCC Toolset when the default can't handle C++20. RPMBUILD and RPMBUILD_FLAGS override the rpmbuild command. Rocky 8's toolsets lack the annobin plugin the distribution's RPM flags load. Test the effective compiler with the RPM flags and pass --undefine _annotated_build only when that fails, instead of guessing from the compiler's path in build-mergerfs. Native and container builds use the same check. |
||
|---|---|---|
| .. | ||
| docs | ||
| build-venv | ||
| generate-and-push-docs | ||
| mkdocs.yml | ||
| README.md | ||
mkdocs
Getting started
python3 -m venv venv
source venv/bin/activate
pip3 install --no-cache-dir mkdocs mkdocs-material pymdown-extensions mike
mike serve
Deploy
mike deploy --push <version_name> --allow-empty