ceph / ceph/ceph-build

Path normalization for containerized builds

Open
#2,347 4 comments 0 reactions 1 assignee Claimed by @deepssin View on GitHub
Dominant language
Shell
Stars
44
Forks
105
Avg merge
1d 14h
Merged PRs (30d)
36

Description

For compiler caching to work properly, paths to source files need to be able to match across builds. That means things like the ceph version, git commit id, etc. should not be present in any path components.

Containerized builds will help greatly with this, and are a [work-in-progress](https://github.com/ceph/ceph-build/tree/pipeline-container): CentOS builds appear to properly get a 100% cache hit rate on rebuilds. Ubuntu builds, however, do not. See [this build of the WIP pipeline](https://jenkins.ceph.com/job/ceph-dev-pipeline/177/pipeline-graph/), particularly how the CentOS branch takes 30min to compile while the Ubuntu branch takes 73min.

We need to investigate how to normalize paths for Ubuntu and Debian builds.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.