Skip to content

common:setup: clone common_bench directly to .local, drop install_common.sh#100

Merged
wdconinc merged 6 commits intomasterfrom
remove-install-common
Apr 29, 2026
Merged

common:setup: clone common_bench directly to .local, drop install_common.sh#100
wdconinc merged 6 commits intomasterfrom
remove-install-common

Conversation

@wdconinc
Copy link
Copy Markdown
Contributor

Summary

install_common.sh exists solely to copy setup/ → .local/. All downstream jobs already source .local/bin/env.shsetup/ is never an artifact.

By cloning directly to .local/, the separate copy step is eliminated and install_common.sh becomes dead code.

Change

- git clone -b "${COMMON_BENCH_VERSION}" .../common_bench.git setup
- source setup/bin/env.sh && ./setup/bin/install_common.sh
+ git clone -b "${COMMON_BENCH_VERSION}" .../common_bench.git .local
+ source .local/bin/env.sh

No downstream jobs are affected — they all already source .local/bin/env.sh.

…mon.sh

Instead of cloning to setup/ and then copying to .local/ via install_common.sh,
clone directly to .local/. All downstream jobs already source .local/bin/env.sh,
so no downstream changes are needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 28, 2026 19:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the GitLab CI bootstrap by cloning common_bench directly into .local/ (the location already used by downstream jobs) and removing the intermediate setup/ clone + copy step.

Changes:

  • Update common:setup to git clone common_bench into .local instead of setup.
  • Drop ./setup/bin/install_common.sh invocation and source .local/bin/env.sh directly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wdconinc wdconinc enabled auto-merge (squash) April 28, 2026 19:43
wdconinc and others added 3 commits April 28, 2026 14:45
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@wdconinc wdconinc disabled auto-merge April 29, 2026 19:10
@wdconinc wdconinc merged commit 04cea82 into master Apr 29, 2026
2 checks passed
@wdconinc wdconinc deleted the remove-install-common branch April 29, 2026 19:10
wdconinc added a commit to eic/common_bench that referenced this pull request Apr 30, 2026
This script existed solely to copy common_bench's bin/, include/, and
share/ into $LOCAL_PREFIX. Both detector_benchmarks and physics_benchmarks
now clone common_bench directly to .local/ (the LOCAL_PREFIX), making this
install step unnecessary.

Depends on:
  eic/detector_benchmarks#286
  eic/physics_benchmarks#100

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
wdconinc added a commit to eic/common_bench that referenced this pull request May 1, 2026
This script existed solely to copy common_bench's bin/, include/, and
share/ into $LOCAL_PREFIX. Both detector_benchmarks and physics_benchmarks
now clone common_bench directly to .local/ (the LOCAL_PREFIX), making this
install step unnecessary.

Depends on:
  eic/detector_benchmarks#286
  eic/physics_benchmarks#100

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants