building-offline-software

Build Mu2e offline software with SCons-based Muse and Spack-based Smack orchestrators.

4|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Mu2e/aitools --skill building-offline-software
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: building-offline-software
Source: https://github.com/Mu2e/aitools/tree/main/skills/building-offline-software
Command: npx skills add https://github.com/Mu2e/aitools --skill building-offline-software

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of building and developing the Mu2e offline software, which is essential for simulation, reconstruction, and analysis tasks in the experiment.

Core Features & Use Cases

  • Build System Management: Handles Mu2e's muse (SCons-based) and upcoming smack (Spack-based) build systems.
  • Multi-Repository Coordination: Manages dependencies and builds across core repositories like Offline, Production, and mu2e-trig-config.
  • Environment Setup: Configures the necessary development environment, including dependencies managed by UPS and Spack.
  • Use Case: When you need to set up your local development environment to compile the latest Mu2e simulation code, including all its dependencies and configurations.

Quick Start

Use the building-offline-software skill to set up the Mu2e development environment and build the core repositories.

Frequently Asked Questions about building-offline-software

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Mu2e offline software across multiple repositories?

To build Mu2e offline software, this skill coordinates the multi-repository structure using the SCons-based Muse orchestrator. It manages dependencies across core repositories like Offline, Production, and mu2e-trig-config to compile simulation, reconstruction, and analysis workflows.

What is the difference between the Muse and Smack build systems for Mu2e?

Muse is the current SCons-based build orchestrator for Mu2e offline software, while Smack is the upcoming Spack-based build system. This skill manages both orchestrators to ensure correct dependency resolution and environment setup during the transition.

How do I set up my local environment to compile Mu2e simulation code?

To set up your local environment for compiling Mu2e simulation code, this skill configures the necessary development dependencies managed by UPS and Spack. It ensures correct dependency resolution before building the core repositories.

Does Mu2e offline software support Spack for dependency management?

Yes, Mu2e offline software supports Spack for dependency management through the upcoming Smack build orchestrator. The skill manages the transition from UPS to Spack, ensuring correct environment setup and dependency resolution.

Why do I need a coordinated build system for Mu2e core repositories?

A coordinated build system is needed for Mu2e core repositories because the offline software uses a multi-repository structure. This skill ensures correct dependency resolution across Offline, Production, and mu2e-trig-config repositories for simulation and analysis tasks.

Can I use SCons to manage dependencies in the Mu2e offline software?

Yes, you can use SCons to manage builds in the Mu2e offline software via the Muse orchestrator. This skill handles the SCons-based build process and configures the necessary environment for reconstruction and analysis workflows.