Skip to content

MuonColliderSoft/TemplateWorkspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Workspace

Template for developing custom Marlin packages.

Repository Structure

  • exts/ External packages not included with the ILC framework.
  • packages/ All custom packages linked using git submodules.

Setup Instructions

Container

All commands should be run inside the infnpd/mucoll-ilc-framework:1.6-centos8 image.

Apptainer

apptainer shell --cleanenv docker://infnpd/mucoll-ilc-framework:1.6-centos8

Shifter

shifter --image infnpd/mucoll-ilc-framework:1.6-centos8 /bin/bash

Build Instructions

Run the following commands from inside your container. The same commands will also work with a local installation of the ILC software, with the exception of the first line.

source /opt/ilcsoft/muonc/init_ilcsoft.sh # Setup ILC software
cmake -S . -B build 
cmake --build build

Setup Script

The included setup.sh script is useful for defining all paths for the binaries built by the workspace. At the current stage, it setups the following:

  • ILC software via init_ilcsoft.sh
  • External binaries/libraries found in exts.
  • Add all package libraries to MARLIN_DLL.
  • Export MYBUILD variable with absolute path to the build directory.
  • Export MYWORKSPACE variable with absolute path to the workspace directory.

Run the following at the start of every session. It has an optional argument to the build directory and is set to build/ by default.

source setup.sh [build]

About

A template workspace for developing custom packages for Marlin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published